Unblock card
curl --request POST \
--url https://sg.sandbox.api.reap.global/cards/{id}/unblock \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'POST',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/cards/{id}/unblock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/cards/{id}/unblock"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "VIRTUAL",
"cardDesignId": "<string>",
"status": "ACTIVE",
"blockReason": {
"type": "CLIENT_REQUESTED",
"message": "<string>"
},
"blockLiftable": true,
"frozen": true,
"cardholderName": "<string>",
"last4": "<string>",
"3dsChallengeMethod": "SMS",
"physicalCardStatus": "NOT_ORDERED",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": {
"code": "CARD_OPERATION_NOT_ALLOWED",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_BLOCK_NOT_LIFTABLE",
"message": "<string>",
"detail": {}
}
}Cards
Unblock card
Lifts a block. Only blocks reported with blockLiftable: true can be lifted this way; the rest return 409 CARD_BLOCK_NOT_LIFTABLE and need Reap support. A card frozen before it was blocked returns to FROZEN, not ACTIVE, and a card unfrozen while blocked returns to ACTIVE. Idempotent; unblocking a card that holds no block returns it unchanged.
POST
/
cards
/
{id}
/
unblock
Unblock card
curl --request POST \
--url https://sg.sandbox.api.reap.global/cards/{id}/unblock \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'POST',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/cards/{id}/unblock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/cards/{id}/unblock"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "VIRTUAL",
"cardDesignId": "<string>",
"status": "ACTIVE",
"blockReason": {
"type": "CLIENT_REQUESTED",
"message": "<string>"
},
"blockLiftable": true,
"frozen": true,
"cardholderName": "<string>",
"last4": "<string>",
"3dsChallengeMethod": "SMS",
"physicalCardStatus": "NOT_ORDERED",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": {
"code": "CARD_OPERATION_NOT_ALLOWED",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CARD_BLOCK_NOT_LIFTABLE",
"message": "<string>",
"detail": {}
}
}Required scope: CARDS_WRITE
Headers
Response
Card resource
Physical lifecycle of the card (production + shipping + activation rollup). Defaults to NOT_ORDERED for newly created physical cards. null for virtual cards, which have no physical lifecycle.
Available options:
NOT_ORDERED, REQUESTED, IN_PRODUCTION, PRODUCTION_COMPLETED, IN_TRANSIT, OUT_FOR_DELIVERY, DELIVERED, ACTIVATED, CANCELED, DELIVERY_FAILED, EXCEPTION Example:
"NOT_ORDERED"