v1

latestOpenAPI 3.1.02026-07-24120106.5 KB

Create webhook

Integrators will use the create Webhook API to provide Ezypay the URL to the weblistener. All events will be delivered to the endpoint provided. Integrators will provide the list of eventTypes that they will want to received the webhook notification. Adding security token:https://developer.ezypay.com/docs/webhook-security

post/

Headers

merchantstring required

Merchant ID

Request body

urlstring required

The callback url when an event has occurred.

eventTypesstring[] required

List of eventTypes that will trigger a notification when the event occurs. Supported values are: customer_create, customer_update, invoice_created, invoice_past_due, invoice_paid, invoice_batch_created, invoice_batch_processing, invoice_batch_success, invoice_batch_invoice_failed, subscription_create, subscription_cancel, subscription_activate, payment_method_invalid, payment_method_valid, payment_method_linked, payment_method_replaced, payment_method_changed, subscription_payment_reactivate, subscription_payment_stopped, subscription_complete, credit_note_created, credit_note_paid, credit_note_failed, partner_invoice_created, partner_invoice_paid, partner_invoice_past_due, qr_response

Response

200