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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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.

Enter a gateway URL above to enable sending.

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

TypeScript

import stripe from '@utdk/stripe';

await stripe.posttesthelperstreasuryoutboundpaymentsidreturn()