Unfreeze a card
curl --request PUT \
--url https://api.cartevo.co/api/v1/cards/{id}/unfreeze \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/cards/{id}/unfreeze"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cartevo.co/api/v1/cards/{id}/unfreeze', 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://api.cartevo.co/api/v1/cards/{id}/unfreeze",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
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://api.cartevo.co/api/v1/cards/{id}/unfreeze"
req, _ := http.NewRequest("PUT", 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.put("https://api.cartevo.co/api/v1/cards/{id}/unfreeze")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/cards/{id}/unfreeze")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyCards
Unfreeze Card
Reactivate a card that was previously frozen, restoring its ability to authorize transactions.
PUT
/
cards
/
{id}
/
unfreeze
Unfreeze a card
curl --request PUT \
--url https://api.cartevo.co/api/v1/cards/{id}/unfreeze \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/cards/{id}/unfreeze"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cartevo.co/api/v1/cards/{id}/unfreeze', 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://api.cartevo.co/api/v1/cards/{id}/unfreeze",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
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://api.cartevo.co/api/v1/cards/{id}/unfreeze"
req, _ := http.NewRequest("PUT", 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.put("https://api.cartevo.co/api/v1/cards/{id}/unfreeze")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/cards/{id}/unfreeze")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyOverview
PUT /cards/{id}/unfreeze reactivates a card that was previously frozen via PUT /cards/{id}/freeze. The card’s balance is unchanged; it can authorize transactions again immediately on success.
This action cannot unfreeze a card that has been TERMINATED — termination is permanent.
When to use it
- The investigation that led you to freeze the card has cleared.
- The cardholder has returned from leave and needs the card again.
Prerequisites
- The card must belong to your company.
- Card status must be
FROZEN(notACTIVE,TERMINATED, etc.).
Request
Headers
| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path parameters
| Name | Type | Description |
|---|---|---|
id | string | Card ID (UUID). |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
unlock | boolean | false | If true, also undo the deeper “lock” applied with PUT /cards/{id}/freeze?lock=true. Set this only if you previously locked the card. |
Body
None.Response
200 — Success
{
"success": true,
"statusCode": 200,
"message": "Card unfrozen successfully",
"data": {
"card_id": "550e8400-e29b-41d4-a716-446655440000",
"card_status": "ACTIVE"
}
}
Error responses
| Status | message example | Trigger |
|---|---|---|
400 | "Card not frozen" | Card status is not FROZEN. |
400 | "Card terminated" | Card is TERMINATED and cannot be reactivated. |
404 | "Card not found" | id is invalid or belongs to another company. |
Webhooks fired
None today. Card status changes toACTIVE immediately.
Code examples
cURL
curl -X PUT https://api.cartevo.co/api/v1/cards/550e8400-e29b-41d4-a716-446655440000/unfreeze \
-H "Authorization: Bearer $TOKEN"
Node.js (axios)
await axios.put(
`https://api.cartevo.co/api/v1/cards/${cardId}/unfreeze`,
null,
{ headers: { Authorization: `Bearer ${token}` } }
);
Related
PUT /cards/{id}/freeze— the reverse action.POST /cards/{id}/terminate— permanent disable (not reversible by unfreeze).