Accounts APISettlement scheduler
Create or replace settlement scheduler
PUT
Creates or replaces the settlement scheduler of the specified Volt account. The whole configuration is replaced.
BearerAuthheader
AuthorizationBearer <JWT>accountId*stringUnique identifier of the Volt account the funds are settled from.
Format
uuidX-Volt-Api-Version*1Version of the API used. Currently, version 1 is the only version.
Value in
1application/json- body
trustedAccountId*stringId of the trusted account the funds are settled to. Must be active and belong to the owner of the account.
Format
uuidactive*booleanWhether the scheduler triggers settlements. An inactive scheduler keeps its configuration.
rules*array<||>Schedule rules. Rules of different types can be combined.
Items
1 <= items <= 50threshold?Minimum available balance required to trigger a settlement.
Settlement scheduler stored.
curl -X PUT 'https://accounts.sandbox.volt.io/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/settlement-scheduler' \ -H 'X-Volt-Api-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "trustedAccountId": "efffed42-40f7-4bd2-840d-908aae9a33ad", "active": true, "rules": [ { "type": "DAILY", "timeOfDay": "16:00" } ]}'Example Response
Empty