Notifying when a new business account is created
The event is triggered whenever a new business account is created
Webhook authorization: using a directory token.
Subscribing to the Account Created webhook:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "account/created",
"target_url": "URL"
}'
Account Created Payload Example:
{
"business_id": "123456789abcdefg",
"email": "[email protected]",
"name": "Account 23"
}