Lists all the transactions.
Note:
For better query performance, we recommend using a date filter (for example, date[after] or date[between]) when listing transactions. If you are already filtering by updated_at, you do not need to also filter by date.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
Filter Params
optional, string filter
Identifier of the customer for which this transaction is made. Supported operators : is, is_not, starts_with, is_present, in, not_in
Example → customer_id[is] = "5hjdk8nOpd"
5hjdk8nOpdoptional, string filter
Identifier of the subscription for which this transaction is made. Supported operators : is, is_not, starts_with, is_present, in, not_in
Example → subscription_id[is] = "5hjdk8nOpd"
5hjdk8nOpdoptional, string filter
To filter based on Transaction payment source id. Supported operators : is, is_not, starts_with, is_present, in, not_in
Example → payment_source_id[is] = "pm_3Nl8XXUQUXDVFa2"
pm_3Nl8XXUQUXDVFa2optional, enumerated string filter
The payment method of this transaction. Possible values are : card, cash, check, chargeback, bank_transfer, amazon_payments, paypal_express_checkout, direct_debit, alipay, alipay_hk, gcash, unionpay, apple_pay, wechat_pay, ach_credit, sepa_credit, ideal, google_pay, sofort, bancontact, giropay, dotpay, other, upi, netbanking_emandates.
Supported operators : is, is_not, in, not_in
Example → payment_method[is_not] = "card"
cardoptional, enumerated string filter
Gateway through which this transaction was done. Applicable only for 'Card' Payment Method. Possible values are : chargebee, chargebee_payments, stripe, wepay, braintree, authorize_net, paypal_pro, pin, eway, eway_rapid, worldpay, balanced_payments, beanstream, bluepay, elavon, first_data_global, hdfc, migs, nmi, ogone, paymill, paypal_payflow_pro, sage_pay, tco, wirecard, amazon_payments, paypal_express_checkout, gocardless, adyen, orbital, moneris_us, moneris, bluesnap, cybersource, vantiv, checkout_com, paypal, ingenico_direct, exact, mollie, quickbooks, razorpay, not_applicable.
Supported operators : is, is_not, in, not_in
Example → gateway[is] = "stripe"
stripeoptional, string filter
The reference number for this transaction. For example, the check number when payment_method
= check
.
Supported operators :
is, is_not, starts_with, is_present
Example → reference_number[is] = "cus_u239732"
cus_u239732optional, timestamp(UTC) in seconds filter
Indicates when this transaction occurred.
We recommend using this filter when listing transactions for better query performance. It is advisable when using this filter, to pass the sort_by
input parameter as date
for a faster response.
Supported operators :
after, before, on, between
Example → date[before] = "1435054328"
1435054328optional, enumerated string filter
The status of this transaction. Possible values are : in_progress, success, voided, failure, timeout, needs_attention.
Supported operators : is, is_not, in, not_in
Example → status[is] = "success"
successoptional, timestamp(UTC) in seconds filter
To filter based on updated_at.
This attribute will be present only if the resource has been updated after 2016-09-28. It is advisable when using this filter, to pass the sort_by
input parameter as updated_at
for a faster response.
Supported operators :
after, before, on, between
Example → updated_at[after] = "1243545465"
1243545465Returns
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.