Ir al contenido
UnoPagoDocumentación
Referencia de la APIWebhook events

Settlement Completed

Triggered when UnoPago pays out what it collected to the account's bank account. paymentIds lists the payments it covers that UnoPago recorded, so it can be shorter than paymentCount. A payout to one of your vendors sends the same event with vendor: the three settlement events are how you learn what became of a vendor's payout, and UnoPago sends the vendor nothing. A vendor's events go to your account's own endpoints, never to the connected-accounts ones, also when its parts came from your connected accounts' orders: subscribe an endpoint of your own to the three. If you split orders, read vendor before counting a payout as yours: netAmount of a vendor's payout was deposited to the vendor.

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/settlement_completed
Cuerpo de la solicitud
application/json
{  "id": "string",  "eventType": "string",  "createdAt": "string",  "data": {    "settlement": {      "id": "string",      "status": "COMPLETED",      "currency": "VES",      "totalAmount": "string",      "totalFees": "string",      "totalSplits": "string",      "netAmount": "string",      "vendor": {        "id": "string",        "externalId": "string"      },      "paymentCount": -9007199254740991,      "paymentIds": [        "string"      ],      "processingBank": "string",      "bankReference": "string",      "bankAccount": {        "bankCode": "string",        "accountNumberLast4": "string"      },      "processedAt": "string"    }  }}