Payment method updatedWebhook

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.

Securitytilia_auth
Request
Request Body schema: application/json
account_id
string (AccountIdCommon) <= 36 characters

Tilia account ID

payment_method_id
string <= 36 characters

Primary key for this payment method

state
string

State of this payment method Possible values: ACTIVE, INACTIVE, UNVERIFIED

Enum: "ACTIVE" "INACTIVE" "UNVERIFIED"
Responses
2XX

Return a 2XX status to indicate that the data was received successfully

4XX

Return a 4XX status to indicate that the request was malformed

Request samples
application/json
{
  • "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
  • "payment_method_id": "pm_2V2bA0r2hJpUnCA9HeTgOl0rONr",
  • "state": "ACTIVE"
}