Receive an Alloy journey decision
/webhooks/alloyNo authenticationAlloy's journey decision webhook. The body is signed with base64(HMAC-SHA256(webhook secret, raw body)) in the Authorization header, with no bank token, and its envelope timestamp must be fresh. A verified event only names the journey application: compliance reads the decision back from Alloy and applies it through the KYC path, so nothing in the body sets a status. Each request_token is handled once across replicas (a replay answers duplicate with the recorded outcome and kyc_check_id); an event that cannot change the decision is ignored. The gateway routes the path to compliance.
Headers
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
dataobjectRequiredAlloyWebhookData is the journey event Alloy's envelope carries.
6 child attributes
entity_tokenstringRequiredexternal_entity_idstringRequiredThe customer id the bank sent
journey_application_tokenstringRequiredjourney_tokenstringRequiredtimestampintegerRequiredtypestringRequiredrequest_tokenstringRequiredHandled once across replicas
timestampintegerRequiredCovered by the signature; judges freshness
typestringRequiredReturns
200 OK
kyc_checkobject or nullOptional9 child attributes
business_parties_versionintegerOptionalcustomer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
decisionstringRequiredevidenceobject or nullOptionalThe vendor evaluation the decision rests on; absent for the simulator
10 child attributes
entity_tokensarray of stringsRequiredevaluation_tokensarray of stringsRequiredjourney_application_tokenstringRequiredjourney_tokenstringRequiredoutcomestringRequiredproviderstringRequiredreason_codesarray of stringsRequiredrecorded_atstring · date-timeRequiredresponse_digeststringRequiredstatusstringRequiredidstringRequiredExample kycc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
providerstringRequiredprovider_refstringRequiredreasonsarray of stringsRequiredrisk_ratingstringRequiredkyc_check_idstringOptionalA duplicate's recorded check
Example kycc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
outcomestringOptionalA duplicate's recorded outcome
statusstringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503