This page's content:
The voucher card transaction is very similar to the Direct operation. But some fields are requireds like
In this page we will see some examples to create a payment with voucher card and the difference between Direct operation.
The accepted brands are Alelo, VR and Sodexo.
Below we will show the differences in relation to direct operation.
A JSON object that represents the payment.
The amount in the specified currency (currency_code). E.g.: 100.50. The payment.amount_total shoud be exactly the same value with the sum of all the payment.items JSON array.
Should be voucher
Voucher card number.
Voucher card cardholder name.
Voucher card due date (“valid thru”) in the format mm/yyyy.
Voucher card security code.
If a previously created token is informed, no card information is needed. EBANX will identify the card associated with the token and perform the transaction.
An array of objects containing the items of the order
SKU of the item
Name of the item
Description of the item
Price of the unity of the item
Quantity of each item
Type of the item
- Instalment shold be 1;
- No split is supported with voucher;
- Only for individuals person type (CPF only);
- Before all transactions, you need call setCVV operation;
- Refund is only available over API on the same day the payment was created.