Get an entitlement's balance
For a credit entitlement, the credit left in the agreement's currency. Secret and trusted tokens may call it; a limited token may not (403).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
entitlement_id*stringThe entitlement id.
billing_region?stringThe entitlement's region. Defaults to us.
Success.
application/json- response
object?stringAlways entitlement_balance.
entitlement_id?stringThe entitlement.
balance?numberFor a credit: the credit left, in the agreement's currency.
entries?integerHow many ledger entries there are. 0 before anything is written.
date_computed?stringWhen the balance was last worked out. Empty before anything is written.
date-timebilling_region?stringBilling region. Defaults to us.
"us""uk""eu"curl -X GET 'https://api.comecero.com/api/v1/usage/entitlements/string/balance'{ "object": "entitlement_balance", "entitlement_id": "credit_cust_8412", "balance": 37.5, "entries": 3, "date_computed": "2026-12-01T00:20:11Z", "billing_region": "us"}Get an entitlement GET
One entitlement. Secret and trusted tokens may call it; a limited token may not (`403`).
Add prepaid credit POST
Adds credit to a `credit` entitlement. The same `idempotency_key` adds it once; with another amount it answers `409`. Secret and trusted tokens may call it; a limited token may not (`403`).