Create a card out of a card order
POST/api/v1/order/:orderId/card
Card Limits: Users can have a maximum of 10 active cards (physical + virtual combined).
Active cards exclude voided, lost, and stolen cards.
The request body structure is determined by the options.setPin
boolean field.
- To set a PIN: Set
options.setPin
totrue
and provide the required cryptographic fields (encryptedKey
,encryptedPin
,iv
). - To skip setting a PIN: Set
options.setPin
tofalse
. No other fields are needed.
Request
Responses
- 200
- 401
- 404
- 422
- 500
The card was created
Not authorised
The card order was not found
Criteria not met
Unexpected error