API Reference
Pay and Play 2.0

Get journey details

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

The journey with the player data collected in the onboarding.

Authorization

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

Path parameters

journeyIdstringrequired

Journey id.

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

Responses

200Details.
idstring

Journey id.

statusstring

Status.

initiatedAtstring<date-time>

Start.

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

Expiration.

Example: "2026-10-21T19:08:59.710000+00:00"
onboardingProcessIdstring

Onboarding id.

endToEndIdstring | null

End-to-end id of the payment.

taxIdstring | null

Player CPF.

amountinteger | null

Amount in cents.

Example: 2500
playerInformationobject

Player data collected in the Pay and Play onboarding.

Show child attributes
Addressobject

Address.

Show child attributes
streetstring

Street.

numberstring

Number.

complementstring

Complement.

neighborhoodstring

Neighborhood.

citystring

City.

statestring

State.

zipCodestring

ZIP code.

countrystring

Country.

betRestrictionboolean

Whether the CPF has bet restrictions.

birthDatestring

Birth date.

Example: "1990-05-10"
cpfstring

CPF.

Example: "604.184.437-34"
emailstring

E-mail.

fullNamestring

Full name.

Example: "Ana Ribeiro"
genderstring

Gender.

nationalitystring

Nationality.

pepboolean

Whether the player is a PEP.

phoneNumberstring

Phone.

pixAccountInfosobject[]

Pix accounts.

promotionalCodestring | null

Promotional code.

usernamestring

Username.

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"