Skip to main content

Authorize Recurring Pix

This page will guide you through the authorization requests.

Answering authorization request journey 1

Used by journey 1

Request

PUT 'https://apisandbox.delbank.com.br/baas/api/v1/pix/automatic/authorizations/:recurrenceId'

Headers

NameDescription                            
AuthorizationRequired. API key
idempotencyKeyRequired. Guid

Path Parameters:

NameTypeDescription
recurrenceIdstringRequired. Authorization recurrenceId

Body

NameTypeDescription
AuthorizationResultbooleanRequired. Indicates whether the authorization was approved (true) or rejected (false)
PayerMaxAmountnumberOptional. Maximum amount authorized by the payer
RejectionReasonstringOptional. Reason for rejection (required if AuthorizationResult is false)
{
"AuthorizationResult": true
}

Response

The status code 200 indicates success in the query.

Being succeeded, the return will have the following fields in Json format:

{
"recurrenceId": "RR3822485720251212i0jYqQr7g5n",
"requestedAt": "2026-01-16T17:52:54.112"
}

Answering authorization request journey 2 and 4

Used by journey 2 and 4

Request

POST 'https://apisandbox.delbank.com.br/baas/api/v1/pix/automatic/authorizations/:recurrenceId'

Headers

NameDescription                            
AuthorizationRequired. API key
idempotencyKeyRequired. Guid

Path Parameters:

NameTypeDescription
recurrenceIdstringRequired. Authorization recurrenceId

Body

NameTypeDescription
journeynumberRequired. Journey identifier (e.g., 2 or 4)
frequencyTypeenumRequired. Frequency type. Domains:
WEEKLY, MONTHLY, QUARTERLY, SEMIANNUALLY, ANNUALLY
recurrenceStartDatestringOptional. Start date of the recurrence
recurrenceEndDatestringOptional. End date of the recurrence
amountnumberOptional. Transaction amount
minPayerMaxAmountnumberOptional. Minimum allowed for payer's max amount
payerMaxAmountnumberOptional. Maximum amount authorized by the payer
beneficiaryobjectOptional. Object containing all the info about the beneficiary
beneficiary.ispbstringRequired. ISPB code of the beneficiary
beneficiary.documentstringRequired. Document of the beneficiary (CPF/CNPJ)
beneficiary.namestringRequired. Fullname of the beneficiary
beneficiary.agencyNumberstringOptional. Beneficiary agency number
beneficiary.accountTypeenumOptional. Beneficiary account type. Domains:
CURRENT, WAGE, SAVINGS, PAYMENT
beneficiary.accountNumberstringOptional. Beneficiary account number
payerobjectOptional. Object containing all the info about the payer
payer.ispbstringRequired. ISPB code of the payer
payer.typeenumRequired. Type of the payer's document. Domains:
NATURAL - Natural Person
LEGAL - Legal Person
payer.documentstringRequired. Document of the payer (CPF/CNPJ)
payer.namestringOptional. Fullname of the payer
payer.agencyNumberstringOptional. Payer agency number
payer.accountTypeenumOptional. Payer account type. Domains:
CURRENT, WAGE, SAVINGS, PAYMENT
payer.accountNumberstringOptional. Payer account number
payer.municipalityIbgeCodenumberOptional. Payer's municipality IBGE code
debtorobjectOptional. Object containing all the info about the debtor
debtor.typeenumRequired. Type of the debtor's document. Domains:
NATURAL - Natural Person
LEGAL - Legal Person
debtor.documentstringRequired. Document of the debtor (CPF/CNPJ)
debtor.namestringRequired. Fullname of the debtor
contractNumberstringRequired. Contract number
contractDescriptionstringOptional. Description of the contract
settlementConfirmedAtstringOptional. Settlement confirmation date/time
{
"journey": 2,
"frequencyType": "MONTHLY",
"recurrenceStartDate": "2025-06-29",
"recurrenceEndDate": "2026-06-29",
"amount": 150.75,
"minPayerMaxAmount": 150.75,
"payerMaxAmount": 500.00,
"beneficiary": {
"ispb": "38224857",
"document": "12345678901",
"name": "Fulano Ciclano",
"agencyNumber": "0001",
"accountType": "CURRENT",
"accountNumber": "31747"
},
"payer": {
"ispb": "38224857",
"type": "NATURAL",
"document": "07161543584",
"name": "Beltrano",
"agencyNumber": "0001",
"accountType": "CURRENT",
"accountNumber": "12345",
"municipalityIbgeCode": 3550308
},
"debtor": {
"type": "NATURAL",
"document": "07161543584",
"name": "Beltrano"
},
"contractNumber": "CONTRATO123",
"contractDescription": "Assinatura Premium",
"settlementConfirmedAt": "2025-06-15T12:05:00.000Z"
}

Response

The status code 200 indicates success in the query.

Being succeeded, the return will have the following fields in Json format:

{
"recurrenceId": "RR3822485720251212i0jYqQr7g5n",
"requestedAt": "2026-01-16T17:52:54.112"
}