curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/api-key/verify \
--header 'Content-Type: application/json' \
--data '
{
"key": "pk_live_12345..."
}
'{
"valid": {
"valid": true,
"key": {
"id": "key_123",
"name": "My API Key"
}
},
"key": {
"id": "key_123",
"name": "My API Key"
}
}Verify an API key to check validity and metadata
curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/api-key/verify \
--header 'Content-Type: application/json' \
--data '
{
"key": "pk_live_12345..."
}
'{
"valid": {
"valid": true,
"key": {
"id": "key_123",
"name": "My API Key"
}
},
"key": {
"id": "key_123",
"name": "My API Key"
}
}The API key to verify
"pk_live_12345..."