Skip to main content
POST
Reveal card codes

Authorizations

Authorization
string
header
required

An API key in the Authorization header, for example Authorization: Bearer rk_test_. Test keys start with rk_test; the key is shown once, when it is created or rotated.

Headers

Idempotency-Key
string
required

A client-chosen key, 1 to 255 printable ASCII characters with no spaces, that makes a retry of this request return the first response instead of running it again.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]+$

Path Parameters

id
string
required

The order's id, prefixed ord_.

Body

application/json

The cards of one order whose codes to reveal.

card_ids
string[]
required

1 to 100 distinct ids of this order's cards, each prefixed crd_. Revealing a card starts its 24-hour reveal window if it has not started.

Required array length: 1 - 100 elements

Response

The requested cards in request order, with a code and any PIN for each shown card.

The revealed cards, in the order they were asked for.

cards
object[]
required

One item per requested card id, in the order of card_ids.