Retrieves vouchers for an invoice in reverse chronological order.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/invoices/{invoice-id}/payment_vouchers
Input Parameters
optional, string filter
Sorts based on the specified attribute. Supported attributes : date, updated_at
Supported sort-orders : asc, desc
Example → sort_by[asc] = "date"
This will sort the result based on the 'date' attribute in ascending(earliest first) order.
Filter Params
For operator usages, see the Pagination and Filtering section.
optional, enumerated string filter
Current status of Payment Voucher. Possible values are : active, consumed, expired, failure.
Supported operators : is, is_not, in, not_in, in, not_in
Example → status[is_not] = "active, consumed, expired"
Supported operators: is, is_not, in, not_in
Example →
active, consumed, expiredReturns
next_offset
optional, string, max chars=1000
This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.
Payment voucher object
Resource object representing payment_voucher