Update the authorization webhook
Change part of an account’s authorization webhook. Omitted fields keep their value.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request except GET /v2/legal-entities, which lists the ids a user API key can send here: those of every legal entity its user has access to.
^le_[a-zA-Z0-9]+$Path Parameters
Account id with the sa_group_ prefix.
Body
Omitted fields keep their value.
Where Slash sends authorization requests.
"https://example.com/slash/authorize"
Slash only sends requests to an active webhook.
active, inactive Decline the authorization.
- AuthorizationWebhookConfigReject
- AuthorizationWebhookConfigDefault
Response
The authorization webhook.
An endpoint of yours that approves or declines each card authorization on an account before Slash answers the card network. An account has at most one.
Where Slash sends authorization requests.
"https://example.com/slash/authorize"
Signs every request Slash sends. It is set when the webhook is created and does not change.
Slash only sends requests to an active webhook.
active, inactive How long Slash waits for an answer before applying config, in milliseconds.
1500
Decline the authorization.
- AuthorizationWebhookConfigReject
- AuthorizationWebhookConfigDefault