Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Body
Card to issue
A virtual card
The ID of the account to which the card will be linked
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The card product to which the card is attached
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The type of the card program and BIN
DEBIT
, PREPAID
PHYSICAL or VIRTUAL.
PHYSICAL
, VIRTUAL
The business ID associated with this card. If no customer_id is supplied, a card can still be issued to a business, but cannot be activated or used until a customer is assigned via the PATCH /cards/{card_id} endpoint.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The ID of the customer to whom the card will be issued. If a business_id is passed, but a customer_id not passed at the time of card creation the card cannot be activated or used for spend until it's assigned to a human customer via the PATCH /cards/{card_id} endpoint. If no business_id is passed, a customer_id is required.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The customer details to emboss on the card - Defaults to customer first and last name. Is limited to 21 characters. Valid characters are A-Z, a-z, 0-9, space ( ), period (.), comma (,), forward slash (/), hyphen (-), ampersand (&), single quote (').
Additional data to include in the request structured as key-value pairs
This is the reason the card needs to be reissued, if any. The reason determines several behaviours:
- whether or not the new card will use the same PAN as the original card
- the old card will be terminated and if so, when it will be terminated
Reason | Same PAN | Terminate Old Card |
---|---|---|
EXPIRATION | yes | on activation |
LOST | no | immediately |
STOLEN | no | immediately |
DAMAGED | yes | on activation |
VIRTUAL_TO_PHYSICAL(*) | yes | on activation |
PRODUCT_CHANGE | yes | on activation |
NAME_CHANGE(**) | yes | on activation |
APPEARANCE | yes | on activation |
(*) VIRTUAL_TO_PHYSICAL is deprecated. Please use PRODUCT_CHANGE whenever reissuing from one card product to another, including from a virtual product to a physical product.
(**) NAME_CHANGE is deprecated. Please use APPEARANCE whenever reissuing in order to change the appearance of a card, such as the printed name or custom image.
For all reasons, the new card will use the same PIN as the original card and digital wallet tokens will reassigned to the new card
APPEARANCE
, DAMAGED
, EXPIRATION
, LOST
, NAME_CHANGE
, PRODUCT_CHANGE
, STOLEN
, VIRTUAL_TO_PHYSICAL
When reissuing a card, specify the card to be replaced here. When getting a card's details, if this card was issued as a reissuance of another card, this ID refers to the card was replaced. If this field is set, then reissue_reason must also be set.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Response
Card issued
A virtual card The status of the card
The brand of a card product
MASTERCARD
, VISA
The id of the tenant containing the resource. This is relevant for Fintechs that have multiple workspaces.
"abcdef_ghijkl"
The status indicating the card lifecycle state
ACTIVE
, IMAGE_PENDING
, IMAGE_REJECTED
, PENDING
, REJECTED
, SUSPENDED
, TERMINATED
, UNACTIVATED
The reason for the card status
Code | Description |
---|---|
NEW | Card activated |
REQ | Requested by you |
INA | Dormant |
UNK | Invalid shipping address |
NEG | Negative account balance |
REV | Account under review |
SUS | Suspicious activity |
OUT | Activity outside program parameters |
FRD | Confirmed fraud |
MAT | Matched with an OFAC list |
LOS | Card reported lost |
CLO | Card was cloned |
COM | Account or card was compromised |
TMP | Awaiting customer confirmation |
PRC | Initiated by Processor |
ISS | Initiated by Issuer |
EXP | Card expired |
KYC | Failed KYC |
INF | Information was validated |
ACT | Account activity was validated |
AUX | Initiated by a third party |
PIN | PIN try limit reached |
STO | Card reported stolen |
ADD | Address issue |
NAM | Name issue |
SSN | SSN issue |
DOB | DOB issue |
EML | Email issue |
PHO | Phone issue |
FUL | Account/fulfillment mismatch |
OTH | Other |
ACT
, ADD
, AUX
, CLO
, COM
, DOB
, EML
, EXP
, FRD
, FUL
, INA
, INF
, ISS
, KYC
, LOS
, MAT
, NAM
, NEG
, NEW
, OTH
, OUT
, PHO
, PIN
, PRC
, REQ
, REV
, SSN
, STO
, SUS
, TMP
, UNK
The ID of the account to which the card will be linked
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The card product to which the card is attached
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The timestamp representing when the card issuance request was made
"2010-05-06T12:23:34.321Z"
The customer details to emboss on the card - Defaults to customer first and last name. Is limited to 21 characters. Valid characters are A-Z, a-z, 0-9, space ( ), period (.), comma (,), forward slash (/), hyphen (-), ampersand (&), single quote (').
"06"
"25"
Card ID
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The last 4 digits of the card PAN
"1234"
The type of the card program and BIN
DEBIT
, PREPAID
PHYSICAL or VIRTUAL.
PHYSICAL
, VIRTUAL
The bin number
Additional details about the reason for the status change
255
reasons why the card status is PENDING
The business ID associated with this card. If no customer_id is supplied, a card can still be issued to a business, but cannot be activated or used until a customer is assigned via the PATCH /cards/{card_id} endpoint.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The ID of the customer to whom the card will be issued. If a business_id is passed, but a customer_id not passed at the time of card creation the card cannot be activated or used for spend until it's assigned to a human customer via the PATCH /cards/{card_id} endpoint. If no business_id is passed, a customer_id is required.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The timestamp representing when the card would expire at
"2010-05-06T12:23:34.321Z"
indicates whether a pin has been set on the card
true
The timestamp representing when the card was last modified at
"2010-05-06T12:23:34.321Z"
Additional data to include in the request structured as key-value pairs
This is the reason the card needs to be reissued, if any. The reason determines several behaviours:
- whether or not the new card will use the same PAN as the original card
- the old card will be terminated and if so, when it will be terminated
Reason | Same PAN | Terminate Old Card |
---|---|---|
EXPIRATION | yes | on activation |
LOST | no | immediately |
STOLEN | no | immediately |
DAMAGED | yes | on activation |
VIRTUAL_TO_PHYSICAL(*) | yes | on activation |
PRODUCT_CHANGE | yes | on activation |
NAME_CHANGE(**) | yes | on activation |
APPEARANCE | yes | on activation |
(*) VIRTUAL_TO_PHYSICAL is deprecated. Please use PRODUCT_CHANGE whenever reissuing from one card product to another, including from a virtual product to a physical product.
(**) NAME_CHANGE is deprecated. Please use APPEARANCE whenever reissuing in order to change the appearance of a card, such as the printed name or custom image.
For all reasons, the new card will use the same PIN as the original card and digital wallet tokens will reassigned to the new card
APPEARANCE
, DAMAGED
, EXPIRATION
, LOST
, NAME_CHANGE
, PRODUCT_CHANGE
, STOLEN
, VIRTUAL_TO_PHYSICAL
When reissuing a card, specify the card to be replaced here. When getting a card's details, if this card was issued as a reissuance of another card, this ID refers to the card was replaced. If this field is set, then reissue_reason must also be set.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
If this card was reissued, this ID refers to the card that replaced it.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Time when the PIN was last set or changed.
"2010-05-06T12:23:34.321Z"