Requirements
Before you begin, take into account the following requirements, limitations, and preparations.Configure sales day closing time
You can configure sales day settlements on new and existing balance accounts by using the Configuration API and including theplatformPaymentConfiguration object in your request:
- Use POST /balanceAccounts when you create a balance account.
- Use PATCH /balanceAccounts/{id} when you update a balance account.
The following code sample shows how you can configure the closing time where the sales day ends at 1 AM and the funds are made available after two business days.
Configure closing time for an existing balance account
platformPaymentConfiguration object, which contains the data you provided.
Response — Closing time updated
Webhooks
After the new closing time is applied to the balance account, we send one of the following webhooks to your server:- For a new balance account, we send the balancePlatform.balanceAccount.created webhook.
- For existing balance accounts, we send the balancePlatform.balanceAccount.updated webhook.