Issue Voucher
{% raw %}
/v3/voucher-batch/{batchkey}/issueMethod : POST
Url : https://open.revenuemonster.my/v3/voucher-batch/EhQKCE1lcmNoYW50EJXVzd3wraqTORIYCgxWb3VjaGVyQmF0Y2gQkvnGweaB2uQg/issue
Sandbox Url : https://sb-open.revenuemonster.my/v3/voucher-batch/EhQKCE1lcmNoYW50EJXVzd3wraqTORIYCgxWb3VjaGVyQmF0Y2gQkvnGweaB2uQg/issue
To issue vouchers for customer.
Request Parameters
The URL is consists of [base_URL]/v3/voucher-batch/[batchkey]/issue.
[base_URL] is the base URL depending on your environment (Sandbox or production)
[batchkey] can be retrieved by viewing at merchant portal or using endpoint
Get voucher By BatchesPass an empty JSON object Example:
{}
Response Parameters
Voucher object
Example: (Refer to explanation below)
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"
Voucher object (item):
Voucher Code, members can keep this code for future redemption. Same as the qrURL below except this code is not a URL.
Example: "NAklEfbVdV"
QR code for user to scan with Wechat or Facebook to add the voucher into their member account.
Example: QR Url link (refer to below code)
{% endraw %}