class

Stripe::PaymentIntent

Inherits StripeMethods / JSON::Serializable / Reference / Object

Constructors

confirm(intent : String | PaymentIntent | Nil = nil, payment_method : String | Token | PaymentMethods::Card | PaymentMethods::BankAccount | Nil = nil, receipt_email : String | Nil = nil, return_url : String | Nil = nil) : PaymentIntent forall T, U
Source
create(amount : Int32, currency : String, confirm : Bool | Nil = nil, customer : String | Stripe::Customer | Nil = nil, description : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, on_behalf_of : String | Nil = nil, usage : String | Nil = nil, payment_method : String | Token | PaymentMethods::Card | PaymentMethods::BankAccount | Nil = nil, return_url : String | Nil = nil, payment_method_types : Array(String) | Nil = nil, receipt_email : String | Nil = nil, setup_future_usage : String | Nil = nil, transfer_group : String | Nil = nil, capture_method : String | Nil = nil, expand : Array(String) | Nil = nil) : PaymentIntent forall T, U
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

list(customer : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::PaymentIntent)
Source
retrieve(id : String)
Source
retrieve(paymentintent : Stripe::PaymentIntent)
Source

Instance methods

application
Source
cancellation_reason
Source
client_secret
Source
created
Source
customer
Source
description
Source
last_setup_error
Source
livemode?
Source
metadata
Source
payment_method
Source
payment_method_types
Source
status
Source
usage
Source

Nested types