The Payment Voucher resource represents a voucher that has been created for a customer to initiate voucher-based payment. This resource contains relevant details such as the voucher URL, the amount of the voucher, the status of the voucher, and more. Currently, the only supported voucher-based payment source is Boleto. Boleto is a payment method in Brazil that is regulated by the Central Bank of Brazil and is considered an official form of payment. This is also a popular voucher-based payment method in Brazil.
Note: This resource can be extended in the future to support other types of payment sources for vouchers.
Sample Payment voucherJSON
API Index URL
Payment vouchers attributes
Timestamp indicating when the Voucher will expire if left unconsumed.
Current status of the payment voucher.
Active and ready to be consumed
Consumed for a transaction and cannot be used again
Expired before consumed and cannot be used again
Failed to create the voucher due to gateway rejection
Identifier of the subscription for which this payment voucher is made.
Identifier of the payment source for which this payment voucher is created
The gateway through which this payment voucher was created.
Note:
Note: Currently, stripe
is the only supported gateway through which you can create the payment voucher.
Chargebee test gateway.
Chargebee Payments gateway
Adyen is a payment gateway.
Stripe is a payment gateway.
WePay is a payment gateway.
Error message received from the payment gateway on failure.
Version number of this resource. The resource_version
is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
Timestamp indicating when this voucher was last updated.