Configuring Vouchers
You use the fields outlined in the following table to model vouchers.
Field | Description |
---|---|
voucher_type | Specify cash-equivalent to ensure the value is deducted from the total. |
voucher_amount | The total value of the voucher. |
voucher_description | A description. |
voucher_applied_amount | A voucher amount that has been applied. It may not been fully applied if its amount was higher than the total transaction amount. |
voucher_remaining_amount | A voucher amount that has not been applied. Voucher may not been fully applied if its amount was higher than the total transaction amount. |
For example:
{
"voucher_type":"cash-equivalent"
"voucher_code":"ABC_1234"
"voucher_description":"Example 1"
"voucher_amount":50
"voucher_applied_amount":1
"voucher_remaining_amount":0
}
]
Updated over 1 year ago