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/adding-security-token-to-the-webhooks

Body Params
string
required

The callback url when an event has occurred.

eventTypes
array of strings
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

eventTypes*
Headers
string
required

Merchant ID

Responses

Language