Ir al contenido
UnoPagoDocumentación
Referencia de la APIWebhook events

Payment Received

Triggered when a payment is created

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/payment_received
Cuerpo de la solicitud
application/json
{  "id": "string",  "eventType": "string",  "createdAt": "string",  "data": {    "payment": {      "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",      "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"        }      ]    },    "checkoutSessionId": "string"  }}