Ir al contenido
UnoPagoDocumentación
Referencia de la APIWebhook events

Settlement Failed

Triggered when a payout could not be completed: the bank refused it, or UnoPago could not confirm it (the check before sending it failed, or a review found it was not paid). A payout that fails twice sends it twice, with a different event id. The money stays owed to the account and UnoPago reviews it: it either sends this payout again (settlement_completed with the same id, or another settlement_failed) or releases it: then settlement_canceled arrives and its payments are paid in a later payout with a new id. A vendor's payout (vendor is set) fails the same ways. When it was the bank that refused it, usually a wrong account, you can release it yourself: update the vendor's bank account and have an owner confirm it; settlement_canceled arrives and the next run pays it to the new account. The event does not say which of the two it was: if no settlement_canceled follows the confirmation, UnoPago is reviewing the payout.

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_failed
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"    }  }}