Stripe Treasury API
Stripe Treasury is a banking-as-a-service API that lets you embed financial services in your product. With Stripe's API, you can enable businesses to hold funds, pay bills, earn yield, and manage their cash flow. Many users build Stripe Issuing in conjunction with Stripe Treasury to attach cards to spend funds in the account.
Operations 32
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/v1/treasury/credit_reversals
List credit reversals on a financial account · Get treasury credit reversals
#
Ask an LLM
“How do I see which incoming credits I've sent back to the sender?”
“Can I filter credit reversals by the received credit they reversed?”
Tell an agent
List credit reversals for financial account {financial_account}.
Show credit reversals with status {status} on financial account {financial_account}.
Ask an LLM
“How do I send an incoming credit back to where it came from?”
“Can I return money that was pushed into my treasury financial account?”
Tell an agent
Reverse received credit {received_credit}.
Return the funds from received credit {received_credit} and tag it with {metadata}.
GET
/v1/treasury/credit_reversals/{credit_reversal}
Get a credit reversal · Get treasury credit reversals credit reversal
#
Ask an LLM
“How do I check the status of a single credit reversal?”
“What details are recorded on a credit reversal after I create it?”
Tell an agent
Show credit reversal {credit_reversal}.
Check whether credit reversal {credit_reversal} has posted.
GET
/v1/treasury/debit_reversals
List debit reversals on a financial account · Get treasury debit reversals
#
Ask an LLM
“How do I see the pulled debits I've disputed or reversed?”
“Can I filter debit reversals by how they were resolved?”
Tell an agent
List debit reversals for financial account {financial_account}.
Show debit reversals with resolution {resolution} on financial account {financial_account}.
Ask an LLM
“How do I reverse a debit someone pulled from my treasury account?”
“Can I claw back funds that were debited from my financial account?”
Tell an agent
Reverse received debit {received_debit}.
Dispute received debit {received_debit} and note {metadata} on the reversal.
GET
/v1/treasury/debit_reversals/{debit_reversal}
Get a debit reversal · Get treasury debit reversals debit reversal
#
Ask an LLM
“How do I look up one debit reversal and its outcome?”
“Has my debit reversal been resolved yet?”
Tell an agent
Show debit reversal {debit_reversal}.
Check the resolution of debit reversal {debit_reversal}.
GET
/v1/treasury/financial_accounts
List treasury financial accounts · Get treasury financial accounts
#
Ask an LLM
“How do I see all the treasury financial accounts on my platform?”
“Can I list financial accounts created within a date range?”
Tell an agent
List my treasury financial accounts.
List financial accounts created in {created}.
POST
/v1/treasury/financial_accounts
Open a treasury financial account · Post treasury financial accounts
#
Ask an LLM
“How do I open a financial account to hold money for a connected account?”
“Can a connected account have more than one financial account?”
Tell an agent
Open a financial account that supports {supported_currencies}.
Create a financial account with features {features} in {supported_currencies}.
GET
/v1/treasury/financial_accounts/{financial_account}
Get a treasury financial account · Get treasury financial accounts financial account
#
Ask an LLM
“How do I check the balance and details of one financial account?”
“What does a treasury financial account record look like?”
Tell an agent
Show financial account {financial_account}.
Get the details of financial account {financial_account}.
POST
/v1/treasury/financial_accounts/{financial_account}
Update a treasury financial account · Post treasury financial accounts financial account
#
Ask an LLM
“How do I change the settings on an existing financial account?”
“Can I restrict which platform flows a financial account accepts?”
Tell an agent
Update metadata on financial account {financial_account} to {metadata}.
Set platform restrictions {platform_restrictions} on financial account {financial_account}.
GET
/v1/treasury/financial_accounts/{financial_account}/features
Get a financial account's enabled features · Get treasury financial accounts financial account features
#
Ask an LLM
“How do I see which features are turned on for a financial account?”
“Is card issuing or ACH enabled on my financial account?”
Tell an agent
Show the features on financial account {financial_account}.
Check which money movement features financial account {financial_account} has.
POST
/v1/treasury/financial_accounts/{financial_account}/features
Change a financial account's features · Post treasury financial accounts financial account features
#
Ask an LLM
“How do I turn on outbound payments for a financial account?”
“Can I enable deposit insurance or card issuing on an existing financial account?”
Tell an agent
Enable card issuing {card_issuing} on financial account {financial_account}.
Set outbound payments to {outbound_payments} for financial account {financial_account}.
GET
/v1/treasury/inbound_transfers
List inbound transfers into a financial account · Get treasury inbound transfers
#
Ask an LLM
“How do I see money I've pulled into my financial account from a bank?”
“Which inbound transfers are still processing or failed?”
Tell an agent
List inbound transfers for financial account {financial_account}.
Show inbound transfers with status {status} on financial account {financial_account}.
POST
/v1/treasury/inbound_transfers
Pull funds into a financial account · Post treasury inbound transfers
#
Ask an LLM
“How do I move money from an external bank account into my financial account?”
“Can I set the statement descriptor on an inbound transfer?”
Tell an agent
Pull {amount} {currency} into financial account {financial_account} from {origin_payment_method}.
Start an inbound transfer of {amount} {currency} to {financial_account} labelled {description}.
GET
/v1/treasury/inbound_transfers/{id}
Get an inbound transfer · Get treasury inbound transfers id
#
Ask an LLM
“How do I check whether an inbound transfer has arrived?”
“What details does an inbound transfer carry?”
Tell an agent
Show inbound transfer {id}.
Check the status of inbound transfer {id}.
POST
/v1/treasury/inbound_transfers/{inbound_transfer}/cancel
Cancel an inbound transfer · Post treasury inbound transfers inbound transfer cancel
#
Ask an LLM
“How do I stop an inbound transfer I started by mistake?”
“Can I cancel a pull from an external bank before it completes?”
Tell an agent destructive · confirm first
Cancel inbound transfer {inbound_transfer}.
Stop the pending inbound transfer {inbound_transfer}.
GET
/v1/treasury/outbound_payments
List outbound payments from a financial account · Get treasury outbound payments
#
Ask an LLM
“How do I see payments I've sent to third parties from my financial account?”
“Can I list outbound payments sent to a specific customer?”
Tell an agent
List outbound payments from financial account {financial_account}.
Show outbound payments to customer {customer} from financial account {financial_account}.
POST
/v1/treasury/outbound_payments
Send a payment to a third party · Post treasury outbound payments
#
Ask an LLM
“How do I pay a vendor from my treasury financial account?”
“Can I send an outbound payment to a customer's saved payment method?”
Tell an agent
Pay {amount} {currency} from {financial_account} to payment method {destination_payment_method}.
Send {amount} {currency} from {financial_account} to customer {customer}.
GET
/v1/treasury/outbound_payments/{id}
Get an outbound payment · Get treasury outbound payments id
#
Ask an LLM
“How do I track where an outbound payment is?”
“Has my outbound payment been posted or returned?”
Tell an agent
Show outbound payment {id}.
Check the status of outbound payment {id}.
POST
/v1/treasury/outbound_payments/{id}/cancel
Cancel an outbound payment · Post treasury outbound payments id cancel
#
Ask an LLM
“How do I cancel a payment I sent to a third party before it goes out?”
“Can I stop an outbound payment once it's created?”
Tell an agent destructive · confirm first
Cancel outbound payment {id}.
Stop outbound payment {id} before it's sent.
GET
/v1/treasury/outbound_transfers
List outbound transfers from a financial account · Get treasury outbound transfers
#
Ask an LLM
“How do I see transfers I've made from my financial account to my own bank?”
“Which outbound transfers are pending or failed?”
Tell an agent
List outbound transfers from financial account {financial_account}.
Show outbound transfers with status {status} from financial account {financial_account}.
POST
/v1/treasury/outbound_transfers
Move funds out to your own bank account · Post treasury outbound transfers
#
Ask an LLM
“How do I transfer money from my financial account to my external bank account?”
“Can I add a statement descriptor to an outbound transfer?”
Tell an agent
Transfer {amount} {currency} from {financial_account} to {destination_payment_method}.
Move {amount} {currency} out of {financial_account} with statement descriptor {statement_descriptor}.
GET
/v1/treasury/outbound_transfers/{outbound_transfer}
Get an outbound transfer · Get treasury outbound transfers outbound transfer
#
Ask an LLM
“How do I check on a single outbound transfer?”
“Has my transfer to my bank account been paid out yet?”
Tell an agent
Show outbound transfer {outbound_transfer}.
Check whether outbound transfer {outbound_transfer} has posted.
POST
/v1/treasury/outbound_transfers/{outbound_transfer}/cancel
Cancel an outbound transfer · Post treasury outbound transfers outbound transfer cancel
#
Ask an LLM
“How do I cancel a transfer to my bank before the money leaves?”
“Can I cancel an outbound transfer after the funds are paid out?”
Tell an agent destructive · confirm first
Cancel outbound transfer {outbound_transfer}.
Stop outbound transfer {outbound_transfer} before it pays out.
GET
/v1/treasury/received_credits
List money received into a financial account · Get treasury received credits
#
Ask an LLM
“How do I see incoming funds that landed in my financial account?”
“Can I filter received credits by the flow that created them?”
Tell an agent
List received credits for financial account {financial_account}.
Show received credits with status {status} on financial account {financial_account}.
Ask an LLM
“How do I look up one incoming credit and where it came from?”
“What details does a received credit include?”
Tell an agent
Show received credit {id}.
Get the details of incoming credit {id}.
GET
/v1/treasury/received_debits
List money pulled from a financial account · Get treasury received debits
#
Ask an LLM
“How do I see debits that external parties pulled from my financial account?”
“Which received debits failed on my financial account?”
Tell an agent
List received debits for financial account {financial_account}.
Show received debits with status {status} on financial account {financial_account}.
Ask an LLM
“How do I look up one debit pulled from my financial account?”
“Who initiated this received debit and did it succeed?”
Tell an agent
Show received debit {id}.
Get the details of pulled debit {id}.
GET
/v1/treasury/transaction_entries
List ledger entries on a financial account · Get treasury transaction entries
#
Ask an LLM
“How do I see the individual balance changes on my financial account?”
“Can I list transaction entries by effective date?”
Tell an agent
List transaction entries for financial account {financial_account}.
Show ledger entries on {financial_account} effective in {effective_at}.
GET
/v1/treasury/transaction_entries/{id}
Get a ledger entry · Get treasury transaction entries id
#
Ask an LLM
“How do I look up one balance change on my financial account?”
“What does a single transaction entry show?”
Tell an agent
Show transaction entry {id}.
Get the details of ledger entry {id}.
GET
/v1/treasury/transactions
List transactions on a financial account · Get treasury transactions
#
Ask an LLM
“How do I see all money movement on my treasury financial account?”
“Can I list only posted or voided treasury transactions?”
Tell an agent
List transactions for financial account {financial_account}.
Show transactions with status {status} on financial account {financial_account}.
Ask an LLM
“How do I look up one treasury transaction and its status?”
“What flow created this transaction on my financial account?”
Tell an agent
Show treasury transaction {id}.
Look up the money movement recorded as transaction {id}.