payment_intent.created
, charge.succeeded
, charge.failed
, etc.) are sent to your callback_url
. The process for handling these events is almost identical, except for the authentication method (see below). For more details on event types and recommended handling, refer to the Webhooks documentation.
callback_url
parameter to specify where you want Modem Pay to send event notifications related to this payment.
callback_url
is provided in the payment intent, Modem Pay sends event notifications (e.g., charge.succeeded
, charge.failed
) to this URL instead of your global webhook URL.callback_url
is set, events are sent to your global webhook as usual.callback_url
include an x-modem-signature
header containing a signature that is signed with your merchant secret key for authentication.x-modem-signature
header.