Skip to main content
POST
Cancel a card

Authorizations

Authorization
string
header
required

A Dueflow access token: dfp_ (personal) or dfs_ (service). Permissions are the token's scopes intersected with the role ceiling, re-evaluated per request.

Headers

Idempotency-Key
string
required

A unique key per logical operation, e.g. a UUID. Retrying with the same key replays the original response instead of repeating the write; reusing it with different parameters is a 409.

Maximum string length: 255

Path Parameters

cardId
string
required

Body

application/json

The body is of type object.

Response

Success

id
string
required
name
string | null
required
status
enum<string> | null
required
Available options:
active,
frozen,
canceled,
invited,
denied
last4
string | null
required
spendLimit
string | null
required
spendLimitFrequency
enum<string> | null
required
Available options:
daily,
weekly,
monthly,
one_time
transactionLimit
string | null
required
assignedMemberId
string | null
required
invitedAt
string<date-time> | null
required
activatedAt
string<date-time> | null
required
canceledAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required