API Reference
Smart PIX

Create a payment

POST/smart/deposit/payment
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Charges the player with an authorized bank enrollment, without leaving your app. In Mimicr the limits are R$ 1.000,00 per payment (4104) and R$ 5.000,00 in total per enrollment (4134).

Authorization

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

Body

application/json
bankEnrollmentIdstringrequired

Bank enrollment id.

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

Amount in cents.

Example: 2500
tagsstring[]

Free tags returned in responses and notifications (up to 5).

Responses

201Payment.
idstring

Payment id.

bankEnrollmentIdstring

Enrollment.

amountinteger

Amount in cents.

Example: 2500
statusstring

Status.

paidfailed
createdstring<date-time>

Creation time.

Example: "2026-10-21T19:08:59.710000+00:00"
tagsstring[]

Free tags returned in responses and notifications (up to 5).

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.

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"