OTP
This Endpoint is specific for accounts which requires OTP to proceed with some specific operations (i.e. Redeem Transaction Endpoint)
Last updated
This Endpoint is specific for accounts which requires OTP to proceed with some specific operations (i.e. Redeem Transaction Endpoint)
Last updated
To use this endpoint, you need to make sure that your account has OTP configuration enabled. In addition to the OTP configuration, you need to make sure that your SMS configurations are set and enabled.
Upon enabling this endpoint, some endpoints may require additional parameter (otp) in order to validate the payload sent.
mobile
or email
should be sent along with the playerUniqueId
in case (only if) your account supports channel merging.
Attribute | Type | Required | Description |
---|---|---|---|
Attribute | Type | Required | Description |
---|---|---|---|
Sample Response
The example shown is a request sent to Gameball to generate an OTP to your customer as per your SMS configurations.
APIKey
string
Yes
Client API key
secretKey
string
Yes
Client Secret key
playerUniqueId
string
Yes
Unique identifier for the customer in your database.
mobile
string
No
Customer's unique mobile number. (Sent in case your account supports channel merging)
email
string
No
Customer's unique email. (Sent in case your account supports channel merging)
amount
number
No
Monetary value in your system currency to be redeemed.
Note: - Amount must be positive. - If this field is set, then the the other fields value should be null. Also, all fields couldn't be null.
points
number
No
Points to be held from the customer points balance on Gameball.
Note: - Points must be positive. - If this field is set, then the the other fields value should be null. Also, all fields couldn't be null.
ruleId
number
No
Redemption rule to be held from the customer points balance on Gameball.
Note: - If this field is set, then the the other fields value should be null. Also, all fields couldn't be null.