API Reference
Gaming operatorGETGet operatorPUTUpdate notification URLsDELRemove notification URLsGETGet balanceGETGet balance (v2)
Deposits (classic Pix)POSTCreate a depositGETGet the QR CodePUTRefund a depositPUTAccept a deposit (closed loop)PUTReject a deposit (closed loop)
Automatic PixPOSTCreate a recurrenceGETGet a recurrenceGETGet recurrence statusGETList recurrence transactionsPUTCancel a recurrenceGETGet transaction statusPUTCancel a scheduled transactionPOSTMock pay and authorizePOSTMock QR paymentPOSTMock a scheduled chargePOSTMock scheduling cancellationPOSTMock cancellation by the payer
Biometric PixGETList participantsPOSTCreate an enrollmentGETGet an enrollmentPOSTCreate the enrollment challengePOSTValidate the enrollment challengePUTRevoke an enrollmentGETList enrollments of a CPFPOSTCreate a paymentPOSTValidate the payment challengeGETGet payment statusGETList paymentsPOSTCreate a whitelabel journeyGETGet journey statusGETGet journey payment statusGETList journey payments
Pix by KeyGETGet the wallet keyPOSTRegister a payer bank accountGETList payer bank accountsPUTUpdate a payer bank accountDELDelete payer bank accountsGETList depositsPUTAccept a deposit under reviewPUTReject a deposit under reviewPOSTMock a received PixPOSTMock a received Pix (v2)
Smart PIXPOSTCreate a journeyGETGet journey statusGETList bank enrollmentsPOSTCreate a paymentGETGet payment status
List payer bank accounts
GET
Base URL: /by-key/payer-bank-accounts/{taxId}https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euRegistered accounts of a CPF.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
taxIdstringrequired
Payer CPF.
"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"taxId must be a valid CPF"