API Reference
Create a journey
/smart/deposit/journeyhttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euCreates a Smart PIX journey. On url the player authorizes Smart PIX in the bank: a bank enrollment is created and the journey is paid. Later deposits use the enrollment with POST /smart/deposit/payment. Smart PIX sends no notifications: query the status.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonPlayer's CPF, with or without punctuation. Must be a valid CPF (2001 otherwise).
"604.184.437-34"Player name.
"Bruno Matos"Amount in cents.
2500Free tags returned in responses and notifications (up to 5).
Accounts.
Show child attributes
ISPB (PSP code) of the bank, up to 8 digits.
"18236120"Branch, up to 4 digits. Required in manual withdrawals unless accountType is payment.
"1"Account type. Required in manual withdrawals.
checkingsalarysavingspayment"checking"Account number with check digit, up to 20 digits.
"12345678"Responses
201Journey created.
Journey id.
Journey page.
Creation time.
"2026-10-21T19:08:59.710000+00:00"Free tags returned in responses and notifications (up to 5).
Accounts.
Show child attributes
ISPB (PSP code) of the bank, up to 8 digits.
"18236120"Branch, up to 4 digits. Required in manual withdrawals unless accountType is payment.
"1"Account type. Required in manual withdrawals.
checkingsalarysavingspayment"checking"Account number with check digit, up to 20 digits.
"12345678"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"