API Reference
Get a recurrence
/automatic/recurrences/{id}https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euDetails of a recurrence. Unknown ids answer 4502.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Recurrence id.
"e7c925a5-c9a7-4144-b84f-a3d99cc13d97"Responses
200Recurrence.
Recurrence id.
Your identifier.
Central Bank id.
Status.
"AUTHORIZED"Detailed status.
"VALIDATION_SUCCEEDED"Amount in cents.
2500Frequency.
Number of charges.
Contract the recurrence pays.
Show child attributes
Contract id, up to 35 alphanumeric chars. Generated when omitted.
"assinatura0001"Contract description. Defaults to descriptionToPayer.
"Assinatura do clube"Whether a charge can be paid after its date.
falseFirst charge.
Last charge.
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"