List checkout sessions
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
status?stringValor en
"OPEN""PROCESSING""PAID""FAILED""EXPIRED""CANCELED"page?integerRango
1 <= value <= 9007199254740991Por defecto
1pageSize?integerRango
1 <= value <= 100Por defecto
25Successful response
application/json- response
results*array<>total*integerRango
-9007199254740991 <= value <= 9007199254740991page*integerRango
-9007199254740991 <= value <= 9007199254740991pageSize*integerRango
-9007199254740991 <= value <= 9007199254740991totalPages*integerRango
-9007199254740991 <= value <= 9007199254740991curl -X GET 'https://api.unopago.com/v1/checkout-sessions'Ejemplo de respuesta
{ "results": [ { "id": "string", "externalId": "string", "status": "OPEN", "automaticTax": { "enabled": true }, "items": [ { "productId": "string", "description": "string", "quantity": -9007199254740991, "amount": 0, "exento": true, "taxes": [ { "type": "IVA", "rate": 0, "amount": 0 } ] } ], "subtotal": 0, "ivaRate": 0, "ivaAmount": 0, "ivaBreakdown": [ { "rate": 0, "rateBase": 0, "amount": 0 } ], "amount": 0, "currency": "VES", "amountVes": 0, "exchangeRate": 0, "exchangeRateDate": "string", "amountPaid": 0, "amountRemaining": 0, "splits": [ { "vendor": "string", "externalId": "string", "amount": 0, "amountVes": 0 } ], "reference": "string", "description": "string", "buyerName": "string", "buyerEmail": "string", "url": "http://example.com", "iframeUrl": "http://example.com", "appearance": { "mode": "light", "colorPrimary": "string", "saturation": 0, "lightness": 0, "borderStyle": "square", "showMerchantName": true, "showTotal": true }, "paidAt": "string", "expiresAt": "string", "createdAt": "string", "updatedAt": "string" } ], "total": -9007199254740991, "page": -9007199254740991, "pageSize": -9007199254740991, "totalPages": -9007199254740991}
