Activate Card
curl --request GET \
--url https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Card activated successfully",
"data": {
"_id": "69ea20ac1fe2f195c820d600",
"institution": "68da3e6080b90fbbb96716c9",
"cardProgram": "68da531880b90fbbb9671b38",
"referenceCode": "CARD123456",
"scheme": "Mastercard",
"type": "virtual",
"bin": "0902322423",
"expiryMonth": "04",
"expiryYear": 2026,
"pinEnabled": true,
"seqNumber": "121212",
"enroll2FA": false,
"status": "active",
"expiryDate": "2026-04-25T00:00:00.000Z",
"account": {
"currency": "NGN",
"type": "00",
"number": "1234567890",
"bankCode": "999241"
},
"customer": {
"uniqueId": "9992411234567890",
"firstName": "John",
"middleName": "Robert",
"lastName": "Doe",
"emailAddress": "john.doe@example.com",
"phoneNumber": "+2341234567890",
"dateOfBirth": "1990-01-01T00:00:00.000Z",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Lagos",
"state": "Lagos",
"country": "Nigeria",
"postalCode": "100001"
}
},
"cardHolderId": "sandbox-cardholder-7238a6b4-ffc7-4c09-ab2d-a00b9fd1839a",
"lastFour": "2330",
"pan": "090232sM2330",
"cvv2": "tok_dev_UzI8fDeYoJmXKLzqp6YGv6",
"icvv": "tok_dev_MdnvL2CQPk9mvSxsk1Pw7M",
"serviceCode": "601",
"printCard": false,
"token": "<sandbox-token>",
"cvv": "tok_dev_hCFfe6X4BwbHJHFs2hq71D",
"allowDigitization": true,
"embossingName": "Abubakar street Umar",
"twoFAEnrolled": false,
"pinAttempts": 0,
"honorific": "",
"gender": "",
"createdAt": "2026-04-23T13:37:48.859Z",
"updatedAt": "2026-04-23T13:41:25.567Z",
"hash": "7307208218A127E8E928285CAC663D1B56740F1B",
"secureData": "ZbGBfsElMKrdM+jFKBAXd2iIXuyRdoH6ODBdXtr0RKBN31BZnTGXOEQVT/Ehok/KBeyoopbbm15RLJ/q4uwBc9h7NZKZ1r7CZcst8uwQWMaPsmJfHhwgtWrdUXZtjXy1EHoHzcNXeuI4GDtnX6HWWnhfWupNHrDQ19Jkc+WHn1CczocF986kQuK+PIRy8Bv/I4qgmAwr8m7VqQOeKKYkmcVlZaIqn709y15GVaQe9vrElfw3c/mqjwylwI9D5Ef27DV7PBoMxO4Z6rvKg+lKdVT+goLpNeLK8tvtuKNGl9ePMBCPoHsVFVZvIbPdM0eV7M+IsWCMv175RTNmCuwq+A==",
"id": "69ea20ac1fe2f195c820d600"
}
}Institution Cards
Activate Card
Activate a card.
GET
/
institutions
/
cards
/
{cardId}
/
activate
Activate Card
curl --request GET \
--url https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/activate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Card activated successfully",
"data": {
"_id": "69ea20ac1fe2f195c820d600",
"institution": "68da3e6080b90fbbb96716c9",
"cardProgram": "68da531880b90fbbb9671b38",
"referenceCode": "CARD123456",
"scheme": "Mastercard",
"type": "virtual",
"bin": "0902322423",
"expiryMonth": "04",
"expiryYear": 2026,
"pinEnabled": true,
"seqNumber": "121212",
"enroll2FA": false,
"status": "active",
"expiryDate": "2026-04-25T00:00:00.000Z",
"account": {
"currency": "NGN",
"type": "00",
"number": "1234567890",
"bankCode": "999241"
},
"customer": {
"uniqueId": "9992411234567890",
"firstName": "John",
"middleName": "Robert",
"lastName": "Doe",
"emailAddress": "john.doe@example.com",
"phoneNumber": "+2341234567890",
"dateOfBirth": "1990-01-01T00:00:00.000Z",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Lagos",
"state": "Lagos",
"country": "Nigeria",
"postalCode": "100001"
}
},
"cardHolderId": "sandbox-cardholder-7238a6b4-ffc7-4c09-ab2d-a00b9fd1839a",
"lastFour": "2330",
"pan": "090232sM2330",
"cvv2": "tok_dev_UzI8fDeYoJmXKLzqp6YGv6",
"icvv": "tok_dev_MdnvL2CQPk9mvSxsk1Pw7M",
"serviceCode": "601",
"printCard": false,
"token": "<sandbox-token>",
"cvv": "tok_dev_hCFfe6X4BwbHJHFs2hq71D",
"allowDigitization": true,
"embossingName": "Abubakar street Umar",
"twoFAEnrolled": false,
"pinAttempts": 0,
"honorific": "",
"gender": "",
"createdAt": "2026-04-23T13:37:48.859Z",
"updatedAt": "2026-04-23T13:41:25.567Z",
"hash": "7307208218A127E8E928285CAC663D1B56740F1B",
"secureData": "ZbGBfsElMKrdM+jFKBAXd2iIXuyRdoH6ODBdXtr0RKBN31BZnTGXOEQVT/Ehok/KBeyoopbbm15RLJ/q4uwBc9h7NZKZ1r7CZcst8uwQWMaPsmJfHhwgtWrdUXZtjXy1EHoHzcNXeuI4GDtnX6HWWnhfWupNHrDQ19Jkc+WHn1CczocF986kQuK+PIRy8Bv/I4qgmAwr8m7VqQOeKKYkmcVlZaIqn709y15GVaQe9vrElfw3c/mqjwylwI9D5Ef27DV7PBoMxO4Z6rvKg+lKdVT+goLpNeLK8tvtuKNGl9ePMBCPoHsVFVZvIbPdM0eV7M+IsWCMv175RTNmCuwq+A==",
"id": "69ea20ac1fe2f195c820d600"
}
}