Expand description
This crate provides Rust bindings to the Stripe HTTP API, specifically
for requests mentioned in the Treasury
section of the Stripe API docs
Modules§
- treasury_
credit_ reversal - treasury_
debit_ reversal - treasury_
financial_ account - treasury_
inbound_ transfer - treasury_
outbound_ payment - treasury_
outbound_ transfer - treasury_
received_ credit - treasury_
received_ debit - treasury_
transaction - treasury_
transaction_ entry
Structs§
- Inbound
Transfers - For more details see <https://stripe.com/docs/api/treasury/inbound_transfers>.
- Inbound
Transfers Builder - Inbound
Transfers Payment Method Details UsBank Account - Inbound
Transfers Payment Method Details UsBank Account Builder - Outbound
Payments Payment Method Details - Outbound
Payments Payment Method Details Builder - Outbound
Payments Payment Method Details Financial Account - Outbound
Payments Payment Method Details Financial Account Builder - Outbound
Payments Payment Method Details UsBank Account - Outbound
Payments Payment Method Details UsBank Account Builder - Outbound
Transfers Payment Method Details - Outbound
Transfers Payment Method Details Builder - Outbound
Transfers Payment Method Details Financial Account - Outbound
Transfers Payment Method Details Financial Account Builder - Outbound
Transfers Payment Method Details UsBank Account - Outbound
Transfers Payment Method Details UsBank Account Builder - Received
Payment Method Details Financial Account - Received
Payment Method Details Financial Account Builder - Treasury
Credit Reversal - You can reverse some ReceivedCredits depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
- Treasury
Credit Reversal Id - Treasury
Debit Reversal - You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.
- Treasury
Debit Reversal Id - Treasury
Financial Account - Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance. FinancialAccounts serve as the source and destination of Treasury’s money movement APIs.
- Treasury
Financial Account Features - Encodes whether a FinancialAccount has access to a particular Feature, with a
status
enum and associatedstatus_details
. Stripe or the platform can control Features via the requested field. - Treasury
Financial Account Features Builder - Treasury
Financial Account Id - Treasury
Financial Accounts Resource AbaRecord - ABA Records contain U.S. bank account details per the ABA format.
- Treasury
Financial Accounts Resource AbaRecord Builder - Treasury
Financial Accounts Resource AbaToggle Settings - Toggle settings for enabling/disabling the ABA address feature
- Treasury
Financial Accounts Resource AbaToggle Settings Builder - Treasury
Financial Accounts Resource Balance - Balance information for the FinancialAccount
- Treasury
Financial Accounts Resource Balance Builder - Treasury
Financial Accounts Resource Closed Status Details - Treasury
Financial Accounts Resource Closed Status Details Builder - Treasury
Financial Accounts Resource Financial Address - FinancialAddresses contain identifying information that resolves to a FinancialAccount.
- Treasury
Financial Accounts Resource Financial Address Builder - Treasury
Financial Accounts Resource Financial Addresses Features - Settings related to Financial Addresses features on a Financial Account
- Treasury
Financial Accounts Resource Financial Addresses Features Builder - Treasury
Financial Accounts Resource Inbound AchToggle Settings - Toggle settings for enabling/disabling an inbound ACH specific feature
- Treasury
Financial Accounts Resource Inbound AchToggle Settings Builder - Treasury
Financial Accounts Resource Inbound Transfers - InboundTransfers contains inbound transfers features for a FinancialAccount.
- Treasury
Financial Accounts Resource Inbound Transfers Builder - Treasury
Financial Accounts Resource Outbound AchToggle Settings - Toggle settings for enabling/disabling an outbound ACH specific feature
- Treasury
Financial Accounts Resource Outbound AchToggle Settings Builder - Treasury
Financial Accounts Resource Outbound Payments - Settings related to Outbound Payments features on a Financial Account
- Treasury
Financial Accounts Resource Outbound Payments Builder - Treasury
Financial Accounts Resource Outbound Transfers - OutboundTransfers contains outbound transfers features for a FinancialAccount.
- Treasury
Financial Accounts Resource Outbound Transfers Builder - Treasury
Financial Accounts Resource Platform Restrictions - Restrictions that a Connect Platform has placed on this FinancialAccount.
- Treasury
Financial Accounts Resource Platform Restrictions Builder - Treasury
Financial Accounts Resource Status Details - Treasury
Financial Accounts Resource Status Details Builder - Treasury
Financial Accounts Resource Toggle Settings - Toggle settings for enabling/disabling a feature
- Treasury
Financial Accounts Resource Toggle Settings Builder - Treasury
Financial Accounts Resource Toggles Setting Status Details - Additional details on the FinancialAccount Features information.
- Treasury
Financial Accounts Resource Toggles Setting Status Details Builder - Treasury
Inbound Transfer - Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
- Treasury
Inbound Transfer Id - Treasury
Inbound Transfers Resource Failure Details - Treasury
Inbound Transfers Resource Failure Details Builder - Treasury
Inbound Transfers Resource Inbound Transfer Resource Linked Flows - Treasury
Inbound Transfers Resource Inbound Transfer Resource Linked Flows Builder - Treasury
Inbound Transfers Resource Inbound Transfer Resource Status Transitions - Treasury
Inbound Transfers Resource Inbound Transfer Resource Status Transitions Builder - Treasury
Outbound Payment - Use OutboundPayments to send funds to another party’s external bank account or FinancialAccount. To send money to an account belonging to the same user, use an OutboundTransfer.
- Treasury
Outbound Payment Id - Treasury
Outbound Payments Resource AchTracking Details - Treasury
Outbound Payments Resource AchTracking Details Builder - Treasury
Outbound Payments Resource Outbound Payment Resource EndUser Details - Treasury
Outbound Payments Resource Outbound Payment Resource EndUser Details Builder - Treasury
Outbound Payments Resource Outbound Payment Resource Status Transitions - Treasury
Outbound Payments Resource Outbound Payment Resource Status Transitions Builder - Treasury
Outbound Payments Resource Outbound Payment Resource Tracking Details - Treasury
Outbound Payments Resource Outbound Payment Resource Tracking Details Builder - Treasury
Outbound Payments Resource Returned Status - Treasury
Outbound Payments Resource Returned Status Builder - Treasury
Outbound Payments Resource UsDomestic Wire Tracking Details - Treasury
Outbound Payments Resource UsDomestic Wire Tracking Details Builder - Treasury
Outbound Transfer - Use OutboundTransfers to transfer funds from a FinancialAccount to a PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can send funds over ACH rails or through a domestic wire transfer to a user’s own external bank account.
- Treasury
Outbound Transfer Id - Treasury
Outbound Transfers Resource AchTracking Details - Treasury
Outbound Transfers Resource AchTracking Details Builder - Treasury
Outbound Transfers Resource Outbound Transfer Resource Tracking Details - Treasury
Outbound Transfers Resource Outbound Transfer Resource Tracking Details Builder - Treasury
Outbound Transfers Resource Returned Details - Treasury
Outbound Transfers Resource Returned Details Builder - Treasury
Outbound Transfers Resource Status Transitions - Treasury
Outbound Transfers Resource Status Transitions Builder - Treasury
Outbound Transfers Resource UsDomestic Wire Tracking Details - Treasury
Outbound Transfers Resource UsDomestic Wire Tracking Details Builder - Treasury
Received Credit - ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
- Treasury
Received Credit Id - Treasury
Received Credits Resource Linked Flows - Treasury
Received Credits Resource Linked Flows Builder - Treasury
Received Credits Resource Reversal Details - Treasury
Received Credits Resource Reversal Details Builder - Treasury
Received Credits Resource Source Flows Details - Treasury
Received Credits Resource Source Flows Details Builder - Treasury
Received Credits Resource Status Transitions - Treasury
Received Credits Resource Status Transitions Builder - Treasury
Received Debit - ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.
- Treasury
Received Debit Id - Treasury
Received Debits Resource Debit Reversal Linked Flows - Treasury
Received Debits Resource Debit Reversal Linked Flows Builder - Treasury
Received Debits Resource Linked Flows - Treasury
Received Debits Resource Linked Flows Builder - Treasury
Received Debits Resource Reversal Details - Treasury
Received Debits Resource Reversal Details Builder - Treasury
Received Debits Resource Status Transitions - Treasury
Received Debits Resource Status Transitions Builder - Treasury
Shared Resource Billing Details - Treasury
Shared Resource Billing Details Builder - Treasury
Shared Resource Initiating Payment Method Details Initiating Payment Method Details - Treasury
Shared Resource Initiating Payment Method Details Initiating Payment Method Details Builder - Treasury
Shared Resource Initiating Payment Method Details UsBank Account - Treasury
Shared Resource Initiating Payment Method Details UsBank Account Builder - Treasury
Transaction - Transactions represent changes to a FinancialAccount’s balance.
- Treasury
Transaction Entry - TransactionEntries represent individual units of money movements within a single Transaction.
- Treasury
Transaction Entry Id - Treasury
Transaction Id - Treasury
Transactions Resource Abstract Transaction Resource Status Transitions - Treasury
Transactions Resource Abstract Transaction Resource Status Transitions Builder - Treasury
Transactions Resource Balance Impact - Change to a FinancialAccount’s balance
- Treasury
Transactions Resource Balance Impact Builder - Treasury
Transactions Resource Flow Details - Treasury
Transactions Resource Flow Details Builder
Enums§
- Inbound
Transfers Payment Method Details UsBank Account Account Holder Type - Account holder type: individual or company.
- Inbound
Transfers Payment Method Details UsBank Account Account Type - Account type: checkings or savings. Defaults to checking if omitted.
- Inbound
Transfers Payment Method Details UsBank Account Network - The network rails used. See the docs to learn more about money movement timelines for each network type.
- Inbound
Transfers Type - The type of the payment method used in the InboundTransfer.
- Outbound
Payments Payment Method Details Financial Account Network - The rails used to send funds.
- Outbound
Payments Payment Method Details Type - The type of the payment method used in the OutboundPayment.
- Outbound
Payments Payment Method Details UsBank Account Account Holder Type - Account holder type: individual or company.
- Outbound
Payments Payment Method Details UsBank Account Account Type - Account type: checkings or savings. Defaults to checking if omitted.
- Outbound
Payments Payment Method Details UsBank Account Network - The network rails used. See the docs to learn more about money movement timelines for each network type.
- Outbound
Transfers Payment Method Details Financial Account Network - The rails used to send funds.
- Outbound
Transfers Payment Method Details Type - The type of the payment method used in the OutboundTransfer.
- Outbound
Transfers Payment Method Details UsBank Account Account Holder Type - Account holder type: individual or company.
- Outbound
Transfers Payment Method Details UsBank Account Account Type - Account type: checkings or savings. Defaults to checking if omitted.
- Outbound
Transfers Payment Method Details UsBank Account Network - The network rails used. See the docs to learn more about money movement timelines for each network type.
- Received
Payment Method Details Financial Account Network - The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over
stripe
. - Treasury
Credit Reversal Network - The rails used to reverse the funds.
- Treasury
Credit Reversal Status - Treasury
Debit Reversal Network - The rails used to reverse the funds.
- Treasury
Debit Reversal Status - Status of the DebitReversal
- Treasury
Financial Account Array - Treasury
Financial Account Status - Status of this FinancialAccount.
- Treasury
Financial Accounts Resource AbaToggle Settings Status - Whether the Feature is operational.
- Treasury
Financial Accounts Resource Closed Status Details Reasons - The array that contains reasons for a FinancialAccount closure.
- Treasury
Financial Accounts Resource Financial Address Supported Networks - The list of networks that the address supports
- Treasury
Financial Accounts Resource Financial Address Type - The type of financial address
- Treasury
Financial Accounts Resource Inbound AchToggle Settings Status - Whether the Feature is operational.
- Treasury
Financial Accounts Resource Outbound AchToggle Settings Status - Whether the Feature is operational.
- Treasury
Financial Accounts Resource Platform Restrictions Inbound Flows - Restricts all inbound money movement.
- Treasury
Financial Accounts Resource Platform Restrictions Outbound Flows - Restricts all outbound money movement.
- Treasury
Financial Accounts Resource Toggle Settings Status - Whether the Feature is operational.
- Treasury
Financial Accounts Resource Toggles Setting Status Details Code - Represents the reason why the status is
pending
orrestricted
. - Treasury
Financial Accounts Resource Toggles Setting Status Details Resolution - Represents what the user should do, if anything, to activate the Feature.
- Treasury
Financial Accounts Resource Toggles Setting Status Details Restriction - The
platform_restrictions
that are restricting this Feature. - Treasury
Inbound Transfer Status - Treasury
Inbound Transfers Resource Failure Details Code - Reason for the failure.
- Treasury
Outbound Payment Status - Treasury
Outbound Payments Resource Outbound Payment Resource Tracking Details Type - The US bank account network used to send funds.
- Treasury
Outbound Payments Resource Returned Status Code - Reason for the return.
- Treasury
Outbound Transfer Status - Treasury
Outbound Transfers Resource Outbound Transfer Resource Tracking Details Type - The US bank account network used to send funds.
- Treasury
Outbound Transfers Resource Returned Details Code - Reason for the return.
- Treasury
Received Credit Failure Code - Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.
- Treasury
Received Credit Network - The rails used to send the funds.
- Treasury
Received Credit Status - Treasury
Received Credits Resource Reversal Details Restricted Reason - Set if a ReceivedCredit cannot be reversed.
- Treasury
Received Credits Resource Source Flows Details Type - The type of the source flow that originated the ReceivedCredit.
- Treasury
Received Debit Failure Code - Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn’t have sufficient funds, is closed, or is frozen.
- Treasury
Received Debit Network - The network used for the ReceivedDebit.
- Treasury
Received Debit Status - Treasury
Received Debits Resource Reversal Details Restricted Reason - Set if a ReceivedDebit can’t be reversed.
- Treasury
Shared Resource Initiating Payment Method Details Initiating Payment Method Details Balance - Set when
type
isbalance
. - Treasury
Shared Resource Initiating Payment Method Details Initiating Payment Method Details Type - Polymorphic type matching the originating money movement’s source. This can be an external account, a Stripe balance, or a FinancialAccount.
- Treasury
Transaction Entry Flow Type - Type of the flow associated with the TransactionEntry.
- Treasury
Transaction Entry Type - The specific money movement that generated the TransactionEntry.
- Treasury
Transaction Flow Type - Type of the flow that created the Transaction.
- Treasury
Transaction Status - Treasury
Transactions Resource Flow Details Type - Type of the flow that created the Transaction. Set to the same value as
flow_type
.