Create a debit card
POST/cards/debit
This endpoint creates a new debit card for a customer. To create a credit card, a Card Program ID is required, which will be provided to you by your Customer Success Manager.
This endpoint:
- Creates a new card and associates it with a customer
- Allows selection of the card type (i.e. virtual or physical)
- Sets the card as a primary or supplementary card type
- Establishes the card profile.
Request
- application/json
Body
required
Debit card creation data
The ID of the customer for whom the card is being created
The ID of the card program to use
Whether the card is virtual or physical. Virtual cards are automatically activated upon creation, while physical cards are created in a blocked state and need to be activated separately when received by the user.
Whether this is the primary card for the user
ID of existing collateral wallet to use (optional)
The wallet ID for debit cards
ID of the credit line to link this credit card to (required for credit cards)
profile
object
First name of the cardholder
Last name of the cardholder
Date of birth in ISO format (YYYY-MM-DD)
Street address line 1 of the cardholder
Street address line 2 of the cardholder
City and country of the cardholder
State or region of the cardholder
ZIP/Postal code of the cardholder
Country code of the cardholder
Cell phone number of the cardholder
Email of the cardholder
Occupation of the cardholder
Name to be printed on the card
Responses
- 201
- 400
- 403
- 404
The debit card was successfully created.
- application/json
- Schema
- Example (from schema)
Schema
data
object
The ID of the created card
The system card reference number
Possible values: [ACTIVE
, BLOCKED
, SUSPENDED
, CANCELLED
]
The status of the card
The Wallet Id associated to the Card
{
"traceId": "string",
"message": "string",
"data": {
"id": "string",
"referenceNumber": "string",
"status": "ACTIVE",
"walletId": "string"
}
}
Invalid request payload. This can happen if required fields are missing or have invalid formats.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
The API key is invalid or the client does not have sufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
One of the specified resources was not found. Does not apply for empty result set.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}