Webhooks
Register Webhook Endpoint
Registers a new webhook endpoint to receive payment event notifications.
POST
Register webhook endpoint
To list, update, or delete webhook endpoints, use Dashboard > Settings > Webhooks. The API currently supports webhook registration only. Full CRUD via API is on the roadmap.
Supported Event Types
When registering a webhook, you can subscribe to any of the following payment event types:payment.createdpayment.succeededpayment.failedpayment.declinedpayment.cancelledpayment.expiredpayment.refundedpayment.partially_refunded
Authorizations
Your public API key from the Yuno Dashboard
Your private secret key (server-side only)
Body
application/json
Response
Webhook registered successfully
Example:
"wh_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Example:
"https://example.com/webhooks/yuno"
Example:
[
"payment.succeeded",
"payment.failed",
"payment.refunded"
]Available options:
ACTIVE, INACTIVE Example:
"ACTIVE"
Shared secret for HMAC signature verification
Example:
"whsec_abc123def456"
Example:
"2026-03-01T10:00:00.000Z"
Register webhook endpoint