POST
/
institutions
/
cards
Create Card
curl --request POST \
  --url https://sandbox-api.cardcore.cloud/institutions/cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardProgram": "{{cardProgramId}}",
  "referenceCode": "CARD123456",
  "pinEnabled": true,
  "defaultPIN": {
    "encryptedData": "7f8d92h3k4j5l6",
    "publicKeyFingerprint": "a884d7744252e1ec674983a91e6"
  },
  "account": {
    "currency": "NGN",
    "type": "default",
    "number": "1234567890"
  },
  "customer": {
    "firstName": "John",
    "middleName": "Robert",
    "lastName": "Doe",
    "emailAddress": "[email protected]",
    "phoneNumber": "+2341234567890",
    "honorific": "Mr",
    "gender": "M",
    "dateOfBirth": "1990-01-01T00:00:00.000Z",
    "address": {
      "line1": "123 Main Street",
      "line2": "Apt 4B",
      "city": "Lagos",
      "state": "Lagos",
      "country": "Nigeria",
      "postalCode": "100001"
    }
  }
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cardProgram
string
required
referenceCode
string
required
pinEnabled
boolean
required
defaultPIN
object
required
account
object
required
customer
object
required

Response

201 - application/json

Create Card completed successfully.

The response is of type object.