Used before a transaction to verify the card is active and display the subscriber’s name for confirmation.
Request
Body Parameters
Optional PIN to verify ownership immediately
Response
Is card valid and active?
Masked name (e.g., “John D.”)
Card status (ACTIVE, BLOCKED)
Whether PIN is required (always true for POS)
Examples
curl -X POST "https://olive-gateway-a6ba.onrender.com/api/v1/pos/verify-card" \
-H "Authorization: Bearer olive_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"card_serial": "OLIV0001"
}'
{
"valid": true,
"subscriber_name": "John D.",
"status": "ACTIVE",
"card_type": "PARENT",
"requires_pin": true
}
Use Cases
Pre-Auth
Check card before entering amount
Identity
Verify card holder name matches id
Errors
| Status | Code | Description |
|---|
| 404 | CARD_NOT_FOUND | Card does not exist |
| 403 | CARD_BLOCKED | Card has been blocked |
| 500 | INTERNAL_ERROR | Server error |