Spend Limits
These APIs help you manage spend limits that are applied on your profile.
The Limits resource
The type of transaction. One of PURCHASE
, ATM_WITHDRAWAL
. PURCHASE
is a combined limit that applies to Contactless, Magnetic, Online purchase, Chip and PIN/mobile wallet transactions
The current configured daily or monthly limit. The value can be between 0 and the max allowed
The total authorised amount till date
The max allowed limit for daily or monthly
The time when the limit get reset. ISO-8601 timestamp with timezone (Z)
{"type": "PURCHASE","aggregateWindow": {"daily": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"},"monthly": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"}}}
Retrieve profile limits
GET /v4/spend/profiles/{{profileId}}/spend-limits
Retrieves the spending limits that are configured for a profileId
.
curl -X GET 'https://api.sandbox.transferwise.tech/v4/spend/profiles/{{profileId}}/spend-limits' \-H 'Authorization: Bearer {{API token}}'
Response
Returns a list of spend limits object
{"spendLimits": [{"type": "PURCHASE","aggregateWindow": {"daily": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"},"monthly": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"}}},{"type": "ATM_WITHDRAWAL","aggregateWindow": {"daily": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"},"monthly": {"value": {"amount": 20000.00,"currency": "GBP"},"usage": {"amount": 0.00,"currency": "GBP"},"max": {"amount": 25700.10,"currency": "GBP"},"resetAt": "2023-07-31T22:59:59.999999999Z"}}}]}
Update profile limits
PATCH /v4/spend/profiles/{{profileId}}/spend-limits
Update profile daily and monthly spending limits for PURCHASE
or ATM_WITHDRAWAL
.
The type of transaction. One of PURCHASE
, ATM_WITHDRAWAL
The amount allowed to be spent for the chosen type
, both daily and monthly must be set
curl -X PATCH https://api.sandbox.transferwise.tech/v3/spend/profiles/{{profileId}}/cards/{{cardToken}}/spending-limits \-H 'Authorization: Bearer <your api token>' \-H 'Content-Type: application/json' \-d '{"type": "PURCHASE","aggregateWindow": {"daily": {"value": {"amount": 20000.00,"currency": "GBP"}},"monthly": {"value": {"amount": 20000.00,"currency": "GBP"}}}}'