Virtual Cash Balances
Trigger a virtual cash decrease
Decreases an account group's virtual cash balance, for example after an order has settled or before a withdrawal.
If the account group does not yet have sufficient real cash, the decrease is queued with status QUEUED and confirmed automatically once funds arrive rather than being rejected. Requires the Idempotency-Key header to prevent duplicate decreases.
See the Virtual cash guide (TOL / BYOL) for supported use cases.
post/virtual_cash_balances/decreases
Request
- Base URL: https://sandbox.upvest.co
- URL: https://sandbox.upvest.co/virtual_cash_balances/decreases
- Auth: OAuth 2 (client credentials, token URL https://sandbox.upvest.co/auth/token, scopes: virtual_cash_balances:admin)
Headers
idempotency-keystring uuid required
Example:ccb07f42-4104-44ad-8e1f-c660bb7b269c
A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency
Request body
Response
Virtual Cash Balances Decrease
Changes
No recorded changes to this operation across all 25 revisions of this API.