Create a debit card
POST/cards/debit
Creates a new debit card for a customer. This endpoint:
- Sets up debit card configuration
- Associates the card with a customer
- Initializes card status
- Links to the customer's wallet
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)
Address of the cardholder
City of the cardholder
State code of the cardholder
Postal code of the cardholder
Country 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 reference number of the card in i2c
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"
}