Transaction Validation
Generate one-time passwords (OTPs) to securely validate redemption transactions. Ensure safe and authorized point redemptions through OTP verification.
Last updated
Generate one-time passwords (OTPs) to securely validate redemption transactions. Ensure safe and authorized point redemptions through OTP verification.
Last updated
Available APIs
The API call generates a new one-time password (OTP) for redeeming or holding loyalty points and sends it via SMS. This service ensuring that only authorized transactions can be completed with the provided OTP.
Security: Requires apikey and secretkey headers.
application/json
customerId string
Required
Unique identifier for the customer that you can reference across the customer’s whole lifetime. Could be a database ID, random string, email, or anything that uniquely identifies the customer.
email string
Optional
Customer's email address.
Note: This is required if your account uses email-based channel merging.
mobile string
Optional
Customer's mobile number.
Note: This is required if your account uses mobile-based channel merging.
amount float
Optional
The monetary value associated with the redemption or hold operation for which the OTP is being generated. This allows you to secure specific financial transactions by tying the OTP to an exact amount.
Note: Only one of
ruleId
,points
, oramount
must be provided for the OTP request to proceed.
points integer
Optional
The number of loyalty points for which the OTP is being generated. This allows the customer to redeem or hold a specific quantity of points, adding an extra layer of security to the transaction.
Note: Only one of
ruleId
,points
, oramount
must be provided for the OTP request to proceed.
ruleId integer
Optional
The ID of a redemption rule configured within Gameball’s system that the customer wants to use. Clients can create custom redemption rules through the Gameball dashboard to specify different redemption options. For example, a redemption rule may allow points to be redeemed for a free product, free shipping, percentage-based discounts, or fixed-amount discounts.
Note: Only one of
ruleId
,points
, oramount
must be provided for the OTP request to proceed.
You can retrieve your configured redemption rules and their associated IDs by using the .