Skip to main content

Create a Recurrence (Journey 2)

Journey 2 — QR Code with recurrence data only

Overview

What is it

QR Code that presents only the recurrence data for the payer to authorize, without immediate charge.

When to use

Onboarding without initial charge; use at points of sale, counters, screens or printed materials.

How it works

Payer reads QR → views recurrence data in app → authorizes → future charges can be scheduled.

Benefits

Agile enablement via QR; allows mass customer acquisition with low friction and QR can be reused for new recurrences.

Request

ENDPOINT
/account/account_key/outgoing_recurrence/journey_two
METHOD
POST

Request Path Params

FieldTypeDescriptionCharacters
account_key*uuid4Unique identifier key for the account.36

Request Body

Request Body: Create Recurrence (Journey 2)
{
"request_control_key": "98fc62fd-b0a0-4604-9bea-475e91a9dc82",
"periodicity": "monthly",
"minimum_recurrence_amount": 125,
"start_date": "2025-06-10",
"end_date": "2027-06-10",
"pix_message": "Conta de Luz Residencial nº123",
"recurrence_type": "variable_amount",
"debtor_data": {
"name": "Sebastião",
"email": "sebastiao@test.com",
"document_number": "05431134850",
"contract_id": "124587624",
"address": {
"street": "Av. Brigadeiro Faria Lima",
"state": "SP",
"city": "São Paulo",
"neighborhood": "Jardim Paulistano",
"number": "2391",
"postal_code": "01452905",
"complement": "Complemento"
}
},
"retry_configuration": {
"retry_allowed": true,
"retry_rule": {
"first_retry": {
"day": "1"
},
"second_retry": {
"day": "3"
},
"third_retry": {
"day": "4"
}
}
},
"settlement_date_type": "workdays"
}

Body Params

FieldTypeDescriptionCharacters
request_control_key *uuidUnique request identifier key used by the client in uuid4 format.36
periodicity *enumeratorType of periodicity associated with the subscription recurrence.periodicity Enumerators
minimum_recurrence_amountnumberMinimum transaction amount for variable amount recurrences (in cents).-
start_date *stringRecurrence start date (ISO 8601 format, e.g., "2025-07-01").-
end_datestringRecurrence end date; for indefinite period, send as null.-
pix_message *stringMessage to be sent with the PIX transaction.140
debtor_data *ObjectDebtor (subscriber) data.debtor_data Object
retry_configuration *ObjectRetry configuration for incomplete transactions.retry_configuration Object
settlement_date_type *enumeratorType of settlement date adjustmentsettlement_date_type Enumerators
recurrence_type *enumeratorType of recurrencerecurrence_type Enumerators
Attention

The field minimum_recurrence_amount is optional and should only be informed for variable amount recurrence. If the recurrence is fixed amount, the field recurrence_amount should be sent with the recurrence amount. As well as the recurrence_type enumerator, which should correspond to the recurrence type (Fixed amount or variable).

periodicity Enumerators

EnumeratorDescription
weeklyWeekly recurrence
monthlyMonthly recurrence
quarterlyQuarterly recurrence
semiannualSemiannual recurrence
annualAnnual recurrence

settlement_date_type Enumerators

EnumeratorDescription
workdaysBusiness days
calendar_daysCalendar days

recurrence_type Enumerators

EnumeratorDescription
fixed_amountFixed Amount Recurrence
variable_amountVariable Amount Recurrence

debtor_data Object

FieldTypeDescriptionCharacters
name *stringSubscriber name.50
email *stringSubscriber email.100
document_number *stringSubscriber CPF or CNPJ.14
contract_idstringSubscriber contract identifier.100
address *ObjectSubscriber address.address Object

address Object

FieldTypeDescriptionCharacters
streetstringStreet.-
statestringState.-
citystringCity.-
neighborhoodstringNeighborhood.-
numberstringNumber.-
postal_codestringPostal code.-
complementstringComplement.-

retry_configuration Object

FieldTypeDescriptionCharacters
retry_allowedbooleanIndicates whether retries are allowed.-
retry_ruleObjectRetry rules.retry_rule Object

retry_rule Object

FieldTypeDescriptionCharacters
first_retryObjectFirst retry configuration.retry_detail Object
second_retryObjectSecond retry configuration.retry_detail Object
third_retryObjectThird retry configuration.retry_detail Object

retry_detail Object

FieldTypeDescriptionCharacters
daystringRetry day.-

Response

STATUS
200
Response Body
{
"request_control_key": "98fc62fd-b0a0-4604-9bea-475e91a9dc82",
"outgoing_recurrence_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"outgoing_recurrence_status": "pending_confirmation",
"qr_code_data": {
"qr_code_url": "url",
"qr_code_key": "98fc62fd-b0a0-4604-9bea-475e91a9dc85",
"qr_code_image": "imageb64"
},
"created_at": "2021-10-22T20:30:23.459Z"
}

Response Body

FieldTypeDescriptionCharacters
request_control_keyuuidRequest control key sent by the client.36
recurrence_keyuuidUnique identifier key for the subscription recurrence.36
recurrence_statusenumeratorCurrent recurrence status.recurrence_status Enumerators
qr_code_dataenumeratorCurrent recurrence status.qr_code_data Object
created_atstringRecurrence creation date and time (ISO 8601 format).-

qr_code_data Object

FieldTypeDescriptionCharacters
qr_code_urlstringURL of the QR code copy and paste-
qr_code_keyuuuidUnique identifier key for the QR code.36
qr_code_imagestringBase64 of the QR code image-

recurrence_status Enumerators

EnumeratorDescription
pending_confirmationRecurrence pending confirmation
activeActive recurrence
cancelledCancelled recurrence
suspendedSuspended recurrence
expiredExpired recurrence
STATUS
4XX
Response Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em português",
"code": "codigo"
}
HTTP CodeQI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000002Bad RequestInvalid request schema.Erro no esquema da requisição.
403APX000030Unauthorized TransactionUser is not authorized to create this recurrence.Usuário não autorizado a criar esta recorrência.
403APX000018Endpoint Access DeniedRequester lacks permission to access this endpoint.Requester não possui permissão para acessar este endpoint.
404APX000021Subscription Not FoundSubscription {subscription_key} not found.Assinatura {subscription_key} não encontrada.
404APX000002Recurrence Not FoundRecurrence {recurrence_key} not found.Recorrência {recurrence_key} não encontrada.
406APX000027Invalid Transaction AmountTransaction amount {minimum_transaction_amount} is invalid.Valor da transação {minimum_transaction_amount} é inválido.
409APX000014Request Control Key ConflictThe request_control_key {request_control_key} is already in use.A request_control_key {request_control_key} já está em uso.