Webhook event notification request.
event_name
value: payment-method-updated
This request is sent to registered webhook event handlers after |
---|
Update payment method completes |
A payment method was added to a user's account |
A user's payment method was deactivated |
The Request body described below is the message
property in the event notification request data. For more information about event notification requests, visit Webhooks.
Return a 2XX status to indicate that the data was received successfully
Return a 4XX status to indicate that the request was malformed
{- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "payment_method_id": "pm_2V2bA0r2hJpUnCA9HeTgOl0rONr",
- "state": "ACTIVE"
}