Skip to main content
GET
/
webhooks
/
{id}
curl https://api.onepay.la/v1/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer sk_test_xxx"
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Webhook de producción",
    "description": "Notificaciones de pagos aprobados",
    "url": "https://mi-servidor.com/webhooks/onepay",
    "events": [
      "payment.approved",
      "payment.rejected",
      "charge.paid",
      "charge.failed"
    ],
    "header": null,
    "is_test": false,
    "created_at": "2025-01-20T14:30:00+00:00",
    "updated_at": "2025-01-20T14:30:00+00:00"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.onepay.la/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
ID del webhook a consultar.
curl https://api.onepay.la/v1/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer sk_test_xxx"
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Webhook de producción",
    "description": "Notificaciones de pagos aprobados",
    "url": "https://mi-servidor.com/webhooks/onepay",
    "events": [
      "payment.approved",
      "payment.rejected",
      "charge.paid",
      "charge.failed"
    ],
    "header": null,
    "is_test": false,
    "created_at": "2025-01-20T14:30:00+00:00",
    "updated_at": "2025-01-20T14:30:00+00:00"
  }
}