Crate stripe_misc

Source
Expand description

This crate provides Rust bindings to the Stripe HTTP API, specifically for requests mentioned in the Tax, Identity, Reporting, Sigma, Financial Connections and Webhooks sections of the Stripe API docs

Modules§

apple_pay_domain
climate_order
climate_product
climate_supplier
entitlements_active_entitlement
entitlements_feature
ephemeral_key
exchange_rate
financial_connections_account
financial_connections_session
financial_connections_transaction
forwarding_request
identity_verification_report
identity_verification_session
reporting_report_run
reporting_report_type
scheduled_query_run
tax_calculation
tax_registration
tax_settings
tax_transaction
webhook_endpoint

Structs§

ApplePayDomain
ApplePayDomainId
BankConnectionsResourceAccountholder
BankConnectionsResourceAccountholderBuilder
BankConnectionsResourceBalance
BankConnectionsResourceBalanceApiResourceCashBalance
BankConnectionsResourceBalanceApiResourceCashBalanceBuilder
BankConnectionsResourceBalanceApiResourceCreditBalance
BankConnectionsResourceBalanceApiResourceCreditBalanceBuilder
BankConnectionsResourceBalanceBuilder
BankConnectionsResourceBalanceRefresh
BankConnectionsResourceBalanceRefreshBuilder
BankConnectionsResourceLinkAccountSessionFilters
BankConnectionsResourceLinkAccountSessionFiltersBuilder
BankConnectionsResourceOwnershipRefresh
BankConnectionsResourceOwnershipRefreshBuilder
BankConnectionsResourceTransactionRefresh
BankConnectionsResourceTransactionRefreshBuilder
BankConnectionsResourceTransactionRefreshId
BankConnectionsResourceTransactionResourceStatusTransitions
BankConnectionsResourceTransactionResourceStatusTransitionsBuilder
ClimateOrder
Orders represent your intent to purchase a particular Climate product. When you create an order, the. payment is deducted from your merchant balance.
ClimateOrderId
ClimateProduct
A Climate product represents a type of carbon removal unit available for reservation. You can retrieve it to see the current price and availability.
ClimateProductId
ClimateRemovalsBeneficiary
ClimateRemovalsBeneficiaryBuilder
ClimateRemovalsLocation
ClimateRemovalsLocationBuilder
ClimateRemovalsOrderDeliveries
The delivery of a specified quantity of carbon for an order.
ClimateRemovalsOrderDeliveriesBuilder
ClimateRemovalsProductsPrice
ClimateRemovalsProductsPriceBuilder
ClimateSupplier
A supplier of carbon removal.
ClimateSupplierId
DeletedApplePayDomain
DeletedApplePayDomainBuilder
DeletedWebhookEndpoint
DeletedWebhookEndpointBuilder
EntitlementsActiveEntitlement
An active entitlement describes access to a feature for a customer.
EntitlementsActiveEntitlementId
EntitlementsActiveEntitlementSummary
A summary of a customer’s active entitlements.
EntitlementsActiveEntitlementSummaryBuilder
EntitlementsFeature
A feature represents a monetizable ability or functionality in your system. Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.
EntitlementsFeatureId
EphemeralKey
EphemeralKeyId
ExchangeRate
ExchangeRate objects allow you to determine the rates that Stripe is currently using to convert from one currency to another. Since this number is variable throughout the day, there are various reasons why you might want to know the current rate (for example, to dynamically price an item for a user with a default payment in a foreign currency).
ExchangeRateId
FinancialConnectionsAccount
A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.
FinancialConnectionsAccountId
FinancialConnectionsAccountOwner
Describes an owner of an account.
FinancialConnectionsAccountOwnerBuilder
FinancialConnectionsAccountOwnerId
FinancialConnectionsAccountOwnership
Describes a snapshot of the owners of an account at a particular point in time.
FinancialConnectionsAccountOwnershipBuilder
FinancialConnectionsAccountOwnershipId
FinancialConnectionsSession
A Financial Connections Session is the secure way to programmatically launch the client-side Stripe.js modal that lets your users link their accounts.
FinancialConnectionsSessionId
FinancialConnectionsTransaction
A Transaction represents a real transaction that affects a Financial Connections Account balance.
FinancialConnectionsTransactionId
FinancialReportingFinanceReportRunRunParameters
FinancialReportingFinanceReportRunRunParametersBuilder
ForwardedRequestContext
Metadata about the forwarded request.
ForwardedRequestContextBuilder
ForwardedRequestDetails
Details about the request forwarded to the destination endpoint.
ForwardedRequestDetailsBuilder
ForwardedRequestHeader
Header data.
ForwardedRequestHeaderBuilder
ForwardedResponseDetails
Details about the response from the destination endpoint.
ForwardedResponseDetailsBuilder
ForwardingRequest
Instructs Stripe to make a request on your behalf using the destination URL. The destination URL is activated by Stripe at the time of onboarding. Stripe verifies requests with your credentials provided during onboarding, and injects card details from the payment_method into the request.
ForwardingRequestId
GelatoDataDocumentReportDateOfBirth
Point in Time
GelatoDataDocumentReportDateOfBirthBuilder
GelatoDataDocumentReportExpirationDate
Point in Time
GelatoDataDocumentReportExpirationDateBuilder
GelatoDataDocumentReportIssuedDate
Point in Time
GelatoDataDocumentReportIssuedDateBuilder
GelatoDataIdNumberReportDate
Point in Time
GelatoDataIdNumberReportDateBuilder
GelatoDataVerifiedOutputsDate
Point in Time
GelatoDataVerifiedOutputsDateBuilder
GelatoDocumentReport
Result from a document check
GelatoDocumentReportBuilder
GelatoDocumentReportError
GelatoDocumentReportErrorBuilder
GelatoEmailReport
Result from a email check
GelatoEmailReportBuilder
GelatoEmailReportError
GelatoEmailReportErrorBuilder
GelatoIdNumberReport
Result from an id_number check
GelatoIdNumberReportBuilder
GelatoIdNumberReportError
GelatoIdNumberReportErrorBuilder
GelatoPhoneReport
Result from a phone check
GelatoPhoneReportBuilder
GelatoPhoneReportError
GelatoPhoneReportErrorBuilder
GelatoProvidedDetails
GelatoProvidedDetailsBuilder
GelatoReportDocumentOptions
GelatoReportDocumentOptionsBuilder
GelatoReportIdNumberOptions
GelatoReportIdNumberOptionsBuilder
GelatoSelfieReport
Result from a selfie check
GelatoSelfieReportBuilder
GelatoSelfieReportError
GelatoSelfieReportErrorBuilder
GelatoSessionDocumentOptions
GelatoSessionDocumentOptionsBuilder
GelatoSessionEmailOptions
GelatoSessionEmailOptionsBuilder
GelatoSessionIdNumberOptions
GelatoSessionIdNumberOptionsBuilder
GelatoSessionLastError
Shows last VerificationSession error
GelatoSessionLastErrorBuilder
GelatoSessionPhoneOptions
GelatoSessionPhoneOptionsBuilder
GelatoVerificationReportOptions
GelatoVerificationReportOptionsBuilder
GelatoVerificationSessionOptions
GelatoVerificationSessionOptionsBuilder
GelatoVerifiedOutputs
GelatoVerifiedOutputsBuilder
IdentityVerificationReport
A VerificationReport is the result of an attempt to collect and verify data from a user. The collection of verification checks performed is determined from the type and options parameters used. You can find the result of each verification check performed in the appropriate sub-resource: document, id_number, selfie.
IdentityVerificationReportId
IdentityVerificationSession
A VerificationSession guides you through the process of collecting and verifying the identities of your users. It contains details about the type of verification, such as what verification check to perform. Only create one VerificationSession for each verification in your system.
IdentityVerificationSessionId
ReportingReportRun
The Report Run object represents an instance of a report type generated with specific run parameters. Once the object is created, Stripe begins processing the report. When the report has finished running, it will give you a reference to a file where you can retrieve your results. For an overview, see API Access to Reports.
ReportingReportRunId
ReportingReportType
The Report Type resource corresponds to a particular type of report, such as the “Activity summary” or “Itemized payouts” reports. These objects are identified by an ID belonging to a set of enumerated values. See API Access to Reports documentation for those Report Type IDs, along with required and optional parameters.
ReportingReportTypeId
ScheduledQueryRun
If you have scheduled a Sigma query, you’ll receive a sigma.scheduled_query_run.created webhook each time the query runs. The webhook contains a ScheduledQueryRun object, which you can use to retrieve the query results.
ScheduledQueryRunId
SigmaScheduledQueryRunError
SigmaScheduledQueryRunErrorBuilder
TaxCalculation
A Tax Calculation allows you to calculate the tax to collect from your customer.
TaxCalculationId
TaxCalculationLineItem
TaxCalculationLineItemBuilder
TaxCalculationLineItemId
TaxProductRegistrationsResourceCountryOptions
TaxProductRegistrationsResourceCountryOptionsBuilder
TaxProductRegistrationsResourceCountryOptionsCaProvinceStandard
TaxProductRegistrationsResourceCountryOptionsCaProvinceStandardBuilder
TaxProductRegistrationsResourceCountryOptionsCanada
TaxProductRegistrationsResourceCountryOptionsCanadaBuilder
TaxProductRegistrationsResourceCountryOptionsDefault
TaxProductRegistrationsResourceCountryOptionsDefaultBuilder
TaxProductRegistrationsResourceCountryOptionsDefaultInboundGoods
TaxProductRegistrationsResourceCountryOptionsDefaultInboundGoodsBuilder
TaxProductRegistrationsResourceCountryOptionsEuStandard
TaxProductRegistrationsResourceCountryOptionsEuStandardBuilder
TaxProductRegistrationsResourceCountryOptionsEurope
TaxProductRegistrationsResourceCountryOptionsEuropeBuilder
TaxProductRegistrationsResourceCountryOptionsSimplified
TaxProductRegistrationsResourceCountryOptionsSimplifiedBuilder
TaxProductRegistrationsResourceCountryOptionsUnitedStates
TaxProductRegistrationsResourceCountryOptionsUnitedStatesBuilder
TaxProductRegistrationsResourceCountryOptionsUsLocalAmusementTax
TaxProductRegistrationsResourceCountryOptionsUsLocalAmusementTaxBuilder
TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTax
TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTaxBuilder
TaxProductRegistrationsResourceCountryOptionsUsStateSalesTax
TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxBuilder
TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElection
TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElectionBuilder
TaxProductResourceCustomerDetails
TaxProductResourceCustomerDetailsBuilder
TaxProductResourceCustomerDetailsResourceTaxId
TaxProductResourceCustomerDetailsResourceTaxIdBuilder
TaxProductResourceJurisdiction
TaxProductResourceJurisdictionBuilder
TaxProductResourceLineItemTaxBreakdown
TaxProductResourceLineItemTaxBreakdownBuilder
TaxProductResourceLineItemTaxRateDetails
TaxProductResourceLineItemTaxRateDetailsBuilder
TaxProductResourcePostalAddress
TaxProductResourcePostalAddressBuilder
TaxProductResourceShipFromDetails
TaxProductResourceShipFromDetailsBuilder
TaxProductResourceTaxBreakdown
TaxProductResourceTaxBreakdownBuilder
TaxProductResourceTaxCalculationShippingCost
TaxProductResourceTaxCalculationShippingCostBuilder
TaxProductResourceTaxRateDetails
TaxProductResourceTaxRateDetailsBuilder
TaxProductResourceTaxSettingsDefaults
TaxProductResourceTaxSettingsDefaultsBuilder
TaxProductResourceTaxSettingsHeadOffice
TaxProductResourceTaxSettingsHeadOfficeBuilder
TaxProductResourceTaxSettingsStatusDetails
TaxProductResourceTaxSettingsStatusDetailsBuilder
TaxProductResourceTaxSettingsStatusDetailsResourceActive
TaxProductResourceTaxSettingsStatusDetailsResourceActiveBuilder
TaxProductResourceTaxSettingsStatusDetailsResourcePending
TaxProductResourceTaxSettingsStatusDetailsResourcePendingBuilder
TaxProductResourceTaxTransactionLineItemResourceReversal
TaxProductResourceTaxTransactionLineItemResourceReversalBuilder
TaxProductResourceTaxTransactionResourceReversal
TaxProductResourceTaxTransactionResourceReversalBuilder
TaxProductResourceTaxTransactionShippingCost
TaxProductResourceTaxTransactionShippingCostBuilder
TaxRegistration
A Tax Registration lets us know that your business is registered to collect tax on payments within a region, enabling you to automatically collect tax.
TaxRegistrationId
TaxSettings
You can use Tax Settings to manage configurations used by Stripe Tax calculations.
TaxTransaction
A Tax Transaction records the tax collected from or refunded to your customer.
TaxTransactionId
TaxTransactionLineItem
TaxTransactionLineItemBuilder
TaxTransactionLineItemId
VerificationSessionRedaction
VerificationSessionRedactionBuilder
WebhookEndpoint
You can configure webhook endpoints via the API to be notified about events that happen in your Stripe account or connected accounts.
WebhookEndpointId

Enums§

BankConnectionsResourceAccountholderType
Type of account holder that this account belongs to.
BankConnectionsResourceBalanceRefreshStatus
The status of the last refresh attempt.
BankConnectionsResourceBalanceType
The type of the balance. An additional hash is included on the balance with a name matching this value.
BankConnectionsResourceLinkAccountSessionFiltersAccountSubcategories
Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: checking, savings, mortgage, line_of_credit, credit_card.
BankConnectionsResourceOwnershipRefreshStatus
The status of the last refresh attempt.
BankConnectionsResourceTransactionRefreshStatus
The status of the last refresh attempt.
ClimateOrderCancellationReason
Reason for the cancellation of this order.
ClimateOrderStatus
The current status of this order.
ClimateSupplierRemovalPathway
The scientific pathway used for carbon removal.
FinancialConnectionsAccountCategory
The type of the account. Account category is further divided in subcategory.
FinancialConnectionsAccountPermissions
The list of permissions granted by this account.
FinancialConnectionsAccountStatus
The status of the link to the account.
FinancialConnectionsAccountSubcategory
If category is cash, one of:
FinancialConnectionsAccountSubscriptions
The list of data refresh subscriptions requested on this account.
FinancialConnectionsAccountSupportedPaymentMethodTypes
The PaymentMethod type(s) that can be created from this account.
FinancialConnectionsSessionPermissions
FinancialConnectionsSessionPrefetch
FinancialConnectionsTransactionStatus
The status of the transaction.
ForwardedRequestDetailsHttpMethod
The HTTP method used to call the destination endpoint.
ForwardingRequestReplacements
GelatoDocumentReportErrorCode
A short machine-readable string giving the reason for the verification failure.
GelatoDocumentReportStatus
Status of this document check.
GelatoDocumentReportType
Type of the document.
GelatoEmailReportErrorCode
A short machine-readable string giving the reason for the verification failure.
GelatoEmailReportStatus
Status of this email check.
GelatoIdNumberReportErrorCode
A short machine-readable string giving the reason for the verification failure.
GelatoIdNumberReportIdNumberType
Type of ID number.
GelatoIdNumberReportStatus
Status of this id_number check.
GelatoPhoneReportErrorCode
A short machine-readable string giving the reason for the verification failure.
GelatoPhoneReportStatus
Status of this phone check.
GelatoReportDocumentOptionsAllowedTypes
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
GelatoSelfieReportErrorCode
A short machine-readable string giving the reason for the verification failure.
GelatoSelfieReportStatus
Status of this selfie check.
GelatoSessionDocumentOptionsAllowedTypes
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
GelatoSessionLastErrorCode
A short machine-readable string giving the reason for the verification or user-session failure.
GelatoVerifiedOutputsIdNumberType
The user’s verified id number type.
IdentityVerificationReportType
Type of report.
IdentityVerificationSessionStatus
IdentityVerificationSessionType
The type of verification check to be performed.
TaxCalculationLineItemTaxBehavior
Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.
TaxProductRegistrationsResourceCountryOptionsCanadaType
Type of registration in Canada.
TaxProductRegistrationsResourceCountryOptionsDefaultInboundGoodsType
Type of registration in country.
TaxProductRegistrationsResourceCountryOptionsDefaultType
Type of registration in country.
TaxProductRegistrationsResourceCountryOptionsEuStandardPlaceOfSupplyScheme
Place of supply scheme used in an EU standard registration.
TaxProductRegistrationsResourceCountryOptionsEuropeType
Type of registration in an EU country.
TaxProductRegistrationsResourceCountryOptionsSimplifiedType
Type of registration in country.
TaxProductRegistrationsResourceCountryOptionsUnitedStatesType
Type of registration in the US.
TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElectionType
The type of the election for the state sales tax registration.
TaxProductResourceCustomerDetailsAddressSource
The type of customer address provided.
TaxProductResourceCustomerDetailsResourceTaxIdType
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, or unknown.
TaxProductResourceCustomerDetailsTaxabilityOverride
The taxability override used for taxation.
TaxProductResourceJurisdictionLevel
Indicates the level of the jurisdiction imposing the tax.
TaxProductResourceLineItemTaxBreakdownSourcing
Indicates whether the jurisdiction was determined by the origin (merchant’s address) or destination (customer’s address).
TaxProductResourceLineItemTaxBreakdownTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
TaxProductResourceLineItemTaxRateDetailsTaxType
The tax type, such as vat or sales_tax.
TaxProductResourceTaxBreakdownTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.
TaxProductResourceTaxCalculationShippingCostTaxBehavior
Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.
TaxProductResourceTaxRateDetailsRateType
Indicates the type of tax rate applied to the taxable amount. This value can be null when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.
TaxProductResourceTaxRateDetailsTaxType
The tax type, such as vat or sales_tax.
TaxProductResourceTaxSettingsDefaultsTaxBehavior
Default tax behavior used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item’s price has a tax behavior set, it will take precedence over the default tax behavior.
TaxProductResourceTaxTransactionShippingCostTaxBehavior
Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.
TaxRegistrationStatus
The status of the registration. This field is present for convenience and can be deduced from active_from and expires_at.
TaxSettingsStatus
The status of the Tax Settings.
TaxTransactionLineItemTaxBehavior
Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.
TaxTransactionLineItemType
If reversal, this line item reverses an earlier transaction.
TaxTransactionType
If reversal, this transaction reverses an earlier transaction.
VerificationSessionRedactionStatus
Indicates whether this object and its related objects have been redacted or not.