This page lists the various events you may encounter while a deal is under processing for Liberis. Be aware that the events you receive will vary based on the agreed Payment Method between you and Liberis. For any inquiries, please contact your partner manager.
Events: flexi_started
Triggered when a Flexi account is approved by Liberis, marking it as active. This means the merchant is now able to start taking advances from the account. At this stage, a partner should enable a split if they are controlling the split mechanism.
{
"id": "6e17e99c-d2fc-48d6-b60a-d543c5c8aa52",
"api_version": "1.0",
"event": "flexi_started",
"created_date": "2023-02-06T13:40:00Z",
"data": {
"flexi_account_id": "FLEXIACC_6G3S6W1",
"type": "Flexi",
"currency": "GBP",
"start_date": "2023-02-06T13:40:00Z",
"pricing": {
"split_percent": "20",
"amount": "10000"
},
"references": {
"account_id": "FLEXIACC-MDZ31R",
"liberis_id": "6f07701-96d0-4d1a-b82c-ad6c069014fe",
"partner_client_id": "M_12432_4345"
},
}
}
Field | Datatype | Description |
---|---|---|
flexi_account_id | string | The ID of the Flexi Account in the Liberis system |
type | string | The type of deal which has been started |
currency | string | The three-letter ISO currency code. |
start_date | string | An ISO date string indicating when the deal was activated. |
pricing | object | The agreed pricing for the Flexi account |
split_percent | string | The split applied to advances taken within the Flexi account. |
amount | string | The total amount available with the Flexi account |
references | object | A list of ids for related objects |
application | string | The unique identifier for the application as recorded in Liberis' system. |
merchant | guid | The unique identifier for the merchant within Liberis' system, also referred to as the LiberisId. |
external_merchant | string | The unique identifier for the merchant within your system, as provided to Liberis. |
actions | object | A collection of URLs for actions pertinent to this event. |
notify | string | The URL to be called to notify Liberis of successful updates to the merchant's account for fund redirection to the settlement account. Refer to Replying to Webhook Actions for more details. |
Events: flexi_complete
Triggered when an active Flexi account is concluded normally, indicating its inactive status. This means the merchant is now unable to take more advances from the account. At this stage, a partner should disable a split if they are controlling the split mechanism.
{
"id": "6e17e99c-d2fc-48d6-b60a-d543c5c8aa52",
"api_version": "1.0",
"event": "flexi_complete",
"created_date": "2023-02-06T13:40:00Z",
"data": {
"flexi_account_id": "FLEXIACC_6G3S6W1",
"end_date": "2024-02-06T13:40:00Z",
"references": {
"account_id": "FLEXIACC-MDZ31R",
"liberis_id": "6f07701-96d0-4d1a-b82c-ad6c069014fe",
"partner_client_id": "M_12432_4345"
},
}
}
Field | Datatype | Description |
---|---|---|
flexi_account_id | string | The ID of the Flexi Account in the Liberis system |
end_date | string | An ISO date string indicating when the deal completed |
references | object | A collection of identifiers relating to various associated entities or objects. |
application | string | The unique identifier for the application as recorded in Liberis' system. |
merchant | guid | The unique identifier for the merchant within Liberis' system, also referred to as the LiberisId. |
external_merchant | string | The unique identifier for the merchant within your system, as provided to Liberis. |
actions | object | A collection of URLs for actions pertinent to this event. |
notify | string | The URL to be called to notify Liberis of the outcomes of the pre-split checks. Refer to Replying to Webhook Actions for more details. |