This API enables customers to redeem loyalty points as a payment method in Gameball, allowing them to use points in place of monetary value during transactions. By providing details such as customerId and amount, this endpoint facilitates point-based redemptions within the purchase process.
post/api/v4.0/integrations/transactions/redeem
Request body
Example request
{
"customerId": "cust_12345abc",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"transactionId": "txn98765",
"transactionTime": "2024-10-11T10:57:43.382Z",
"amount": 10,
"hash": "HASH1234",
"otp": "123456",
"reason": "Discount on order #12345"
}Response
Points redeemed successfully
Example response
{
"customerId": "cust_12345abc",
"gameballTransactionId": "11034734",
"transactionId": "txn98765",
"redeemAmount": 10,
"redeemEquivalentPoints": 100,
"reason": "Discount on order #12345"
}