Lists all the transactions.
Sample Request
Sample Result[JSON]
URL Format
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
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, 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 gateway account used for this transaction. Supported operators : is, is_not, starts_with, in, not_in
Example → gateway_account_id[is] = "gw_3Nl9BNeQ7438Ks1"
gw_3Nl9BNeQ7438Ks1optional, 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, 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.