Lists all the payment sources
Sample Request
URL Format
Input Parameters
Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set offset
to the value of next_offset
obtained in the previous iteration of the API call.
Unique subscription identifier that helps to retrieve the payment source of a subscription which has mandate
associated to it.
optional, string filter
Sorts based on the specified attribute. Supported attributes : created_at, updated_at
Supported sort-orders : asc, desc
Example → sort_by[asc] = "created_at"
This will sort the result based on the 'created_at' attribute in ascending(earliest first) order.
Filter Params
optional, string filter
To filter based on Customer Id. Supported operators : is, is_not, starts_with, in, not_in
Example → customer_id[is] = "3bdjnDnsdQn"
optional, enumerated string filter
Type of payment source. Possible values are : card, paypal_express_checkout, amazon_payments, direct_debit, generic, alipay, unionpay, apple_pay, wechat_pay, ideal, google_pay, sofort, bancontact, giropay, dotpay, upi, netbanking_emandates.
Supported operators : is, is_not, in, not_in
Example → type[is] = "card"
optional, enumerated string filter
Current status of the payment source. Possible values are : valid, expiring, expired, invalid, pending_verification.
Supported operators : is, is_not, in, not_in
Example → status[is] = "valid"
optional, timestamp(UTC) in seconds filter
Timestamp indicating when this payment source resource was last updated. Supported operators : after, before, on, between
Example → updated_at[on] = "1435054328"
Returns
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.