provider POST /v1/test_helpers/treasury/outbound_payments/{id}/return
@utdk/stripe /v1/test_helpers/treasury/outbound_payments/{id}/return
Test mode: Return an OutboundPayment
<p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment must already be in the <code>processing</code> state.</p>
id path required
string

Try it

Authentication
Configure credentials for Stripe API
posttesthelperstreasuryoutboundpaymentsidreturn
POST/v1/test_helpers/treasury/outbound_payments/{id}/return
<p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment must already be in the <code>processing</code> state.</p>

Parameters

required

Input

Specifies which fields in the response should be expanded.

Optional hash to set the return code.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.posttesthelperstreasuryoutboundpaymentsidreturn()