curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "account/closed",
"target_url": "URL"
}'
{
"entity_name": "account",
"event_type": "closed",
"data": {
"business_id": "123456789",
"business_name": "best business",
"email": "[email protected]",
"address": "some address",
"created_at": "2021-08-15T11:02:48Z",
"closed_at": "2021-08-15T11:04:46+00:00"
}
}