API Reference
Smart PIX

List bank enrollments

GET/smart/{taxId}/bank-enrollments
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Bank enrollments of a player.

Authorization

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

Path parameters

taxIdstringrequired

Player CPF.

Example: "617.750.603-81"

Responses

200Enrollments.
bankEnrollmentsobject[]

Enrollments.

Show child attributes
idstring

Bank enrollment id (URN).

Example: "urn:mimicr:13d1216c-359a-4d7c-9882-68444a65a571"
statusstring

Status.

Example: "authorized"
debtorobject

Debtor (player) or creditor (operator) of a Smart PIX enrollment.

Show child attributes
taxIdstring

Document.

namestring

Name.

bankCodestring

ISPB.

branchCodestring

Branch.

accountTypestring

Account type.

accountNumberstring

Account number.

personTypestring

Person type.

CPFCNPJ
bankInfoobject

Bank (debtor only).

Show child attributes
participantIdstring

Participant id.

namestring

Bank name.

logoUrlstring

Logo URL.

creditorobject

Debtor (player) or creditor (operator) of a Smart PIX enrollment.

Show child attributes
taxIdstring

Document.

namestring

Name.

bankCodestring

ISPB.

branchCodestring

Branch.

accountTypestring

Account type.

accountNumberstring

Account number.

personTypestring

Person type.

CPFCNPJ
bankInfoobject

Bank (debtor only).

Show child attributes
participantIdstring

Participant id.

namestring

Bank name.

logoUrlstring

Logo URL.

configurationobject

Limits of the enrollment.

Show child attributes
totalAllowedAmountinteger

Total allowed in cents (Mimicr: 500000).

Example: 500000
transactionLimitinteger

Limit per payment in cents (Mimicr: 100000).

Example: 100000
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"