Lookup card information
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pos/lookup-card \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"card_identifier": "CARD0001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({card_identifier: 'CARD0001'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pos/lookup-card', 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/pos/lookup-card"
payload = { "card_identifier": "CARD0001" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}POS
Lookup card information
Get card ownership and balance by serial number or MAC address (with or without colons)
POST
/
pos
/
lookup-card
Lookup card information
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pos/lookup-card \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"card_identifier": "CARD0001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({card_identifier: 'CARD0001'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pos/lookup-card', 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/pos/lookup-card"
payload = { "card_identifier": "CARD0001" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Card lookup details
Supports any alphanumeric: CARD0001, 48290173K, etc.
Example:
"CARD0001"
Response
Card information retrieved
The response is of type object.
⌘I