Listar Contas Bancárias

Listar Contas Bancárias

get

Este endpoint recupera a lista de todas as contas bancárias associadas ao comerciante autenticado.

scope: bank-accounts.read

Header parameters
AcceptstringOptionalExample: application/json
Content-TypestringOptionalExample: application/json
X-API-KeystringRequiredExample: {{API_KEY}}
Responses
200

Sucesso

application/json
get
GET /banking/v1/bank-accounts HTTP/1.1
Host: api.aurixpay.ws
X-API-Key: text
Accept: */*
{
  "data": [
    {
      "id": "01977f6d-5c06-7228-86f6-f4fc01305143",
      "bank_code": "001",
      "branch_number": "0001",
      "account_number": "12345678",
      "account_type": "checking",
      "holder_name": "João Silva",
      "document": "12345678901",
      "status": "active",
      "created_at": "2025-01-15T10:30:00.000000Z",
      "updated_at": "2025-01-15T10:30:00.000000Z"
    },
    {
      "id": "01977f6d-5c07-7229-86f7-f4fc01305144",
      "bank_code": "341",
      "branch_number": "1234",
      "account_number": "87654321",
      "account_type": "savings",
      "holder_name": "Maria Santos",
      "document": "98765432100",
      "status": "active",
      "created_at": "2025-01-16T14:45:00.000000Z",
      "updated_at": "2025-01-16T14:45:00.000000Z"
    }
  ],
  "total": 2,
  "currentPage": 1,
  "perPage": 15
}