Unblock a card
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pin: '1234'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock"
payload = { "pin": "1234" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}Cards
Unblock a card
Unblock a previously blocked NFC card
POST
/
cards
/
{serial}
/
unblock
Unblock a card
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pin: '1234'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/cards/{serial}/unblock"
payload = { "pin": "1234" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}Authorizations
ApiKeyAuthBearerAuth
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Path Parameters
Card Serial Number
Body
application/json
PIN for non-admin users
Example:
"1234"
Response
Card unblocked
The response is of type object.
⌘I