Webhooks
Register webhook
Register a webhook endpoint to receive decision event notifications. The hmac_key is generated by Specter and returned once, in the creation response.
POST
Register webhook
Authorizations
HS256-signed JWT bearer token, obtained via the OAuth2 client-credentials grant (see Authentication).
Body
application/json
Webhook attributes
Event types this endpoint is subscribed to. Must contain at least one.
Minimum array length:
1Available options:
decision.allow, decision.block, decision.review, decision.provisional, decision.async.allow, decision.async.block, decision.async.review HTTPS URL that Specter delivers event notifications to.
Example:
"https://merchant.example.com/webhooks/specter"
Response
Created webhook
Register webhook