API Reference
Pay and Play 2.0

Accept the deposit

PUT/pay-and-play-v2/deposit/journey/{journeyId}/accept
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Accepts the paid deposit: the journey becomes paid and the money is credited. Without a paid deposit, 4140.

Authorization

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

Path parameters

journeyIdstringrequired

Journey id.

Example: "2d69779e-8c4f-45fc-9ee3-403fef4b94c8"

Responses

200Accepted.
idstring

Journey id.

createdstring<date-time>

Creation time.

Example: "2026-10-21T19:08:59.710000+00:00"
updatedstring<date-time>

Last change.

Example: "2026-10-21T19:08:59.710000+00:00"
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"