cURL
curl --request POST \ --url https://api.lyceum.technology/api/v2/external/voucher/redeem \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "voucher_id": "<string>" } '
{ "success": true, "credits_applied": 123, "error": "<string>" }
Redeem a voucher and add credits to user’s account.
Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.
lk_
Successful Response