Devuelve todos los clientes creados en el entorno.
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.
 
https://api.zrupay.com/v1/
- v1
https://api.zrupay.com/v1/client/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  https://api.zrupay.com/v1/client/ \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "count": 0, "items_per_page": 0, "next": "string", "previous": "string", "results": [ { … } ] }
Tipo de identificación (por defecto: national)
URL de notificación. Se envían a esta url las notificaciones de cambio de estado
- v1
https://api.zrupay.com/v1/client/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  https://api.zrupay.com/v1/client/ \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "CLIENT_NAME",
    "id_country": "ES",
    "id_number": "24968842L"
  }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "name": "string", "client_id": "string", "client_type": "individual", "id_type": "national", "id_country": "st", "id_number": "string", "id_expiration_date": "2019-08-24", "email": "user@example.com", "phone": "string", "web": "http://example.com", "incorporation_date": "2019-08-24", "birth_date": "2019-08-24", "birth_country": "st", "nationality": "st", "street": "string", "postal_code": "string", "city": "string", "province": "string", "country": "st", "notify_url": "http://example.com", "enabled": true }
- v1
https://api.zrupay.com/v1/client/{client-id}/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  'https://api.zrupay.com/v1/client/{client-id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "name": "string", "client_id": "string", "client_type": "individual", "id_type": "national", "id_country": "st", "id_number": "string", "id_expiration_date": "2019-08-24", "email": "user@example.com", "phone": "string", "web": "http://example.com", "incorporation_date": "2019-08-24", "birth_date": "2019-08-24", "birth_country": "st", "nationality": "st", "street": "string", "postal_code": "string", "city": "string", "province": "string", "country": "st", "notify_url": "http://example.com", "enabled": true }
- v1
https://api.zrupay.com/v1/client/{client-id}/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X PATCH \
  'https://api.zrupay.com/v1/client/{client-id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id_number": "1234"
  }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled_by_compliance": true, "name": "string", "client_id": "string", "client_type": "individual", "id_type": "national", "id_country": "st", "id_number": "string", "id_expiration_date": "2019-08-24", "email": "user@example.com", "phone": "string", "web": "http://example.com", "incorporation_date": "2019-08-24", "birth_date": "2019-08-24", "birth_country": "st", "nationality": "st", "street": "string", "postal_code": "string", "city": "string", "province": "string", "country": "st", "notify_url": "http://example.com", "enabled": true }
- v1
https://api.zrupay.com/v1/client/{client-id}/iban/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  'https://api.zrupay.com/v1/client/{client-id}/iban/' \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "count": 0, "items_per_page": 0, "next": "string", "previous": "string", "results": [ { … } ] }
- v1
https://api.zrupay.com/v1/client/{client-id}/iban/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  'https://api.zrupay.com/v1/client/{client-id}/iban/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "iban_id": "MERCHANT_IBAN_ID",
    "iban": "ES91 2100 0418 4502 0005 1332"
  }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "iban_id": "string", "iban": "string", "notify_url": "http://example.com" }
- v1
https://api.zrupay.com/v1/client/{client-id}/iban/{iban-id}/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  'https://api.zrupay.com/v1/client/{client-id}/iban/{iban-id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "iban_id": "string", "iban": "string", "notify_url": "http://example.com" }
- v1
https://api.zrupay.com/v1/client/{client-id}/iban/{iban-id}/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X PATCH \
  'https://api.zrupay.com/v1/client/{client-id}/iban/{iban-id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "iban_id": "2432876"
  }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "iban_id": "string", "iban": "string", "notify_url": "http://example.com" }
- v1
https://api.zrupay.com/v1/client/{client-id}/document/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  'https://api.zrupay.com/v1/client/{client-id}/document/' \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "count": 0, "items_per_page": 0, "next": "string", "previous": "string", "results": [ { … } ] }
- v1
https://api.zrupay.com/v1/client/{client-id}/document/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X POST \
  'https://api.zrupay.com/v1/client/{client-id}/document/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "file": "<file>",
    "type": "identification"
  }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "string", "file": null, "type": "string" }
- v1
https://api.zrupay.com/v1/client/{client-id}/document/{document-id}/
 
- curl
 - JavaScript
 - Node.js
 - Python
 - Java
 - C#
 - PHP
 - Go
 - Ruby
 - R
 - Payload
 
curl -i -X GET \
  'https://api.zrupay.com/v1/client/{client-id}/document/{document-id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "string", "file": null, "type": "string" }