Skip to main content
GET
https://api.onepay.la/v1
/
customers
/
{customer_id}
/
accounts
/
related
Cuentas relacionadas
curl --request GET \
  --url https://api.onepay.la/v1/customers/{customer_id}/accounts/related \
  --header 'Authorization: Bearer <token>'
[
    {
        "id":"84cc072e-90e8-33cf-9305-098095fed32f",
        "title":"Ms.",
        "subtype":"CHECKING",
        "status":"PENDING",
        "authorization":true,
        "customer_id":"9e01d019-b438-40d2-89e1-52430c69dfb7",
        "re_enroll":false,
        "external_id":null,
        "bank_id":"9e01d019-b731-48bc-b111-2baa3ea56ef6",
        "bank":{
            "id":"9e01d019-b731-48bc-b111-2baa3ea56ef6",
            "name":"Maggio-Hills",
            "logo":null,
            "base64_logo":""
        },
        "customer":{
            "id":"9e01d019-b438-40d2-89e1-52430c69dfb7",
            "first_name":"Izaiah",
            "last_name":"Rogahn",
            "email":"",
            "phone":"+17478695836",
            "document_type":"CC",
            "document_number":"156762",
            "created_at":"2025-01-19T17:03:55.000000Z",
            "is_test":true
        }
    }
]
customer_id
string
required
ID del cliente cuyas cuentas relacionadas quieres consultar. Crear cliente.
[
    {
        "id":"84cc072e-90e8-33cf-9305-098095fed32f",
        "title":"Ms.",
        "subtype":"CHECKING",
        "status":"PENDING",
        "authorization":true,
        "customer_id":"9e01d019-b438-40d2-89e1-52430c69dfb7",
        "re_enroll":false,
        "external_id":null,
        "bank_id":"9e01d019-b731-48bc-b111-2baa3ea56ef6",
        "bank":{
            "id":"9e01d019-b731-48bc-b111-2baa3ea56ef6",
            "name":"Maggio-Hills",
            "logo":null,
            "base64_logo":""
        },
        "customer":{
            "id":"9e01d019-b438-40d2-89e1-52430c69dfb7",
            "first_name":"Izaiah",
            "last_name":"Rogahn",
            "email":"",
            "phone":"+17478695836",
            "document_type":"CC",
            "document_number":"156762",
            "created_at":"2025-01-19T17:03:55.000000Z",
            "is_test":true
        }
    }
]