Issue cards for your agents via API.
Programmatic card issuing for platforms and agents. Authenticate with a token and operate accounts, cards, grants and authorizations. Amounts are in cents.
curl https://cardia-api.emipanelli.com/admin/cards \ -H "x-admin-token: $CARDIA_API_TOKEN"
Base: https://cardia-api.emipanelli.com · Authenticate every request with the x-admin-token header.
$ curl -X POST https://cardia-api.emipanelli.com/admin/cards \
-H "x-admin-token: $CARDIA_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "currency": "USD", "mode": "scoped" }'
HTTP/1.1 201 Created
{
"id": "card_02",
"currency": "USD",
"mode": "scoped",
"last4": "8841",
"balanceCents": 0
} ▋
Endpoints
Accounts
/admin/accountsLists accounts. Each includes balances { ARS, USD } in cents.
/admin/accounts/:id/cash-inCredits balance. Body: { amountCents, currency, idempotencyKey }.
/admin/accounts/:id/cash-outDebits balance. Body: { amountCents, currency, idempotencyKey }.
/admin/accounts/:id/exchangeConverts between balances. Body: { fromCurrency, toCurrency, amountCents }.
Cards
/admin/cardsLists cards, with currency 'ARS'|'USD' and mode 'free'|'scoped'.
/admin/cardsIssues cards. Without accountId it creates account + 2 cards (ARS and USD).
/admin/cards/:id/modeChanges the mode. Body: { mode: 'free'|'scoped' }.
Grants
/admin/permissionsLists grants. Filter with ?cardId=.
/admin/permissionsCreates a grant. Body: { cardId, merchant, maxAmountCents, ttlSeconds }.
/admin/permissions/:id/cancelCancels an active grant.
Authorizations
/admin/authorizations/simulateSimulates a purchase. Body: { cardId, merchant, amountCents } → { status, reason }.
/admin/authorizationsLists transactions (authorizations).
Example: simulate an authorization
$ curl -X POST https://cardia-api.emipanelli.com/admin/authorizations/simulate \
-H "x-admin-token: $CARDIA_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "cardId": "card_01", "merchant": "Jumbo", "amountCents": 1200000 }'
{
"status": "APPROVED",
"reason": "active grant · Jumbo · ≤ $50,000"
}
Ready to give your agent a card?
Join the waitlist and try the authorizer live in the demo.