Skip to main content

Customer Exit Approaching Arrears

Webhook 

Type: customer.exit_approaching_arrears_block.v1

This webhook occurs when a customer was approaching arrears, but is now no longer approaching arrears nor have entered into arrears as they have paid off their overdue invoice.

Payload​

The data object in the payload contains the buyer company name and organization number of the buyer who has exited approaching arrears.

Example​

{
"specversion": "1.0",
"id": "01FBJ0PYJ7931K0CJ6GMP8N3WG",
"type": "customer.exit_approaching_arrears_block.v1",
"time": "2023-06-21T12:34:56.123456Z",
"source": "https://api.two.inc",
"subject": "exit_approaching_arrears_block",
"twomerchantid": "b6b9d5d1-f6b7-4e15-9703-9c32c6e5c1c2",
"message": ("TWO B2B AS (1307839) are no longer approaching arrears"),
"data": {
"buyer_company_name": "TWO B2B AS",
"buyer_organization_number": "13078389",
}
}

Triggering in sandbox​

There is no active trigger to send this webhook as it runs as a cronjob on a daily schedule if the exit approaching arrears conditions are met for any customer from this merchant. The SVIX portal however allows for test events to be sent to a given endpoint

Request​

Responses​

Successful Response