Skip to main content
POST
Rotate card (close old, issue new with same limits)

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Headers

Idempotency-Key
string

Unique key for idempotent request handling

Path Parameters

agentId
string
required

Response

Card rotated

oldCardId
string
newCardId
string
status
string
last4
string