Set Account Daily Spending Limit
Sets the daily spending limit for the authenticated user’s account. amount is in the currency’s smallest unit — for USD that means cents, so to set a 10,000.00. Must be in (0, 1,000,000]. Only USD is currently accepted. The response returns the new limit immediately with syncStatus: pending and transitions to synced once the change has been applied downstream.
Body
Daily limit in the currency's smallest unit (e.g. cents for USD). For USD: send 1000 to set a $10.00 limit, send 1000000 to set the $10,000.00 cap. Must be in (0, 1,000,000].
1 <= x <= 1000000ISO-4217 currency code. Only USD is currently accepted; other values return 400.
Response
Account limit updated successfully
Daily limit in the currency's smallest unit (e.g. cents for USD). Divide by 10^decimals to get the major-unit value. For USD (decimals=2): amount=1000 means $10.00, amount=1000000 means $10,000.00.
ISO-4217 currency code, e.g. USD.
Number of decimal places for this currency (e.g. 2 for USD).
Replication state of the limit. 'pending' immediately after an update, 'synced' once the change has been applied downstream, 'failed' if the change could not be applied after retries.
pending, synced, failed Last time this limit was modified.
Amount spent today against this limit, in the currency's smallest unit (e.g. cents for USD). Resets at the start of each calendar day.
Remaining headroom today, in the currency's smallest unit. Equals max(0, amount - spentToday).