Create a debit card
POST/v1/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
The wallet ID for the debit card
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
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"
}