Update Webhook

Allows a user to update webhook details.

Path Params
string
required
Defaults to MPB-WH-FBA601A8DA

Webhook ID

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

The endpoint URL that Mamo delivers webhook events to. Optional on update — omit it to leave the current URL unchanged.

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

The list of events this webhook is subscribed to. Optional on update — omit it to leave the current subscriptions unchanged. See Create Webhook for the full event catalog and the charge.*/payment.* namespace note.

enabled_events
string
length between 1 and 50
Defaults to authentication header

A secret value of your choice (up to 50 characters). Mamo sends it unchanged as the Authorization header on every webhook delivery to this URL. Check it in your handler and reject requests that don't match, so only Mamo can trigger your webhook. Example: set it to Bearer <random-secret> and compare the incoming Authorization header against it.

Headers
string
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