latestOpenAPI 3.0.12026-08-104068226.2 KB
a772504dcc9e
Card spending controls
Index card spending limit controls
Returns all active card spending limit controls.<br> Note: A newer version of this endpoint is available. To use the updated version, please refer to the (V2) endpoint and provide the required Api-Version header.
get/v1/card_controls/spending_limits
Query parameters
filter[scope]'CARD' | 'CARDHOLDER' | 'ACCOUNT' | 'BUSINESS' | 'PARTNER' | 'PARTNER_CARDS' | 'BUSINESS_CARDS' | 'ACCOUNT_CARDS' | 'CARDHOLDER_CARDS' | 'NON_BUSINESS_CARDS' | 'PARTNER_CARDHOLDERS' required
The scope of the card spending control.
Filter the results by the type of scope.
filter[scope_id]string
Filter the results by a specific scope (e.g., the ID of an account or the person ID of a cardholder).
include_relatedboolean
Using this filter, the API will return all card spending limit controls that were defined at the ACCOUNT, BUSINESS, or PARTNER level that apply to a specific card. You can only use this filter in combination with the scope and scope_id filters. The scope must be set to CARD and the scope_id must be set to a card ID.
Response
Successful result of the operation
Example response
[
{
"id": "7a911b90-0109-11ec-9a03-0242ac130003",
"scope_id": "54e06604b0cf825810bec508cc1f2dc7mcrd",
"idempotency_key": "504f6816-f7b5-4965-bc35-69acadc9f5c7",
"limit": {
"dimension": [
"5411"
],
"amount": 10000
}
}
]