Create automatic payment request
Starts an automatic (Pix Automático) payment request on the initiation portal.
The response returns redirectUrl and paymentRequestId. Send the payer
to redirectUrl, then poll
Get automatic payment request
with the returned id.
/api/v1/automatic-paymentsCreate automatic payment request
Creates an automatic payment request and returns redirectUrl and paymentRequestId for the hosted portal.
Corpo da requisição
3 camposredirectUri●Allow-listed HTTPS URI where the portal returns after completion.
canBeAutomaticallyRevokedWhether the consent may be auto-revoked when business rules allow.
recurringConsent●Recurring consent payload (logged user, creditors, debtor account, configuration).
loggedUser●Payer identity captured by the initiator.
document●identification●CPF or CNPJ without punctuation.
rel●Document type, e.g. CPF or CNPJ.
creditors●Receiving parties.
expirationDateTime●Consent expiry in RFC-3339 UTC.
additionalInformation●Free text entered by the payer in the consent journey.
debtorAccount●Known debtor account hints (optional parts may still be collected at the holder).
ispb●issuer●number●accountType●CACC | SVGS | TRAN.
recurringConfiguration●Use either `automatic` or `sweeping` (mutually exclusive product types).
automaticPix Automático configuration.
contractId●fixedAmount●Decimal string as per arrangement.
maximumVariableAmount●interval●Frequency code from the arrangement (for example SEMANAL or MONTHLY).
minimumVariableAmount●isRetryAccepted●referenceStartDate●useOverdraftLimit●contractDebtor●name●firstPaymentOptional first subscription payment block.
type●date●currency●amount●remittanceInformation●creditorAccount●ispb●issuer●number●accountType●cnpjInitiator●paymentConfig●Recurring settlement settings — populate per your product agreement.
noteOpaque keys may be required by your arrangement; see OpenAPI `paymentConfig`.
curl --request POST \
--url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/automatic-payments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <SEU_TOKEN>' \
--data '{
"redirectUri": "https://your-app.example.com/automatic-pix/return",
"canBeAutomaticallyRevoked": true,
"recurringConsent": {
"loggedUser": {
"document": {
"identification": "76109277673",
"rel": "CPF"
}
},
"expirationDateTime": "2025-12-25T08:30:00Z",
"additionalInformation": "Monthly utility bill",
"debtorAccount": {
"ispb": "12345678",
"issuer": "1774",
"number": "1234567890",
"accountType": "CACC"
},
"recurringConfiguration": {
"automatic": {
"contractId": "XE00038166201907261559y6j6",
"fixedAmount": "100.00",
"maximumVariableAmount": "500.00",
"interval": "MONTHLY",
"minimumVariableAmount": "10.00",
"isRetryAccepted": false,
"referenceStartDate": "2023-05-21T08:30:00Z",
"useOverdraftLimit": false,
"contractDebtor": {
"name": "Payer Full Name"
},
"firstPayment": {
"type": "Pix",
"date": "2025-01-01",
"currency": "BRL",
"amount": "100.12",
"remittanceInformation": "First charge",
"creditorAccount": {
"ispb": "12345678",
"issuer": "0001",
"number": "987654",
"accountType": "CACC"
},
"cnpjInitiator": "12345678000195"
},
"paymentConfig": {
"note": "default-plan"
}
}
}
}
}'Response
- dataobjectrequired
- redirectUrlstringrequired
Hosted portal URL.
- paymentRequestIdstringrequired
Identifier for GET /automatic-payments/request/{id}.
- messagestring
- typestring
{
"data": {
"redirectUrl": "https://embedded-payment-manager.hml.linaob.com.br/automatic-payments?paymentLinkId=550e8400-e29b-41d4-a716-446655440000",
"paymentRequestId": "550e8400-e29b-41d4-a716-446655440000"
},
"message": "",
"type": "success"
}Next steps
- Payment initiation portal (White label) — compare with immediate payments.
- Get automatic payment request — poll after redirect.