POST

Issue Card

Issue a new physical or virtual debit card.

POST/v2/cards/issue

Body Parameters

ParameterTypeRequiredDescription
account_numberstringYESThe linked account.
card_typestringYESPHYSICAL or VIRTUAL.
name_on_cardstringYESThe 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"} }