Description
Verify point redemption using a brand’s security code.
A brand’s security code can be found in Mulah’s brand dashboard or by asking an admin.
Parameters
Parameter | Type | Value | Required |
operation_name | String | verifyPointRedemptionSecurity | true |
variables | JSON | $JSON_OBJECT | true |
$JSON_OBJECT Structure
Key | Type | Value | Required |
brandId | String | $SHARED_BRAND_ID | true |
redemptionId | String | $REDEMPTION_ID | true |
code | Int | $CODE | true |
Tip: $REDEMPTION_ID can be found via Redeem Point Promotion
Tip: $SHARED_BRAND_ID can be obtained via Accessible Brands
Example
Request
curl \
-X POST \
-H "Content-Type: application/json" \
-H "Token: $TOKEN" \
-d '{
"operation_name": "verifyPointRedemptionSecurity",
"variables": {
"brandId": $SHARED_BRAND_ID,
"redemptionId": $TEST_REDEMPTION_ID,
"code": $TEST_CODE
}
}' \
https://mulahpoints.com/third_party
Response
{
"data": {
"thirdPartyVerifyPointRedemptionSecurity": {
"result": $SUCCESS_MESSAGE,
"cost": $COST,
"monetoryCost": $MONETORY_COST,
"transactionNumber": $TRANSACTION_NUMBER,
"errors": [
{message: $ERROR_MESSAGE}
]
}
},
"errors": []
}