Webhook-Subscription
Create a webhook subscription
Creates a webhook subscription that sends various events from Ivy to a specified url. There can be multiple subscriptions per app.
POST
Authorizations
Body
application/json
The events to subscribe the url to.
Available options:
test
, merchant_updated
, merchant_app_updated
, order_created
, order_updated
, refund_succeeded
, refund_failed
, payout_report_requested
, data_session_completed
, checkout_session_created
, checkout_session_updated
, checkout_session_expired
, checkout_session_completed
, payout_created
, payout_updated
, mandate_setup_started
, mandate_setup_succeeded
, mandate_setup_failed
, mandate_revoked
, user_payout.failed
, user_payout.paid
, user_payout.initiated
The endpoint where webhook events are sent.
Response
200 - application/json
Available options:
test
, merchant_updated
, merchant_app_updated
, order_created
, order_updated
, refund_succeeded
, refund_failed
, payout_report_requested
, data_session_completed
, checkout_session_created
, checkout_session_updated
, checkout_session_expired
, checkout_session_completed
, payout_created
, payout_updated
, mandate_setup_started
, mandate_setup_succeeded
, mandate_setup_failed
, mandate_revoked
, user_payout.failed
, user_payout.paid
, user_payout.initiated
The unique id for the webhook subscription.
The unique id for the webhook subscription.
The unique id for the webhook subscription.
The url that will listen to the webhook events coming from Ivy. Must be unique for the merchant app.