Devuelve todos las cuentas de pago creadas en el entorno.
- Obtener Movimiento de la Cuenta de Pago
Listar Cuentas de Pago
Crear Cuenta de Pago
Obtener Cuenta de Pago
Editar Cuenta de Pago
Listar Movimientos de la Cuenta de Pago
Obtener Movimiento de la...
API Reference (1.0)
El API de ZRU utiliza métodos HTTP y una estructura RESTful de endpoint.
- La autenticación del API se realiza vía Header Authorization.
- Todas las peticiones se deben realizar en formato JSON, y las respuestas del API son en dicho formato.
Descargar descripción de OpenAPI
Resumen
Idiomas
Servidores
v1
https://api.zrupay.com/v1/
- v1https://api.zrupay.com/v1/wallet/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.zrupay.com/v1/wallet/ \
-H 'Authorization: YOUR_API_KEY_HERE'Respuesta
application/json
{ "count": 0, "items_per_page": 0, "next": "string", "previous": "string", "results": [ { … } ] }
Cuerpoapplication/json
URL de notificación. Se envían a esta url las notificaciones de cambio de estado
- v1https://api.zrupay.com/v1/wallet/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.zrupay.com/v1/wallet/ \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"wallet_id": "MERCHANT_WALLET_ID",
"name": "WALLET_NAME",
"client_id": "<CLIENT_ID>",
"currency": "EUR",
"enabled": true
}'Respuesta
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "wallet_id": "string", "name": "string", "client_id": "string", "currency": "str", "notify_url": "http://example.com", "enabled": true }
- v1https://api.zrupay.com/v1/wallet/{wallet-id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.zrupay.com/v1/wallet/{wallet-id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'Respuesta
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "wallet_id": "string", "name": "string", "client_id": "string", "currency": "str", "notify_url": "http://example.com", "enabled": true }
- v1https://api.zrupay.com/v1/wallet/{wallet-id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.zrupay.com/v1/wallet/{wallet-id}/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "NEW_WALLET_NAME"
}'Respuesta
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "wallet_id": "string", "name": "string", "client_id": "string", "currency": "str", "notify_url": "http://example.com", "enabled": true }
- v1https://api.zrupay.com/v1/wallet/{wallet-id}/entry/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.zrupay.com/v1/wallet/{wallet-id}/entry/' \
-H 'Authorization: YOUR_API_KEY_HERE'Respuesta
application/json
{ "count": 0, "items_per_page": 0, "next": "string", "previous": "string", "results": [ { … } ] }
- v1https://api.zrupay.com/v1/wallet/{wallet-id}/entry/{entry-id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.zrupay.com/v1/wallet/{wallet-id}/entry/{entry-id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'Respuesta
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "wallet": "7e04ca6f-1090-4fc4-bba5-96db96e0dd2b", "amount": 0.1, "balance": 0.1, "concept": "string", "currency": "str", "date": "2019-08-24T14:15:22Z", "with_wallet": "4e35e68a-8d5a-4f9d-81cb-a3567c8f6a48", "with_sale": "d29bd245-1299-4b2c-96a8-625e0f49353f", "with_external": "string" }