POST
Issue Card
Issue a new physical or virtual debit card.
POST/v2/cards/issue
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_number | string | YES | The linked account. |
card_type | string | YES | PHYSICAL or VIRTUAL. |
name_on_card | string | YES | The name embossed on the card. |
Example Request
cURL
curl -X POST "https://sandbox.hexcore.io/v2/cards/issue" \-H "Authorization: Bearer sk_test_your_secret_key" \-H "Content-Type: application/json" \-d '{"account_number": "1234567890", "card_type": "VIRTUAL", "name_on_card": "JOHN DOE"}'Example Response
JSON (201 Created)
{"status": true,"message": "Card issued","data": { "card_id": "crd_0123", "pan_last4": "4444"} }