Skip to main content
GET
https://api.onepay.la/v1
/
accounts
curl https://api.onepay.la/v1/accounts?page=1&limit=20 \
  -H "Authorization: Bearer sk_test_xxx"
{
  "data": [
    {
      "id": "84cc072e-90e8-33cf-9305-098095fed32f",
      "title": "Cuenta Ahorros",
      "subtype": "SAVINGS",
      "status": "ACTIVE",
      "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": "Bancolombia",
        "logo": "https://example.com/logo.png"
      }
    },
    {
      "id": "9957817d-239b-4032-8dca-bc508a76579c",
      "title": "Nequi",
      "subtype": "ELECTRONIC_DEPOSIT",
      "status": "ACTIVE",
      "authorization": true,
      "customer_id": "9e01d019-b438-40d2-89e1-52430c69dfb7",
      "re_enroll": false,
      "external_id": null,
      "bank_id": "9957817d-239b-4032-8dca-bc508a76579c",
      "bank": {
        "id": "9957817d-239b-4032-8dca-bc508a76579c",
        "name": "Nequi",
        "logo": "https://example.com/nequi.png"
      }
    }
  ],
  "current_page": 1,
  "first_page_url": "https://api.onepay.la/v1/accounts?page=1",
  "from": 1,
  "next_page_url": null,
  "path": "https://api.onepay.la/v1/accounts",
  "per_page": 20,
  "prev_page_url": null,
  "to": 2
}

Query Parameters

customer_id
string
Filtra cuentas por ID de cliente.
page
integer
default:"1"
Número de página para paginación.
limit
integer
default:"20"
Cantidad de resultados por página (máximo 100).
status
string
Filtra cuentas por estado [PENDING, ACTIVE, REJECTED, INACTIVE].
curl https://api.onepay.la/v1/accounts?page=1&limit=20 \
  -H "Authorization: Bearer sk_test_xxx"
{
  "data": [
    {
      "id": "84cc072e-90e8-33cf-9305-098095fed32f",
      "title": "Cuenta Ahorros",
      "subtype": "SAVINGS",
      "status": "ACTIVE",
      "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": "Bancolombia",
        "logo": "https://example.com/logo.png"
      }
    },
    {
      "id": "9957817d-239b-4032-8dca-bc508a76579c",
      "title": "Nequi",
      "subtype": "ELECTRONIC_DEPOSIT",
      "status": "ACTIVE",
      "authorization": true,
      "customer_id": "9e01d019-b438-40d2-89e1-52430c69dfb7",
      "re_enroll": false,
      "external_id": null,
      "bank_id": "9957817d-239b-4032-8dca-bc508a76579c",
      "bank": {
        "id": "9957817d-239b-4032-8dca-bc508a76579c",
        "name": "Nequi",
        "logo": "https://example.com/nequi.png"
      }
    }
  ],
  "current_page": 1,
  "first_page_url": "https://api.onepay.la/v1/accounts?page=1",
  "from": 1,
  "next_page_url": null,
  "path": "https://api.onepay.la/v1/accounts",
  "per_page": 20,
  "prev_page_url": null,
  "to": 2
}