The AUTHENTICATION token to use can be found in your iPaaS subscription settings page.
Copy the value from the WEBHOOK API KEY field and prefix it with "Bearer "
The value for header Authentication: will be the value "Bearer {{WEBHOOK API KEY}}"
Please note that there is a space between Bearer and the Webhook API Key.
To create a webhook manually:
POST https://hooks.ipaas.com/v1/Generic
Requires Header:
Authorization: Bearer xxxxx
{
"notifications": [{
"scope": "transaction/created",
"external_id": {{ item.entity_id }}
}]
}
The scope must match a valid scope for the System Type.
The external Id must be the unique record identifier used by the integration for matching references.
Other three Body types:
{
"notifications": [{
"scope": "customer/created",
"external_id": {{ item.entity_id }}
}]
}
{
"notifications": [{
"scope": "customer/updated",
"external_id": {{ item.entity_id }}
}]
}
{
"notifications": [{
"scope": "transaction/updated",
"external_id": {{ item.entity_id }}
}]
}