latestOpenAPI 3.0.12026-08-104068226.2 KB

a772504dcc9e

Card spending controls

Retrieve a card spending limit control

Returns information about the card spending limit control specified in the request URL.<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/{id}

Path parameters

idstring required

ID of the card spending limit control.

Response

Successful result of the operation

idstring required

ID of the card spending limit control.

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.

scope_idstring required

ID of the resource that corresponds with the scope. For example, if the scope is PARTNER, then the scope_id would be your partner ID. For business, it would be the business ID.

origin'SOLARISBANK' | 'PARTNER' required

Indicates whether the card spending control was created by Solaris SE or by you.

idempotency_keystring uuid required

A randomly generated UUID which the server uses to recognize subsequent retries of the same request.

Example response

{
  "id": "7a911b90-0109-11ec-9a03-0242ac130003",
  "scope_id": "54e06604b0cf825810bec508cc1f2dc7mcrd",
  "idempotency_key": "504f6816-f7b5-4965-bc35-69acadc9f5c7",
  "limit": {
    "dimension": [
      "5411"
    ],
    "amount": 10000
  },
  "utilized_limit": {
    "amount": 10000,
    "count": 5
  }
}