The Voucher API allows our clients to create and confirm requisitions to purchase vouchers from the registered merchants.
What is a voucher?
The vouchers offered by this API are commonly called gift cards (virtual codes).
To purchase a voucher you must follow the step-by-step below:
1) List all merchants available.
2) Request a voucher purchase for a specific merchant. The API will return an identification code for the voucher purchase order (
orderId) and the amount options provided by the specific merchant that can be purchased.
As soon as the request is completed, the
orderIdbegins a countdown to expire within 5 minutes. If the request expires, the
orderIdwill become unavailable.
3) Choose the amount based on the available options and confirm the voucher purchase order according to the
orderId, both returned in the step 2.
4) It is also possible to list receipts of all voucher purchases done by an account and filter the results.
To see the technical resources about this product, you can access our technical documentation by clicking here.
Updated 9 months ago