Crate stripe_connect

Source
Expand description

This crate provides Rust bindings to the Stripe HTTP API, specifically for requests mentioned in the Connect section of the Stripe API docs

Modules§

account
account_link
account_session
application_fee
application_fee_refund
apps_secret
capability
country_spec
external_account
login_link
person
topup
transfer
transfer_reversal

Structs§

Account
This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts.
AccountAnnualRevenue
AccountBacsDebitPaymentsSettings
AccountBrandingSettings
AccountBusinessProfile
AccountCapabilities
AccountCapabilityFutureRequirements
AccountCapabilityRequirements
AccountCardIssuingSettings
AccountCardPaymentsSettings
AccountDashboardSettings
AccountDeclineChargeOn
AccountFutureRequirements
AccountGroupMembership
AccountId
AccountInvoicesSettings
AccountLink
Account Links are the means by which a Connect platform grants a connected account permission to access. Stripe-hosted applications, such as Connect Onboarding.
AccountMonthlyEstimatedRevenue
AccountPaymentsSettings
AccountPayoutSettings
AccountRequirements
AccountRequirementsAlternative
AccountRequirementsError
AccountSepaDebitPaymentsSettings
AccountSession
An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.
AccountSettings
AccountTermsOfService
AccountTosAcceptance
AccountTreasurySettings
AccountUnificationAccountController
AccountUnificationAccountControllerFees
AccountUnificationAccountControllerLosses
AccountUnificationAccountControllerStripeDashboard
Application
ApplicationFee
For more details see <https://stripe.com/docs/api/application_fees/object>.
ApplicationFeeId
ApplicationFeeRefund
Application Fee Refund objects allow you to refund an application fee that has previously been created but not yet refunded. Funds will be refunded to the Stripe account from which the fee was originally collected.
ApplicationFeeRefundId
ApplicationId
AppsSecret
Secret Store is an API that allows Stripe Apps developers to securely persist secrets for use by UI Extensions and app backends.
AppsSecretId
Capability
This is an object representing a capability for a Stripe account.
CapabilityId
ConnectAccountReference
ConnectEmbeddedAccountConfigClaim
ConnectEmbeddedAccountConfigClaimBuilder
ConnectEmbeddedAccountFeaturesClaim
ConnectEmbeddedAccountFeaturesClaimBuilder
ConnectEmbeddedAccountSessionCreateComponents
ConnectEmbeddedAccountSessionCreateComponentsBuilder
ConnectEmbeddedBaseConfigClaim
ConnectEmbeddedBaseConfigClaimBuilder
ConnectEmbeddedBaseFeatures
ConnectEmbeddedBaseFeaturesBuilder
ConnectEmbeddedFinancialAccountConfigClaim
ConnectEmbeddedFinancialAccountConfigClaimBuilder
ConnectEmbeddedFinancialAccountFeatures
ConnectEmbeddedFinancialAccountFeaturesBuilder
ConnectEmbeddedFinancialAccountTransactionsConfigClaim
ConnectEmbeddedFinancialAccountTransactionsConfigClaimBuilder
ConnectEmbeddedFinancialAccountTransactionsFeatures
ConnectEmbeddedFinancialAccountTransactionsFeaturesBuilder
ConnectEmbeddedIssuingCardConfigClaim
ConnectEmbeddedIssuingCardConfigClaimBuilder
ConnectEmbeddedIssuingCardFeatures
ConnectEmbeddedIssuingCardFeaturesBuilder
ConnectEmbeddedIssuingCardsListConfigClaim
ConnectEmbeddedIssuingCardsListConfigClaimBuilder
ConnectEmbeddedIssuingCardsListFeatures
ConnectEmbeddedIssuingCardsListFeaturesBuilder
ConnectEmbeddedPaymentsConfigClaim
ConnectEmbeddedPaymentsConfigClaimBuilder
ConnectEmbeddedPaymentsFeatures
ConnectEmbeddedPaymentsFeaturesBuilder
ConnectEmbeddedPayoutsConfig
ConnectEmbeddedPayoutsConfigBuilder
ConnectEmbeddedPayoutsFeatures
ConnectEmbeddedPayoutsFeaturesBuilder
CountrySpec
Stripe needs to collect certain pieces of information about each account created. These requirements can differ depending on the account’s country. The Country Specs API makes these rules available to your integration.
CountrySpecId
CountrySpecVerificationFieldDetails
CountrySpecVerificationFieldDetailsBuilder
CountrySpecVerificationFields
CountrySpecVerificationFieldsBuilder
DeletedAccount
DeletedPerson
ExternalAccountBuilder
LegalEntityCompany
LegalEntityCompanyVerification
LegalEntityCompanyVerificationDocument
LegalEntityDirectorshipDeclaration
LegalEntityDob
LegalEntityJapanAddress
LegalEntityPersonVerification
LegalEntityPersonVerificationDocument
LegalEntityRegistrationDate
LegalEntityUboDeclaration
LoginLink
Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard. A Login Link differs from an Account Link in that it takes the user directly to their Express dashboard for the specified account.
Person
This is an object representing a person associated with a Stripe account.
PersonAdditionalTosAcceptance
PersonAdditionalTosAcceptances
PersonEthnicityDetails
PersonFutureRequirements
PersonId
PersonRaceDetails
PersonRelationship
PersonRequirements
PersonUsCfpbData
PlatformEarningFeeSource
SecretServiceResourceScope
SecretServiceResourceScopeBuilder
Topup
To top up your Stripe balance, you create a top-up object. You can retrieve individual top-ups, as well as list all top-ups. Top-ups are identified by a unique, random ID.
TopupId
Transfer
A Transfer object is created when you move funds between Stripe accounts as part of Connect.
TransferData
TransferId
TransferReversal
Stripe Connect platforms can reverse transfers made to a connected account, either entirely or partially, and can also specify whether to refund any related application fees. Transfer reversals add to the platform’s balance and subtract from the destination account’s balance.
TransferReversalId
TransferSchedule

Enums§

AccountBusinessProfileMinorityOwnedBusinessDesignation
Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
AccountBusinessType
AccountCapabilitiesStatus
AccountCapabilityFutureRequirementsDisabledReason
This is typed as an enum for consistency with requirements.disabled_reason, but it safe to assume future_requirements.disabled_reason is null because fields in future_requirements will never disable the account.
AccountCapabilityRequirementsDisabledReason
Description of why the capability is disabled. Learn more about handling verification issues.
AccountFutureRequirementsDisabledReason
This is typed as an enum for consistency with requirements.disabled_reason.
AccountInvoicesSettingsHostedPaymentMethodSave
Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
AccountRequirementsDisabledReason
If the account is disabled, this enum describes why. Learn more about handling verification issues.
AccountRequirementsErrorCode
The code for the type of error.
AccountType
The Stripe account type. Can be standard, express, custom, or none.
AccountUnificationAccountControllerFeesPayer
A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about fee behavior on connected accounts.
AccountUnificationAccountControllerLossesPayments
A value indicating who is liable when this account can’t pay back negative balances from payments.
AccountUnificationAccountControllerRequirementCollection
A value indicating responsibility for collecting requirements on this account. Only returned when the Connect application retrieving the resource controls the account.
AccountUnificationAccountControllerStripeDashboardType
A value indicating the Stripe dashboard this account has access to independent of the Connect application.
AccountUnificationAccountControllerType
The controller type. Can be application, if a Connect application controls the account, or account, if the account controls itself.
CapabilityStatus
The status of the capability.
ConnectAccountReferenceType
Type of the account referenced.
ExternalAccount
The resource representing a Stripe Polymorphic
LegalEntityCompanyOwnershipExemptionReason
This value is used to determine if a business is exempt from providing ultimate beneficial owners. See this support article and changelog for more details.
LegalEntityCompanyStructure
The category identifying the legal structure of the company or legal entity. Also available for accounts where controller.requirement_collection is stripe. See Business structure for more details.
PersonEthnicityDetailsEthnicity
The persons ethnicity
PersonPoliticalExposure
PersonRaceDetailsRace
The persons race.
PlatformEarningFeeSourceType
Type of object that created the application fee.
SecretServiceResourceScopeType
The secret scope type.
TopupStatus
The status of the top-up is either canceled, failed, pending, reversed, or succeeded.