Endpoint para obtener el listado de cuentas bancarias.
curl --request GET \
--url https://api.onepay.la/v1/accounts \
--header 'Authorization: Bearer <token>'
{
"data":[
{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"john.doe@example.com",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
],
"current_page":1,
"first_page_url":"https:\/\/api.onepay.la\/v1\/customers?page=1",
"from":1,
"next_page_url":null,
"path":"https:\/\/api.onepay.la\/v1\/customers",
"per_page":20,
"prev_page_url":null,
"to":4
}
{
"data":[
{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"john.doe@example.com",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
],
"current_page":1,
"first_page_url":"https:\/\/api.onepay.la\/v1\/customers?page=1",
"from":1,
"next_page_url":null,
"path":"https:\/\/api.onepay.la\/v1\/customers",
"per_page":20,
"prev_page_url":null,
"to":4
}
Was this page helpful?
curl --request GET \
--url https://api.onepay.la/v1/accounts \
--header 'Authorization: Bearer <token>'
{
"data":[
{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"john.doe@example.com",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
],
"current_page":1,
"first_page_url":"https:\/\/api.onepay.la\/v1\/customers?page=1",
"from":1,
"next_page_url":null,
"path":"https:\/\/api.onepay.la\/v1\/customers",
"per_page":20,
"prev_page_url":null,
"to":4
}