Metodos de pago
- Clientes
- Cuentas
- Tarjetas
Recaudo
- Cobros [Solicitud]
- Cargos [Debito]
- Planes
- Suscripciones
- Links de captura
- Llamadas de cobro
Dispersiones
- Dispersiones
- Balance
Webhooks
- Webhooks
- Asobancaria
- Flows
Fintech as a service
Utilities
Realizar pago
Utilities
Realizar pago
Realiza un pago a un convenio.
POST
utilities
curl --request POST \
--url https://api.onepay.la/v1/utilities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-idempotency: <x-idempotency>' \
--data '{
"provider_id": "<string>",
"reference": "<string>"
}'
{
"data": [
{
"id": "9d16af28-e289-4a24-bcc4-697febf17141",
"name": "Gulgowski and Sons",
"help_text": null
},
{
"id": "9d16af28-e319-44d3-8939-8f5286362f5d",
"name": "Pfeffer-Turner",
"help_text": null
},
{
"id": "9d16af28-e339-49d9-87d0-19e91bea48d3",
"name": "Flatley, Schmitt and McDermott",
"help_text": null
},
{
"id": "9d16af28-e36c-4d70-9dca-839b8d806ef8",
"name": "Heathcote and Sons",
"help_text": null
}
],
"current_page": 1,
"first_page_url": "https://api.onepay.test/v1/utilities/providers?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.test/v1/utilities/providers",
"per_page": 50,
"prev_page_url": null,
"to": 4
}
Headers
Token único para garantizar la idempotencia de la petición
Body
UUID del convenio listado previamente que se desea pagar.
Referencia de pago para el convenio. de ejemplo puedes usar 111100005555
{
"data": [
{
"id": "9d16af28-e289-4a24-bcc4-697febf17141",
"name": "Gulgowski and Sons",
"help_text": null
},
{
"id": "9d16af28-e319-44d3-8939-8f5286362f5d",
"name": "Pfeffer-Turner",
"help_text": null
},
{
"id": "9d16af28-e339-49d9-87d0-19e91bea48d3",
"name": "Flatley, Schmitt and McDermott",
"help_text": null
},
{
"id": "9d16af28-e36c-4d70-9dca-839b8d806ef8",
"name": "Heathcote and Sons",
"help_text": null
}
],
"current_page": 1,
"first_page_url": "https://api.onepay.test/v1/utilities/providers?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.test/v1/utilities/providers",
"per_page": 50,
"prev_page_url": null,
"to": 4
}
Was this page helpful?
curl --request POST \
--url https://api.onepay.la/v1/utilities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-idempotency: <x-idempotency>' \
--data '{
"provider_id": "<string>",
"reference": "<string>"
}'
{
"data": [
{
"id": "9d16af28-e289-4a24-bcc4-697febf17141",
"name": "Gulgowski and Sons",
"help_text": null
},
{
"id": "9d16af28-e319-44d3-8939-8f5286362f5d",
"name": "Pfeffer-Turner",
"help_text": null
},
{
"id": "9d16af28-e339-49d9-87d0-19e91bea48d3",
"name": "Flatley, Schmitt and McDermott",
"help_text": null
},
{
"id": "9d16af28-e36c-4d70-9dca-839b8d806ef8",
"name": "Heathcote and Sons",
"help_text": null
}
],
"current_page": 1,
"first_page_url": "https://api.onepay.test/v1/utilities/providers?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.test/v1/utilities/providers",
"per_page": 50,
"prev_page_url": null,
"to": 4
}