Create payment
Creates a payment request for the white-label initiation portal. The response returns an id (payment request identifier) and a redirectUrl where you must send the payer’s browser to continue consent and settlement.
Use redirectUri for the URL on your site that receives the user after the portal completes the journey. It must belong to an allow-listed domain for your sub-tenant.
/api/v1/paymentsCreate payment
Creates a payment request and returns redirectUrl and the new payment request id for the hosted portal journey.
Corpo da requisição
9 camposredirectUri●HTTPS URL on your domain where the portal redirects after completion. Must be allow-listed for the sub-tenant.
value●Payment amount in BRL.
detailsFree-text payment description shown where applicable.
documentReference document identifier.
externalIdYour own correlation id for the payment request (also usable with Get payment by external ID).
cpfCnpjPayer CPF or CNPJ when known.
creditor●Receiver (creditor) account details.
name●Creditor legal name.
personType●PESSOA_NATURAL or PESSOA_JURIDICA.
cpfCnpj●Creditor CPF or CNPJ.
accountNumber●Creditor account number.
accountIssuer●Creditor branch.
accountPixKeyCreditor Pix key when applicable.
accountIspb●Creditor institution ISPB.
accountType●CACC | SVGS | TRAN.
debitorOptional payer account hints when you already collected them.
accountNumber●Debtor account number.
accountIssuer●Debtor branch.
accountIspb●Debtor ISPB.
accountType●CACC | SVGS | TRAN.
scheduleOptional schedule. Send only one of single, daily, weekly, monthly, or custom. Start dates must be at least D+1; max 60 installments within two years from consent creation (per API contract).
singleOne-shot future date.
date●dailyDaily recurrence.
startDate●quantity●weeklyWeekly recurrence.
dayOfWeek●startDate●quantity●monthlyMonthly recurrence.
dayOfMonth●startDate●quantity●customExplicit list of dates.
dates●ISO date strings.
additionalInformation●curl --request POST \
--url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/payments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <SEU_TOKEN>' \
--data '{
"redirectUri": "https://your-app.example.com/payments/return",
"value": 150.5,
"details": "Invoice 2024-001",
"document": "document123",
"externalId": "ext-order-991",
"cpfCnpj": "12345678901",
"creditor": {
"name": "Acme Ltda",
"personType": "PESSOA_JURIDICA",
"cpfCnpj": "12345678000195",
"accountNumber": "1234567",
"accountIssuer": "0001",
"accountPixKey": "cobranca@acme.com.br",
"accountIspb": "12345678",
"accountType": "CACC"
},
"debitor": {
"accountNumber": "7654321",
"accountIssuer": "0001",
"accountIspb": "87654321",
"accountType": "CACC"
},
"schedule": {
"single": {
"date": "2024-09-01"
},
"daily": {
"startDate": "2024-09-01",
"quantity": 2
},
"weekly": {
"dayOfWeek": "QUARTA_FEIRA",
"startDate": "2024-09-01",
"quantity": 2
},
"monthly": {
"dayOfMonth": 10,
"startDate": "2024-09-01",
"quantity": 2
},
"custom": {
"dates": [
"2024-08-23",
"2024-09-26"
],
"additionalInformation": "Custom schedule note"
}
}
}'Response
- dataobjectrequired
Created payment identifiers.
- idstringrequired
Payment request id (same as paymentLinkId on redirect callback).
- redirectUrlstringrequired
Hosted portal URL for the payer.
- messagestring
Human-readable message.
- typestring
success | error | warning | info.
- statusCodeinteger· nullable
Optional status inside envelope.
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"redirectUrl": "https://embedded-payment-manager.hml.linaob.com.br/hpp/example-session"
},
"message": "",
"type": "success",
"statusCode": null
}Next steps
- Payment initiation portal (White label) — full redirect and polling narrative.
- Get payment request — confirm
CONSUMIDO/PAGOafter redirect.