Verify a gift
Use this endpoint to verify whether a gift code provided by the user is valid. The gift code has to be verified before a gift is redeemed.
get/gifts/verification/{code}
Request
- Base URLhttps://mediastoreapi-sandbox.cleeng.com
- URLhttps://mediastoreapi-sandbox.cleeng.com/gifts/verification/{code}
- AuthAPI key in header Authorization
Path parameters
codestring required
A gift code. Min length: 9, max length: 9. Example: 1A2B-3C4D.
Response
200
Example response
{
"responseData": {
"redeemable": true,
"redeemMode": "EXTEND",
"extendedSubscriptionId": 123456789,
"offerId": "S123123123_PL"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.