Get all payments
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
startDate?stringendDate?stringcursor?stringlimit?numberRango
value <= 1000Por defecto
10sortKey?stringPor defecto
"createdAt"Valor en
"createdAt""amount""firstName"sortDirection?stringPor defecto
"desc"Valor en
"asc""desc"subscriptionId?stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidSuccessful 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/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, "customer": { "id": "string", "accountId": "string", "externalId": "string", "mainContactId": "string", "nationalId": "string", "firstName": "string", "lastName": "string", "email": "string", "phoneNumber": "string", "address": "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" }, "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" } ] } ], "total": 0, "totalPages": 0, "nextCursor": "string", "exchangeRates": { "property1": { "rate": 0, "rateDate": "string", "daysAhead": 0 }, "property2": { "rate": 0, "rateDate": "string", "daysAhead": 0 } }}
