API Reference
Create a payment
/smart/deposit/paymenthttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euCharges 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/jsonBank enrollment id.
"urn:mimicr:13d1216c-359a-4d7c-9882-68444a65a571"Amount in cents.
2500Free tags returned in responses and notifications (up to 5).
Responses
201Payment.
Payment id.
Enrollment.
Amount in cents.
2500Status.
paidfailedCreation time.
"2026-10-21T19:08:59.710000+00:00"Free tags returned in responses and notifications (up to 5).
Debtor (player) or creditor (operator) of a Smart PIX enrollment.
Show child attributes
Document.
Name.
ISPB.
Branch.
Account type.
Account number.
Person type.
CPFCNPJBank (debtor only).
Show child attributes
Participant id.
Bank name.
Logo URL.
Debtor (player) or creditor (operator) of a Smart PIX enrollment.
Show child attributes
Document.
Name.
ISPB.
Branch.
Account type.
Account number.
Person type.
CPFCNPJBank (debtor only).
Show child attributes
Participant id.
Bank name.
Logo URL.
400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"401Invalid access token (code 2000).
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"