Module: Stripe::APIOperations::Create
- Included in:
- Stripe::Account, Stripe::AccountLink, Stripe::AccountSession, Stripe::ApplePayDomain, Stripe::Apps::Secret, Billing::Alert, Billing::CreditGrant, Billing::Meter, Billing::MeterEvent, Billing::MeterEventAdjustment, BillingPortal::Configuration, BillingPortal::Session, Charge, Checkout::Session, Climate::Order, Coupon, CreditNote, Customer, CustomerSession, Entitlements::Feature, EphemeralKey, File, FileLink, FinancialConnections::Session, Forwarding::Request, Identity::VerificationSession, Invoice, InvoiceItem, Issuing::Card, Issuing::Cardholder, Issuing::Dispute, Issuing::PersonalizationDesign, ListObject, PaymentIntent, PaymentLink, PaymentMethod, PaymentMethodConfiguration, PaymentMethodDomain, Payout, Plan, Price, Product, PromotionCode, Quote, Radar::ValueList, Radar::ValueListItem, Refund, Reporting::ReportRun, SetupIntent, ShippingRate, Source, Subscription, SubscriptionItem, SubscriptionSchedule, Tax::Calculation, Tax::Registration, TaxId, TaxRate, Terminal::Configuration, Terminal::ConnectionToken, Terminal::Location, Terminal::Reader, TestHelpers::TestClock, Token, Topup, Transfer, Treasury::CreditReversal, Treasury::DebitReversal, Treasury::FinancialAccount, Treasury::InboundTransfer, Treasury::OutboundPayment, Treasury::OutboundTransfer, WebhookEndpoint
- Defined in:
- lib/stripe/api_operations/create.rb
Instance Method Summary collapse
Instance Method Details
#create(params = {}, opts = {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/stripe/api_operations/create.rb', line 6 def create(params = {}, opts = {}) request_stripe_object( method: :post, path: resource_url, params: params, opts: opts ) end |