Expand description
This crate provides Rust bindings to the Stripe HTTP API, centered around Checkout Sessions.
Modules§
Structs§
- Checkout
Acss Debit Mandate Options - Checkout
Acss Debit Payment Method Options - Checkout
Affirm Payment Method Options - Checkout
Afterpay Clearpay Payment Method Options - Checkout
Alipay Payment Method Options - Checkout
Amazon PayPayment Method Options - Checkout
AuBecs Debit Payment Method Options - Checkout
Bacs Debit Payment Method Options - Checkout
Bancontact Payment Method Options - Checkout
Boleto Payment Method Options - Checkout
Card Installments Options - Checkout
Card Payment Method Options - Checkout
Cashapp Payment Method Options - Checkout
Customer Balance Bank Transfer Payment Method Options - Checkout
Customer Balance Payment Method Options - Checkout
EpsPayment Method Options - Checkout
FpxPayment Method Options - Checkout
Giropay Payment Method Options - Checkout
Grab PayPayment Method Options - Checkout
Ideal Payment Method Options - Checkout
Kakao PayPayment Method Options - Checkout
Klarna Payment Method Options - Checkout
Konbini Payment Method Options - Checkout
KrCard Payment Method Options - Checkout
Link Payment Method Options - Checkout
Link Wallet Options - Checkout
Mobilepay Payment Method Options - Checkout
Multibanco Payment Method Options - Checkout
Naver PayPayment Method Options - Checkout
Oxxo Payment Method Options - Checkout
P24Payment Method Options - Checkout
Payco Payment Method Options - Checkout
Payment Method Options Mandate Options Bacs Debit - Checkout
Payment Method Options Mandate Options Sepa Debit - Checkout
Paynow Payment Method Options - Checkout
Paypal Payment Method Options - Checkout
PixPayment Method Options - Checkout
Revolut PayPayment Method Options - Checkout
Samsung PayPayment Method Options - Checkout
Sepa Debit Payment Method Options - Checkout
Session - A Checkout Session represents your customer’s session as they pay for one-time purchases or subscriptions through Checkout or Payment Links. We recommend creating a new Session each time your customer attempts to pay.
- Checkout
Session Id - Checkout
Session Payment Method Options - Checkout
Session Wallet Options - Checkout
Sofort Payment Method Options - Checkout
Swish Payment Method Options - Checkout
UsBank Account Payment Method Options - Payment
Pages Checkout Session Adaptive Pricing - Payment
Pages Checkout Session After Expiration - Payment
Pages Checkout Session After Expiration Recovery - Payment
Pages Checkout Session Automatic Tax - Payment
Pages Checkout Session Checkout Address Details - Payment
Pages Checkout Session Collected Information - Payment
Pages Checkout Session Consent - Payment
Pages Checkout Session Consent Collection - Payment
Pages Checkout Session Currency Conversion - Payment
Pages Checkout Session Custom Fields - Payment
Pages Checkout Session Custom Fields Dropdown - Payment
Pages Checkout Session Custom Fields Label - Payment
Pages Checkout Session Custom Fields Numeric - Payment
Pages Checkout Session Custom Fields Option - Payment
Pages Checkout Session Custom Fields Text - Payment
Pages Checkout Session Custom Text - Payment
Pages Checkout Session Custom Text Position - Payment
Pages Checkout Session Customer Details - Payment
Pages Checkout Session Discount - Payment
Pages Checkout Session Invoice Creation - Payment
Pages Checkout Session Invoice Settings - Payment
Pages Checkout Session Optional Item - Payment
Pages Checkout Session Optional Item Adjustable Quantity - Payment
Pages Checkout Session Payment Method Reuse Agreement - Payment
Pages Checkout Session Permissions - Payment
Pages Checkout Session Phone Number Collection - Payment
Pages Checkout Session Saved Payment Method Options - Payment
Pages Checkout Session Shipping Address Collection - Payment
Pages Checkout Session Shipping Cost - Payment
Pages Checkout Session Shipping Option - Payment
Pages Checkout Session TaxId - Payment
Pages Checkout Session TaxId Collection - Payment
Pages Checkout Session Total Details - Payment
Pages Checkout Session Total Details Resource Breakdown - Payment
Pages Private Card Payment Method Options Resource Restrictions
Enums§
- Checkout
Acss Debit Mandate Options Default For - List of Stripe products where this mandate can be selected automatically.
Returned when the Session is in
setup
mode. - Checkout
Acss Debit Mandate Options Payment Schedule - Payment schedule for the mandate.
- Checkout
Acss Debit Mandate Options Transaction Type - Transaction type of the mandate.
- Checkout
Acss Debit Payment Method Options Currency - Currency supported by the bank account. Returned when the Session is in
setup
mode. - Checkout
Acss Debit Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Acss Debit Payment Method Options Verification Method - Bank account verification method.
- Checkout
Affirm Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Afterpay Clearpay Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Alipay Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Amazon PayPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
AuBecs Debit Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Bacs Debit Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Bancontact Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Boleto Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Card Payment Method Options Request Extended Authorization - Request ability to capture beyond the standard authorization validity window for this CheckoutSession.
- Checkout
Card Payment Method Options Request Incremental Authorization - Request ability to increment the authorization for this CheckoutSession.
- Checkout
Card Payment Method Options Request Multicapture - Request ability to make multiple captures for this CheckoutSession.
- Checkout
Card Payment Method Options Request Overcapture - Request ability to overcapture for this CheckoutSession.
- Checkout
Card Payment Method Options Request ThreeD Secure - We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements.
However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.
If not provided, this value defaults to
automatic
. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine. - Checkout
Card Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Cashapp Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Customer Balance Bank Transfer Payment Method Options Requested Address Types - List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
- Checkout
Customer Balance Bank Transfer Payment Method Options Type - The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include:
eu_bank_transfer
,gb_bank_transfer
,jp_bank_transfer
,mx_bank_transfer
, orus_bank_transfer
. - Checkout
Customer Balance Payment Method Options Funding Type - The funding method type to be used when there are not enough funds in the customer balance.
Permitted values include:
bank_transfer
. - Checkout
Customer Balance Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
EpsPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
FpxPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Giropay Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Grab PayPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Ideal Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Kakao PayPayment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
Kakao PayPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Klarna Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Konbini Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
KrCard Payment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
KrCard Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Link Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Link Wallet Options Display - Describes whether Checkout should display Link. Defaults to
auto
. - Checkout
Mobilepay Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Multibanco Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Naver PayPayment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
Oxxo Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
P24Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Payco Payment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
Paynow Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Paypal Payment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
Paypal Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Revolut PayPayment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Samsung PayPayment Method Options Capture Method - Controls when the funds will be captured from the customer’s account.
- Checkout
Sepa Debit Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
Session Billing Address Collection - Checkout
Session Customer Creation - Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
- Checkout
Session Locale - Checkout
Session Mode - Checkout
Session Payment Method Collection - Configure whether a Checkout Session should collect a payment method. Defaults to
always
. - Checkout
Session Payment Status - The payment status of the Checkout Session, one of
paid
,unpaid
, orno_payment_required
. You can use this value to decide when to fulfill your customer’s order. - Checkout
Session Redirect OnCompletion - Checkout
Session Status - Checkout
Session Submit Type - Checkout
Session UiMode - Checkout
Sofort Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
UsBank Account Payment Method Options Setup Future Usage - Indicates that you intend to make future payments with this PaymentIntent’s payment method.
- Checkout
UsBank Account Payment Method Options Verification Method - Bank account verification method.
- Payment
Pages Checkout Session Automatic TaxStatus - The status of the most recent automated tax calculation for this session.
- Payment
Pages Checkout Session Consent Collection Promotions - If set to
auto
, enables the collection of customer consent for promotional communications. The Checkout. Session will determine whether to display an option to opt into promotional communication from the merchant depending on the customer’s locale. Only available to US merchants. - Payment
Pages Checkout Session Consent Collection Terms OfService - If set to
required
, it requires customers to accept the terms of service before being able to pay. - Payment
Pages Checkout Session Consent Promotions - If
opt_in
, the customer consents to receiving promotional communications from the merchant about this Checkout Session. - Payment
Pages Checkout Session Consent Terms OfService - If
accepted
, the customer in this Checkout Session has agreed to the merchant’s terms of service. - Payment
Pages Checkout Session Custom Fields Label Type - The type of the label.
- Payment
Pages Checkout Session Custom Fields Type - The type of the field.
- Payment
Pages Checkout Session Customer Details TaxExempt - The customer’s tax exempt status after a completed Checkout Session.
- Payment
Pages Checkout Session Payment Method Reuse Agreement Position - Determines the position and visibility of the payment method reuse agreement in the UI.
When set to
auto
, Stripe’s defaults will be used. - Payment
Pages Checkout Session Permissions Update Shipping Details - Determines which entity is allowed to update the shipping details.
- Payment
Pages Checkout Session Saved Payment Method Options Allow Redisplay Filters - Uses the
allow_redisplay
value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. - Payment
Pages Checkout Session Saved Payment Method Options Payment Method Remove - Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
- Payment
Pages Checkout Session Saved Payment Method Options Payment Method Save - Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
- Payment
Pages Checkout Session Shipping Address Collection Allowed Countries - An array of two-letter ISO country codes representing which countries Checkout should provide as options for.
shipping locations.
Unsupported country codes:
AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI
. - Payment
Pages Checkout Session TaxId Collection Required - Indicates whether a tax ID is required on the payment page
- Payment
Pages Checkout Session TaxId Type - The type of the tax ID, one of
ad_nrt
,ar_cuit
,eu_vat
,bo_tin
,br_cnpj
,br_cpf
,cn_tin
,co_nit
,cr_tin
,do_rcn
,ec_ruc
,eu_oss_vat
,hr_oib
,pe_ruc
,ro_tin
,rs_pib
,sv_nit
,uy_ruc
,ve_rif
,vn_tin
,gb_vat
,nz_gst
,au_abn
,au_arn
,in_gst
,no_vat
,no_voec
,za_vat
,ch_vat
,mx_rfc
,sg_uen
,ru_inn
,ru_kpp
,ca_bn
,hk_br
,es_cif
,tw_vat
,th_vat
,jp_cn
,jp_rn
,jp_trn
,li_uid
,li_vat
,my_itn
,us_ein
,kr_brn
,ca_qst
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,my_sst
,sg_gst
,ae_trn
,cl_tin
,sa_vat
,id_npwp
,my_frp
,il_vat
,ge_vat
,ua_vat
,is_vat
,bg_uic
,hu_tin
,si_tin
,ke_pin
,tr_tin
,eg_tin
,ph_tin
,al_tin
,bh_vat
,kz_bin
,ng_tin
,om_vat
,de_stn
,ch_uid
,tz_vat
,uz_vat
,uz_tin
,md_vat
,ma_vat
,by_tin
,ao_tin
,bs_tin
,bb_tin
,cd_nif
,mr_nif
,me_pib
,zw_tin
,ba_tin
,gn_nif
,mk_vat
,sr_fin
,sn_ninea
,am_tin
,np_pan
,tj_tin
,ug_tin
,zm_tin
,kh_tin
,aw_tin
,az_tin
,bd_bin
,bj_ifu
,et_tin
,kg_tin
,la_tin
,cm_niu
,cv_nif
,bf_ifu
, orunknown
. - Payment
Pages Private Card Payment Method Options Resource Restrictions Brands Blocked - Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can’t complete the Session.