Ir al contenido
UnoPagoDocumentación
Referencia de la APIWebhook integrationWebhook events

Checkout Session Paid

Triggered once a checkout session is fully paid. Use it as the fulfilment signal: fulfil on the event type, not on which fields are set. It carries the session's externalId, invoiceId, amountPaid and paymentIds, every payment applied to it, oldest first.

application/json
  1. body
id*string
eventType*string
account?string

The connected account the event happened in, on events a platform receives on its Cuentas conectadas endpoints. Absent on your own account's events.

createdAt*string
data*

Cuerpo de la respuesta

Webhook received successfully

Ejemplos de solicitud
POST/checkout_session_paid
Cuerpo de la solicitud
application/json
{  "id": "string",  "eventType": "string",  "createdAt": "string",  "data": {    "checkoutSession": {      "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",      "paidAt": "string",      "expiresAt": "string",      "createdAt": "string",      "updatedAt": "string",      "provider": "API",      "invoiceId": "string",      "paymentIds": [        "string"      ],      "paymentId": "string",      "test": true    }  }}