curl --request POST \
--url https://api.getsly.ai/v1/v1/mpp/receipts/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voucher_id": "<string>"
}
'{
"valid": true,
"session_id": "<string>",
"amount": "<string>",
"issued_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"reason": "<string>"
}Service-side: verify a voucher claim against the issuing session.
curl --request POST \
--url https://api.getsly.ai/v1/v1/mpp/receipts/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voucher_id": "<string>"
}
'{
"valid": true,
"session_id": "<string>",
"amount": "<string>",
"issued_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"reason": "<string>"
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).