Client-side
Validate Stackable Discounts (client-side)
Verify redeemables provided in the request. This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications.
post/client/v1/validations
Headers
originstring hostname required
Indicates the origin (scheme, hostname, and port).
Request body
Example request
{
"redeemables": [
{
"reward": {
"id": "rew_EPx1hCTpqzF0HW1z9NKckZH4"
}
}
]
}Response
Depending on your project settings: all redeemables must be valid or just one must be valid to result as valid validation. Read more in the Stacking Rule Documentation.