class

Stripetease::API::PaymentMethods

Inherits Reference < Object

PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.

Constructors

new(session : Session)
Source

Instance methods

get(customer_id : String)

Retrieves a PaymentMethod object for a given Customer.

Source
list(type : String, customer : String | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil)

Returns a list of PaymentMethods attached to the StripeAccount.

Source
list_by_customer_id(customer_id : String, **kwargs)

Returns a list of PaymentMethods for a given Customer.

Source