Skip to content

Stripe: Create an Outbound Payment

Stripe treasury.postTreasuryOutboundPayments: arguments, response, policy and SDK examples.

← Treasury operations · Get started

Operation stripe.posttreasuryoutboundpayments

Provider route: POST /v1/treasury/outbound_payments. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["treasury"]["postTreasuryOutboundPayments"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.treasury.postTreasuryOutboundPayments(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_stripe import StripeIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.treasury.post_treasury_outbound_payments(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
headersobjectOptionalAdditional keys: not allowed
headers.Idempotency-KeystringOptionalMinimum length: 1
Maximum length: 255
bodyobjectRequired within parentAdditional keys: not allowed
body.amountintegerRequired within parentAmount (in cents) to be transferred.
body.currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
body.customerstringOptionalID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the `destination_payment_method` passed in.
Maximum length: 5000
body.descriptionstringOptionalAn arbitrary string attached to the object. Often useful for displaying to users.
Maximum length: 5000
body.destination_payment_methodstringOptionalThe PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with `destination_payment_method_data`.
Maximum length: 5000
body.destination_payment_method_dataobjectOptionalHash used to generate the PaymentMethod to be used for this OutboundPayment. Exclusive with `destination_payment_method`.
body.destination_payment_method_data.billing_detailsobjectOptional
body.destination_payment_method_data.billing_details.addressJSONOptional
body.destination_payment_method_data.billing_details.address (anyOf 1)objectAlternative
body.destination_payment_method_data.billing_details.address (anyOf 1).citystringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 1).countrystringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 1).line1stringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 1).line2stringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 1).postal_codestringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 1).statestringOptionalMaximum length: 5000
body.destination_payment_method_data.billing_details.address (anyOf 2)stringAlternativeOne of:
body.destination_payment_method_data.billing_details.emailJSONOptional
body.destination_payment_method_data.billing_details.email (anyOf 1)stringAlternative
body.destination_payment_method_data.billing_details.email (anyOf 2)stringAlternativeOne of:
body.destination_payment_method_data.billing_details.nameJSONOptional
body.destination_payment_method_data.billing_details.name (anyOf 1)stringAlternativeMaximum length: 5000
body.destination_payment_method_data.billing_details.name (anyOf 2)stringAlternativeOne of:
body.destination_payment_method_data.billing_details.phoneJSONOptional
body.destination_payment_method_data.billing_details.phone (anyOf 1)stringAlternativeMaximum length: 5000
body.destination_payment_method_data.billing_details.phone (anyOf 2)stringAlternativeOne of:
body.destination_payment_method_data.financial_accountstringOptional
body.destination_payment_method_data.metadataobjectOptionalAdditional keys: see wildcard field
body.destination_payment_method_data.metadata.*stringAdditional keys
body.destination_payment_method_data.typestringRequired within parentOne of: financial_account, us_bank_account
body.destination_payment_method_data.us_bank_accountobjectOptional
body.destination_payment_method_data.us_bank_account.account_holder_typestringOptionalOne of: company, individual
body.destination_payment_method_data.us_bank_account.account_numberstringOptionalMaximum length: 5000
body.destination_payment_method_data.us_bank_account.account_typestringOptionalOne of: checking, savings
body.destination_payment_method_data.us_bank_account.financial_connections_accountstringOptionalMaximum length: 5000
body.destination_payment_method_data.us_bank_account.routing_numberstringOptionalMaximum length: 5000
body.destination_payment_method_optionsobjectOptionalPayment method-specific configuration for this OutboundPayment.
body.destination_payment_method_options.us_bank_accountJSONOptional
body.destination_payment_method_options.us_bank_account (anyOf 1)objectAlternative
body.destination_payment_method_options.us_bank_account (anyOf 1).networkstringOptionalOne of: ach, us_domestic_wire
body.destination_payment_method_options.us_bank_account (anyOf 2)stringAlternativeOne of:
body.end_user_detailsobjectOptionalEnd user details.
body.end_user_details.ip_addressstringOptional
body.end_user_details.presentbooleanRequired within parent
body.expandarrayOptionalSpecifies which fields in the response should be expanded.
body.expand[]stringEach itemMaximum length: 5000
body.financial_accountstringRequired within parentThe FinancialAccount to pull funds from.
body.metadataobjectOptionalSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Additional keys: see wildcard field
body.metadata.*stringAdditional keys
body.statement_descriptorstringOptionalThe description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. Can only include -#.$&*, spaces, and alphanumeric characters. The default value is “payment”.
Maximum length: 5000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Cancel an Outbound Payment — response body

Referenced models: Cancel an Outbound Payment — response body

748 more schemas are linked from the tables above, on the schema pages.

Cancel an Outbound Payment — response body
FieldTypePresenceDescription and constraints
$objectRootUse [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://docs.stripe.com/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://docs.stripe.com/api#outbound_transfers).

Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.

Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeAmount (in cents) transferred.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
cancelablebooleanRequired within parentReturns `true` if the object can be canceled, and `false` otherwise.
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
customerJSONOptional
customer (anyOf 1)stringAlternativeID of the [customer](https://docs.stripe.com/api/customers) to whom an OutboundPayment is sent.
Maximum length: 5000
customer (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn arbitrary string attached to the object. Often useful for displaying to users.
Maximum length: 5000
description (anyOf 2)nullAlternative
destination_payment_methodJSONOptional
destination_payment_method (anyOf 1)stringAlternativeThe PaymentMethod via which an OutboundPayment is sent. This field can be empty if the OutboundPayment was created using `destination_payment_method_data`.
Maximum length: 5000
destination_payment_method (anyOf 2)nullAlternative
destination_payment_method_detailsJSONOptional
destination_payment_method_details (anyOf 1)JSONAlternativeDetails about the PaymentMethod for an OutboundPayment.
destination_payment_method_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel an OutboundPayment — response body — destination_payment_method_details / value / type: financial account, us bank account
destination_payment_method_details (anyOf 2)nullAlternative
end_user_detailsJSONOptional
end_user_details (anyOf 1)JSONAlternativeDetails about the end user.
end_user_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel an Outbound Payment — response body — end user details Details about the end user ip address, present
end_user_details (anyOf 2)nullAlternative
expected_arrival_dateJSONRequired within parent
expected_arrival_date (anyOf 1)integerAlternativeThe date when funds are expected to arrive in the destination account.
Format: unix-time
expected_arrival_date (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
financial_accountstringRequired within parentThe FinancialAccount that funds were pulled from.
Maximum length: 5000
hosted_regulatory_receipt_urlJSONOptional
hosted_regulatory_receipt_url (anyOf 1)stringAlternativeA [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
Maximum length: 5000
hosted_regulatory_receipt_url (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataobjectRequired within parentSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: treasury.outbound_payment
returned_detailsJSONOptional
returned_details (anyOf 1)JSONAlternativeDetails about a returned OutboundPayment. Only set when the status is `returned`.
returned_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel an Outbound Payment — response body — returned details value code, transaction
returned_details (anyOf 2)nullAlternative
statement_descriptorstringRequired within parentThe description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer).
Maximum length: 5000
statusstringRequired within parentCurrent status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`. An OutboundPayment is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundPayment has been "confirmed" and funds have left the account, or to `failed` or `canceled`. If an OutboundPayment fails to arrive at its destination, its status will change to `returned`.
Known values: canceled, failed, posted, processing, returned
status_transitionsModelRequired within parentExpand Cancel an Outbound Payment — response body — status transitions
tracking_detailsJSONOptional
tracking_details (anyOf 1)JSONAlternativeDetails about network-specific tracking information if available.
tracking_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel an OutboundPayment — response body — tracking_details / value / type: ach, us domestic wire
tracking_details (anyOf 2)nullAlternative
transactionJSONRequired within parentThe Transaction associated with this object.
transaction (anyOf 1)stringAlternativeMaximum length: 5000
transaction (anyOf 2)ModelAlternativeExpand Retrieve a Transaction — treasury get Treasury Transactions Id — response body

Referenced models: Cancel an OutboundPayment — response body — destination_payment_method_details / value / type: financial account, us bank account, Retrieve a Transaction — treasury get Treasury Transactions Id — response body, Cancel an Outbound Payment — response body — end user details Details about the end user ip address, present, Cancel an Outbound Payment — response body — status transitions, Cancel an OutboundPayment — response body — tracking_details / value / type: ach, us domestic wire, Cancel an Outbound Payment — response body — returned details value code, transaction

Cancel an OutboundPayment — response body — destination_payment_method_details / value / type: financial account, us bank account
FieldTypePresenceDescription and constraints
$objectRoot
billing_detailsModelRequired within parentExpand Retrieve a Received Debit — response body — initiating payment method details billing details
financial_accountModelOptionalExpand Cancel an Outbound Transfer — response body — destination payment method details financial account
typestringRequired within parentThe type of the payment method used in the OutboundPayment.
Known values: financial_account, us_bank_account
us_bank_accountModelOptionalExpand Cancel an Outbound Transfer — response body — destination payment method details us bank account

Referenced models: Cancel an Outbound Transfer — response body — destination payment method details financial account, Cancel an Outbound Transfer — response body — destination payment method details us bank account, Retrieve a Received Debit — response body — initiating payment method details billing details

Cancel an Outbound Payment — response body — end user details Details about the end user ip address, present
FieldTypePresenceDescription and constraints
$objectRoot
ip_addressJSONOptional
ip_address (anyOf 1)stringAlternativeIP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked.
Maximum length: 5000
ip_address (anyOf 2)nullAlternative
presentbooleanRequired within parent`true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`.
Cancel an OutboundPayment — response body — tracking_details / value / type: ach, us domestic wire ach
FieldTypePresenceDescription and constraints
$objectRoot
trace_idstringRequired within parentACH trace ID of the OutboundPayment for payments sent over the `ach` network.
Maximum length: 5000

SDK function policy ID: stripe.posttreasuryoutboundpayments. Catalog operation: PostTreasuryOutboundPayments. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Stripe-Version": "2026-09-30.endive"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.