Place points on hold before redemption to reserve them for a specific transaction.
apikey and secretkey headers.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.
"cust_abc12345xyz67890"
The time of the transaction in your system (e.g., order datetime, invoice datetime).
"2024-10-11T16:15:15.071Z"
Customer's email address. This is required if your account uses email-based channel merging.
"john.doe@example.com"
Customer's mobile number. This is required if your account uses mobile-based channel merging.
"+1234567890"
A one-time password (OTP) sent to the customer for authentication purposes. This is used only if your account has OTP configuration enabled. For more details on how the OTP is generated and validated, refer to the OTP Generation and Validation section.
"654321"
This attribute allows you to skip OTP verification when set to true. If not provided or set to false, OTP verification will be required for accounts configured to use OTP.
false
The monetary value (in the system's currency) that will be held from the customer's points balance. This allows you to reserve a specific monetary amount using the customer's points. Note: Only one of ruleId, amountToHold, or pointsToHold must be provided for the hold request to proceed.
null
The number of points to be held from the customer's points balance. This allows you to reserve a certain number of points for later use. Note: Only one of ruleId, amountToHold, or pointsToHold must be provided for the hold request to proceed.
50
The ID of a redemption rule configured within Gameball's system. 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. You can retrieve your configured redemption rules and their associated IDs by using the Redemption Configuration API. Note: Only one of ruleId, amountToHold, or pointsToHold must be provided for the hold request to proceed.
null
A unique, rotating number generated for each customer, used as an additional layer of verification during redemptions. This number changes with each transaction to ensure secure validation. For more details on how the hash is generated and validated, refer to the Customer's Hash section.
"123456"
Points placed on hold successfully
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.
"cust_abc12345xyz67890"
The monetary value that has been held from the customer's points balance. This value represents the amount reserved based on the customer's available points.
"5"
The number of points that have been held from the customer's points balance. These points are reserved for future use or specific transactions.
50
A unique identifier for the hold transaction. This reference is used to track and manage the held points for future actions, such as redeeming the held points or canceling the hold. This hold reference can also be used in Order API to redeem the held points.
"a2a199ad-86f3-45c4-8253-7aaee50e4798"