Retrieve the spending limits and the currently available balance for a specific delegate token.
Your merchant identifier.
Path Parameters
The delegateToken used to authorize charges.
Response
The status of the delegate (active, revoked, expired).
The total authorized monthly spend limit.
The total amount spent by this delegate so far in the current month.
remainingMonthlySpendCents
The remaining available balance for the current month.
The maximum permitted amount for a single transaction.
curl -X GET https://api.delegare.dev/v1/delegates/dtok_abc123xyz789/balance \
-H "X-Delegare-Merchant-Id: your_merchant_id" \
-H "X-Delegare-Api-Key: your_api_key"
{
"status": "active",
"maxMonthlySpendCents": 5000,
"currentMonthlySpendCents": 1500,
"remainingMonthlySpendCents": 3500,
"maxPerTxCents": 1000
}