CSQ Docs
  1. Prepaid
CSQ Docs
eVSB
  • eVSB
  • Overview
  • Headers
  • Methods
  • Error Codes
  • Test connection
    • ping echo
      GET
    • ping
      GET
  • Utils
    • Balances
      GET
    • Prices Direct
      GET
    • Prices Reverse
      GET
  • Prepaid
    • Recharge
      • Get Products
      • Purchase
    • Vouchers
      • Get Products
      • Vouchers Purchase
      • Voucher Additional Data
      • Get Finished Vouchers
    • Supermarket vouchers
      • Supermarket Vouchers Purchase
  • Postpaid
    • Billpayment
      • Get Parameters
      • Get Invoices
      • Payment
  1. Prepaid

Vouchers

General description#

This method allows launching the purchase order for gift cards, vouchers, and products selected in this category.
It returns the provider's response and a result code with a value of 10 if the purchase has been completed successfully, along with additional purchase information necessary for the redemption/consumption of the product by the final customer. It returns another code if it fails.

General workflow#

1
Purchase
Vouchers Purchase

Dynamic workflow#

1
Get vouchers
Get vouchers
2
Purchase
Vouchers Purchase
3
Get additional data
Only when purchase result has "hasAdditionalData" to true.
Voucher additional data
4
Finished vouchers
Calling when you have an endDate on the additionalData.
For example, on raffles.
Get finished vouchers
Previous
Purchase
Next
Get Products
Built with