Block card
curl --request POST \
--url https://sg.sandbox.api.reap.global/cards/{id}/block \
--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}/block', 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}/block"
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": {}
}
}Cards
Block card
Blocks a card. A block is the hard stop - a compromised card, a dispute, an account on hold - while freeze is the soft toggle a cardholder flips. A blocked card declines everything: online, in-store, and ATM. Blocking a frozen card keeps the freeze, so the card returns to FROZEN when the block lifts. Idempotent, and a block placed by Reap is never replaced: if the card already carries a block with blockLiftable: false, that reason stays and the card remains one only Reap support can unblock.
POST
/
cards
/
{id}
/
block
Block card
curl --request POST \
--url https://sg.sandbox.api.reap.global/cards/{id}/block \
--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}/block', 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}/block"
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": {}
}
}Required scope: CARDS_LOCK
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"