class Stripe::API
- Stripe::API
- PlaceOS::Driver
- Reference
- Object
Defined in:
stripe/api.crClass Method Summary
Instance Method Summary
- #add_payment_method(type : String, billing_details : Hash(String, String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, acss_debit : Hash(String, String) | Nil = nil, affirm : Hash(String, String) | Nil = nil, afterpay_clearpay : Hash(String, String) | Nil = nil, alipay : Hash(String, String) | Nil = nil, au_becs_debit : Hash(String, String) | Nil = nil, bacs_debit : Hash(String, String) | Nil = nil, bancontact : Hash(String, String) | Nil = nil, blik : Hash(String, String) | Nil = nil, boleto : Hash(String, String) | Nil = nil, card : Hash(String, String) | Nil = nil, customer_balance : Hash(String, String) | Nil = nil, eps : Hash(String, String) | Nil = nil, fpx : Hash(String, String) | Nil = nil, giropay : Hash(String, String) | Nil = nil, ideal : Hash(String, String) | Nil = nil, interac_present : Hash(String, String) | Nil = nil, klarna : Hash(String, String) | Nil = nil, konbini : Hash(String, String) | Nil = nil, link : Hash(String, String) | Nil = nil, oxxo : Hash(String, String) | Nil = nil, p24 : Hash(String, String) | Nil = nil, paynow : Hash(String, String) | Nil = nil, promptpay : Hash(String, String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, sepa_debit : Hash(String, String) | Nil = nil, sofort : Hash(String, String) | Nil = nil, us_bank_account : Hash(String, String) | Nil = nil, wechat_pay : Hash(String, String) | Nil = nil)
- #cancel_payment_intent(id : String, cancellation_reason : String | Nil = nil)
- #confirm_payment_intent(id : String, payment_method : String | Nil = nil, receipt_email : String | Nil = nil, setup_future_usage : String | Nil = nil, shipping : Hash(String, String) | Nil = nil, capture_method : String | Nil = nil, error_on_requires_action : Bool | Nil = nil, mandate : String | Nil = nil, mandate_data : Hash(String, String) | Nil = nil, off_session : Bool | Nil = nil, payment_method_data : Hash(String, String) | Nil = nil, payment_method_options : Hash(String, String) | Nil = nil, payment_method_types : Array(String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, return_url : String | Nil = nil, use_stripe_sdk : Bool | Nil = nil)
- #create_customer(account_balance : Int32 | Nil = nil, coupon : String | Nil = nil, default_source : String | Nil = nil, description : String | Nil = nil, email : String | Nil = nil, invoice_prefix : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, shipping : Hash(String, String) | Nil = nil, source : String | Nil = nil, tax_info : Hash(String, String) | Nil = nil)
- #create_payment_intent(amount : Int32, currency : String, automatic_payment_methods : Hash(String, String) | Nil = nil, confirm : Bool | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, off_session : Bool | Nil = nil, payment_method : String | Nil = nil, receipt_email : String | Nil = nil, setup_future_usage : String | Nil = nil, shipping : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil, statement_descriptor_suffix : String | Nil = nil, application_fee_amount : Int32 | Nil = nil, capture_method : String | Nil = nil, confrimation_method : String | Nil = nil, error_on_requires_action : Bool | Nil = nil, mandate : String | Nil = nil, mandate_data : Hash(String, String) | Nil = nil, on_behalf_of : String | Nil = nil, payment_method_data : Hash(String, String) | Nil = nil, payment_method_types : Array(String) | Nil = nil, payment_method_options : Hash(String, String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, return_url : String | Nil = nil, transfer_data : Hash(String, String) | Nil = nil, transfer_group : String | Nil = nil, use_stripe_sdk : Bool | Nil = nil)
- #get_customer(id : String)
- #get_product_prices(active : Bool | Nil = nil, currency : String | Nil = nil, product : String | Nil = nil, type : String | Nil = nil, created : Hash(String, String) | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, lookup_keys : Array(String) | Nil = nil, recurring : Hash(String, String) | Nil = nil, starting_after : String | Nil = nil)
- #list_customers(email : String | Nil = nil, created : Hash(String, String) | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil)
- #list_payment_methods(type : String, customer : String | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil)
- #on_update
- #search_customers(query : String, limit : Int32 | Nil = nil, page : Int32 | Nil = nil)
- #update_customer(id : String, customer : String | Nil = nil, account_balance : Int32 | Nil = nil, coupon : String | Nil = nil, default_source : String | Nil = nil, description : String | Nil = nil, email : String | Nil = nil, invoice_prefix : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, shipping : Hash(String, String) | Nil = nil, source : String | Nil = nil, tax_info : Hash(String, String) | Nil = nil)
Class Method Detail
Instance Method Detail
def add_payment_method(type : String, billing_details : Hash(String, String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, acss_debit : Hash(String, String) | Nil = nil, affirm : Hash(String, String) | Nil = nil, afterpay_clearpay : Hash(String, String) | Nil = nil, alipay : Hash(String, String) | Nil = nil, au_becs_debit : Hash(String, String) | Nil = nil, bacs_debit : Hash(String, String) | Nil = nil, bancontact : Hash(String, String) | Nil = nil, blik : Hash(String, String) | Nil = nil, boleto : Hash(String, String) | Nil = nil, card : Hash(String, String) | Nil = nil, customer_balance : Hash(String, String) | Nil = nil, eps : Hash(String, String) | Nil = nil, fpx : Hash(String, String) | Nil = nil, giropay : Hash(String, String) | Nil = nil, ideal : Hash(String, String) | Nil = nil, interac_present : Hash(String, String) | Nil = nil, klarna : Hash(String, String) | Nil = nil, konbini : Hash(String, String) | Nil = nil, link : Hash(String, String) | Nil = nil, oxxo : Hash(String, String) | Nil = nil, p24 : Hash(String, String) | Nil = nil, paynow : Hash(String, String) | Nil = nil, promptpay : Hash(String, String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, sepa_debit : Hash(String, String) | Nil = nil, sofort : Hash(String, String) | Nil = nil, us_bank_account : Hash(String, String) | Nil = nil, wechat_pay : Hash(String, String) | Nil = nil)
#
def confirm_payment_intent(id : String, payment_method : String | Nil = nil, receipt_email : String | Nil = nil, setup_future_usage : String | Nil = nil, shipping : Hash(String, String) | Nil = nil, capture_method : String | Nil = nil, error_on_requires_action : Bool | Nil = nil, mandate : String | Nil = nil, mandate_data : Hash(String, String) | Nil = nil, off_session : Bool | Nil = nil, payment_method_data : Hash(String, String) | Nil = nil, payment_method_options : Hash(String, String) | Nil = nil, payment_method_types : Array(String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, return_url : String | Nil = nil, use_stripe_sdk : Bool | Nil = nil)
#
def create_customer(account_balance : Int32 | Nil = nil, coupon : String | Nil = nil, default_source : String | Nil = nil, description : String | Nil = nil, email : String | Nil = nil, invoice_prefix : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, shipping : Hash(String, String) | Nil = nil, source : String | Nil = nil, tax_info : Hash(String, String) | Nil = nil)
#
def create_payment_intent(amount : Int32, currency : String, automatic_payment_methods : Hash(String, String) | Nil = nil, confirm : Bool | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, off_session : Bool | Nil = nil, payment_method : String | Nil = nil, receipt_email : String | Nil = nil, setup_future_usage : String | Nil = nil, shipping : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil, statement_descriptor_suffix : String | Nil = nil, application_fee_amount : Int32 | Nil = nil, capture_method : String | Nil = nil, confrimation_method : String | Nil = nil, error_on_requires_action : Bool | Nil = nil, mandate : String | Nil = nil, mandate_data : Hash(String, String) | Nil = nil, on_behalf_of : String | Nil = nil, payment_method_data : Hash(String, String) | Nil = nil, payment_method_types : Array(String) | Nil = nil, payment_method_options : Hash(String, String) | Nil = nil, radar_options : Hash(String, String) | Nil = nil, return_url : String | Nil = nil, transfer_data : Hash(String, String) | Nil = nil, transfer_group : String | Nil = nil, use_stripe_sdk : Bool | Nil = nil)
#
def get_product_prices(active : Bool | Nil = nil, currency : String | Nil = nil, product : String | Nil = nil, type : String | Nil = nil, created : Hash(String, String) | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, lookup_keys : Array(String) | Nil = nil, recurring : Hash(String, String) | Nil = nil, starting_after : String | Nil = nil)
#
def list_customers(email : String | Nil = nil, created : Hash(String, String) | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil)
#
def list_payment_methods(type : String, customer : String | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil)
#
def update_customer(id : String, customer : String | Nil = nil, account_balance : Int32 | Nil = nil, coupon : String | Nil = nil, default_source : String | Nil = nil, description : String | Nil = nil, email : String | Nil = nil, invoice_prefix : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, shipping : Hash(String, String) | Nil = nil, source : String | Nil = nil, tax_info : Hash(String, String) | Nil = nil)
#