Cards
POST/v1/cards
Create card
curl -X POST "https://api.52-28-238-205.sslip.io/v1/cards" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"agent_id":"agt_01jd2x3k4m5n6p7q8r9s0t1v2w"}'Issues a virtual card in the card sandbox for one agent, with an optional spend limit, auto-approve amount and merchant categories (amounts in cents). Requires card:manage.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/cardsBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
Requires permissioncard:manage
Held by
owner, admin, finance. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
agent_id*Agent IdAgent id (agt_...).
spend_limit_cents?|Card spend limit in US cents.
auto_approve_cents?|Card amount in US cents up to which authorizations are approved without a person.
merchant_categories?array<string>|nullSuccess.
application/json- response
card*[key: string]?any