Settlement Accounts
Create a settlement rule
Changed onThe POST /virtual-accounts/{accountId}/settlement-rule endpoint creates a settlement rule, for a given settlement account.
post/virtual-accounts/{accountId}/settlement-rule
Request
- Base URLhttps://api.token.io
- URLhttps://api.token.io/virtual-accounts/{accountId}/settlement-rule
- Auth
- HTTP bearer
- or API key in header Authorization
Path parameters
accountIdstring required
The system-generated, unique id which specifies the settlement account.
Request body
Example request
{
"accountId": "pa:8DbPteGnytmMbKXdnWTReeRB6cYWKXZ84JgLTBC7fKL4:5zKcENpV",
"payeeAccountDetails": {
"name": "Customer Inc.",
"ultimateCreditorName": "Customer Inc.",
"accountNumber": "12345678",
"bic": "HBUKGB7F261",
"iban": "GB29NWBK60161331926819"
},
"effectiveFrom": "2024-01-01T12:34:56Z",
"effectiveTo": "2024-12-01T12:34:56Z",
"intradayIntervalHours": 2,
"intradayIntervalMinutes": 10,
"onBehalfOfId": "c5a863bc-86f2-4418-a26f-25b24c7983c7",
"description": "Auto Payout",
"enableDynamicRef": true
}Response
Successful response
Example response
{
"settlementRuleId": "123e4567-e89b-12d3-a456-426614174000"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
PREVIOUS_DAY_TOTALenum value to the request property
- info