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
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/client/v1/validations
- Auth
- API key in header X-Client-Application-Id and API key in header X-Client-Token
- or OAuth 2Implicit: https://api.voucherify.io/v1/oauth/tokenScopes: client_api, client_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.
Changes
No recorded changes to this operation across all 1 revision of this API.