Get invoice payments with pagination
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
invoiceId*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidcursor?stringlimit?numberRango
value <= 100Por defecto
10sortKey?stringPor defecto
"transactionDate"Valor en
"transactionDate""amount"sortDirection?stringPor defecto
"desc"Valor en
"asc""desc"Successful response
application/json- response
results*array<>total*numbertotalPages*numbernextCursor?|The cursor to get the next page of results
exchangeRates?curl -X GET 'https://api.unopago.com/v1/invoices/string/payments'Ejemplo de respuesta
{ "results": [ { "currency": "VES", "receiverBankName": "A100BANCO", "method": "BANK_TRANSFER", "id": "string", "accountId": "string", "customerId": "string", "amount": 0, "transactionDate": "string", "rateDate": "string", "referenceCode": "string", "externalId": "string", "receiverBankHolderName": "string", "receiverBankNationalId": "string", "customerFullName": "string", "customerNationalId": "string", "customerPhoneNumber": "string", "customerBankAccountNumber": "string", "customerEmail": "string", "customerNote": "string", "customerIpAddress": "string", "customerUserAgent": "string", "isAutoPay": true, "bankAccountId": "string", "paymentClaimId": "string", "bankTransactionId": "string", "createdById": "string", "createdAt": "string", "updatedAt": "string", "splitAmount": 0, "paymentTransactions": [ { "kind": "ITEMS", "currency": "VES", "id": "string", "accountId": "string", "customerId": "string", "invoiceId": "string", "statementId": "string", "description": "string", "transactionDate": "string", "exchangeRate": 0, "rateDate": "string", "credit": 0, "debit": 0, "paymentId": "string", "fromPaymentId": "string", "retentionId": "string", "createdAt": "string", "updatedAt": "string" } ], "bankAccount": { "type": "CHECKING", "currency": "VES", "bankName": "A100BANCO", "id": "string", "accountId": "string", "name": "string", "accountHolderName": "string", "isActive": true, "nationalId": "string", "phoneNumber": "string", "pagoMovilQrUrl": "string", "identifier": "string", "last4": "string", "createdAt": "string", "updatedAt": "string" }, "bankTransaction": { "source": "MERCANTIL_WEBHOOK", "bankName": "A100BANCO", "currency": "VES", "asset": "USDT", "id": "string", "accountId": "string", "bankAccountId": "string", "transactionFileId": "string", "paymentClaimId": "string", "bncWebhookPaymentEventId": "string", "mercantilWebhookPaymentEventId": "string", "duplicationKey": "string", "amount": 0, "date": "string", "description": "string", "referenceCode": "string", "createdAt": "string", "updatedAt": "string" }, "createdBy": { "name": "string", "email": "string" }, "paymentClaim": { "createdFrom": "ADMIN" }, "hasPaymentAttempt": true } ], "total": 0, "totalPages": 0, "nextCursor": "string", "exchangeRates": { "property1": { "rate": 0, "rateDate": "string", "daysAhead": 0 }, "property2": { "rate": 0, "rateDate": "string", "daysAhead": 0 } }}
