Update Webhook

Allows a user to update webhook details.

Path Params
string
required
Defaults to MPB-WH-FBA601A8DA

Webhook ID

Body Params
uri
required
Defaults to https://webhook.site/e9145367-01cc-45f9-bebb-69775badb883

The URL which the customer will be redirected to after a successful payment.

enabled_events
array of strings
required
Defaults to payment.failed,payment.succeeded,payment.refund_initiated,payment.refunded,payment.refund_failed,subscription.failed,subscription.succeeded,payment_link.create

The URL of webhook which customer will be recieved the notification:

payment.failed: Notification for failed one-off payments

payment.succeeded: Notification for successful one-off payments

payment.refund_initiated: Notification for initializing the refund

payment.refunded: Notification for the successful refund

payment.refund_failed: Notification for the failed refund

payment.card_verified: Notification for card verification payment

payment.authorized: Notification for when a payment is placed on hold

payment.voided: Notification for when a held payment is reversed/voided

subscription.failed: Notification for failed subscription payments

subscription.succeeded: Notification for successful subscription payments

payment_link.create: Notification for successfully create payment link

payout.processed: Notification for settled payout

payout.failed: Notification for rejected payout


The charge. equivalents of the payment. events above are kept as legacy aliases for backward compatibility. New integrations should use payment.*.

enabled_events*
string
length between 1 and 50
Defaults to authentication header

authentication header

Responses

404

Invalid request

500

Unexpected error

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json