PATCH https://mybundlepay.com/ng/api/v1/cards/{card_id}/unfreeze

KEY USAGE POLICY

Important: Always begin testing with your test_secret_key. This simulates requests without modifying live cards.

  • Use test_secret_key for sandbox calls.
  • Switch to secret_key (Live Key) only when ready for production.
  • test_secret_key returns simulated responses and does not affect live cards.
  • secret_key will unfreeze actual issued cards.

⚠️ Going live without testing may cause failed transactions or blocked access.

HEADERS

Authorization * string

Pass your {secret_key} as a Bearer token.

Accept * application/json

All requests must be sent in JSON format.

PATH PARAMS

The ID of the virtual card to be unfrozen (UUID generated when card is issued).


<?php
$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_URL => "https://mybundlepay.com/ng/api/v1/cards/{card_id}/unfreeze",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "PATCH",
    CURLOPT_HTTPHEADER => array(
        "Accept: application/json",
        "Authorization: Bearer {secret_key}"
    ),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>

const axios = require('axios');

axios.patch("https://mybundlepay.com/ng/api/v1/cards/{card_id}/unfreeze", {}, {
  headers: {
    "Accept": "application/json",
    "Authorization": "Bearer {secret_key}"
  }
}).then(res => {
  console.log(res.data);
}).catch(err => {
  console.error(err.response ? err.response.data : err.message);
});

curl -X PATCH "https://mybundlepay.com/ng/api/v1/cards/{card_id}/unfreeze" \
-H "Accept: application/json" \
-H "Authorization: Bearer {secret_key}"
Success Response

{
  "status": "success",
  "message": "Card successfully enabled",
  "data": {
    "status": true,
    "message": "Successfully enabled card"
  }
}
Common Error Responses

Invalid Token401


{
  "status": "failed",
  "message": "Invalid secret key provided."
}

IP Not Allowed403


{
  "status": "failed",
  "code": "IP_NOT_ALLOWED",
  "message": "Your IP is not authorized for API access.",
  "ip": "192.168.1.100"
}

Card Not Found404


{
  "status": "failed",
  "message": "Card id does not exist"
}

Server Error500


{
  "status": "failed",
  "message": "An error occurred while unfreezing the card",
  "error": "Internal Server Error"
}