Skip to main content
PATCH
/
partner
/
cards
/
{id}
/
limits
Update card spend control
curl --request PATCH \
  --url https://api.contro.me/v1/partner/cards/{id}/limits \
  --header 'Content-Type: application/json' \
  --header 'x-contro-api-key: <api-key>' \
  --data '
{
  "spendControl": {
    "sales": {
      "perTransaction": 200,
      "daily": 1000,
      "monthly": 20000,
      "allTime": 50000
    },
    "cash": {
      "perTransaction": 200,
      "daily": 1000,
      "monthly": 20000,
      "allTime": 50000
    },
    "spent": {
      "sales": {
        "perTransaction": 200,
        "daily": 1000,
        "monthly": 20000,
        "allTime": 50000
      },
      "cash": {
        "perTransaction": 200,
        "daily": 1000,
        "monthly": 20000,
        "allTime": 50000
      }
    }
  }
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://partner-docs.contro.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-contro-api-key
string
header
required

Partner API key (sk_live_* for production, sk_test_* for sandbox)

Path Parameters

id
string
required

Card ID

Example:

"card_def456"

Body

application/json
spendControl
object
required

Per-transaction-type velocity controls. Caps not supported by the card program are rejected with 400.

Response

Card spend control updated

success
enum<boolean>
required
Available options:
true