API Reference
Pix by Key

List payer bank accounts

GET/by-key/payer-bank-accounts/{taxId}
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Registered accounts of a CPF.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

taxIdstringrequired

Payer CPF.

Example: "604.184.437-34"

Responses

200Accounts.
taxIdstring

Payer CPF.

bankAccountsobject[]

Accounts.

Show child attributes
idstring

Account id.

taxIdstring

Payer CPF.

bankCodestring

ISPB.

branchCodestring | null

Branch.

accountTypestring | null

Account type.

accountNumberstring

Account number.

taxIdRegistrationIdstring

Groups the accounts of one CPF.

400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
401Invalid access token (code 2000).
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"