Initiate a payment using billet data.
POST
/billets/payments
Billets
1 - Payment will always be made using an adjusted amount (interest and fines).
2 - Billets whose payment amount can be changed by the payer can only be paid via the web (Finance).
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://infopago.apidog.io//billets/payments' \
--header 'x-idempotency-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"digitableCode": "string",
"description": "string",
"paymentFlow": "INSTANT",
"payment": {
"currency": "BRL",
"amount": 0
}
}'
Response Response Example
202 - Exemplo 1
{
"id": 0,
"idempotencyKey": "string",
"eventDate": "2019-08-24T14:15:22Z",
"digitableCode": "string",
"description": "string",
"status": "CANCELED",
"transactionType": "PIX",
"creditDebitType": "CREDIT",
"payment": {
"currency": "BRL",
"amount": 0
}
}
Requisição
Parâmetros Header
x-idempotency-key
string
requerido
Parâmetros Bodyapplication/json