Create a webhook
Create a webhook
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Webhook to create
Webhook object
A list of the events that will trigger the webhook. Subscribing to a wildcard event, e.g. ACCOUNT.*, will send all webhooks for all events that match that pattern. Note that this can include new event types added after the subscription was created.
ADVERSE_ACTION.*, APPLICATION.*, CARD.*, CRR.*, DISPUTE.*, DOCUMENT_VERIFICATION_SESSION.*, EDD.*, EXTERNAL_CARD.*, EXTERNAL_CARD_TRANSFER.*, INTERNAL_TRANSFER.*, SPEND_CONTROL.*, STATEMENT.*, TRANSACTION.* Set the webhook to be enabled or disabled
URL that the webhook will send request to
1000A description of what the webhook is used for
Additional information stored to the webhook
The id of the tenant containing the resource.
"abcdef_ghijkl"
Callbacks
POST{$request.body#/url}WebhookRequest
Body
Request body for webhook http request
Timestamp of the current event raised
Metadata that stored in the webhook subscription
1024All the webhook event types
ADVERSE_ACTION.CREATED, APPLICATION.CREATED, APPLICATION.UPDATED, CARD.CREATED, CARD.DIGITALWALLETTOKEN.CREATED, CARD.DIGITALWALLETTOKEN.UPDATED, CARD.IMAGE.CREATED, CARD.IMAGE.UPDATED, CARD.UPDATED, CRR.CREATED, DISPUTE.CREATED, DISPUTE.UPDATED, DOCUMENT.CREATED, DOCUMENT.DELETED, DOCUMENT.RETRIEVED, DOCUMENT.UPDATED, DOCUMENT_VERIFICATION_SESSION.CREATED, DOCUMENT_VERIFICATION_SESSION.UPDATED, EDD.CREATED, EDD.DELETED, EXTERNAL_CARD.CREATED, EXTERNAL_CARD.DELETED, EXTERNAL_CARD.UPDATED, EXTERNAL_CARD_TRANSFER.CREATED, EXTERNAL_CARD_TRANSFER.UPDATED, INTERNAL_TRANSFER.SUCCEEDED, SPEND_CONTROL.CREATED, SPEND_CONTROL.UPDATED, SPEND_CONTROL.VIOLATED, STATEMENT.CREATED, TRANSACTION.CREATED, TRANSACTION.UPDATED URL that you specified for the webhook and where this request will be sent
1000Id of the Webhook the current request belongs to
Json string of object associated with the event related to a resource change. This only contains those fields that have value changed on the event, and the field values are prior to the resource change event.
Json string of object associated with the event. For example, if your event is ACCOUNT.CREATED, You can refer to Acccount to parse the account event to obtain the ID, status etc.
Response
Your server returns this code if it accepts the webhook request object
Response
Created webhook
Webhook object
A list of the events that will trigger the webhook. Subscribing to a wildcard event, e.g. ACCOUNT.*, will send all webhooks for all events that match that pattern. Note that this can include new event types added after the subscription was created.
ADVERSE_ACTION.*, APPLICATION.*, CARD.*, CRR.*, DISPUTE.*, DOCUMENT_VERIFICATION_SESSION.*, EDD.*, EXTERNAL_CARD.*, EXTERNAL_CARD_TRANSFER.*, INTERNAL_TRANSFER.*, SPEND_CONTROL.*, STATEMENT.*, TRANSACTION.* Set the webhook to be enabled or disabled
URL that the webhook will send request to
1000Webhook creation timestamp in RFC3339 format
A description of what the webhook is used for
The unique ID of the webhook
Timestamp that this webhook was created or the last time any field was changed
Timestamp of the last Webhook modification in RFC3339 format
Additional information stored to the webhook
The id of the tenant containing the resource.
"abcdef_ghijkl"

