a772504dcc9e
Index card spending limit controls (V2)
Returns all active card spending limit controls.<br> Important This endpoint replaces the old version. However, please note that you have to set the Api-Version header to the version you want (e.g., 2024-01-01). If you do not specify an Api-Version, then the API will return the older version of the response.
Query parameters
The scope of the card spending control.
Filter the results by the type of scope.
Filter the results by a specific scope (e.g., the ID of an account or the person ID of a cardholder).
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": {
"amount": 10000,
"conditions": [
{
"dimension": [
"5411"
],
"excluded_dimension": [
"5411"
]
}
]
}
}
]