Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 917 Bytes

VouchersBalanceUpdateRequestBody.md

File metadata and controls

16 lines (8 loc) · 917 Bytes

VouchersBalanceUpdateRequestBody

Request body schema for vouchers/{code}/balance.

Properties

Name Type Description Notes
amount Integer The incremental amount to be added to or removed from the current balance on the gift card or loyalty card. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 amount is written as 10000. To remove balance, simply add a minus sign before the value, i.e. to remove $20, use -2000.
sourceId String The merchant’s transaction ID if it is different from the Voucherify transaction ID. It is really useful in case of an integration between multiple systems. It can be a transaction ID from a CRM system, database or 3rd-party service. [optional]
reason String Reason why the transaction occurred. [optional]