Get all transactions related to an invoice 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
"createdAt""transactionDate""debit""credit"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/transactions'Ejemplo de respuesta
{ "results": [ { "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", "fromPayment": { "transactionDate": "string" } } ], "total": 0, "totalPages": 0, "nextCursor": "string", "exchangeRates": { "property1": { "rate": 0, "rateDate": "string", "daysAhead": 0 }, "property2": { "rate": 0, "rateDate": "string", "daysAhead": 0 } }}
