provider POST
/v1/test_helpers/treasury/outbound_payments/{id}/fail @utdk/stripe
/v1/test_helpers/treasury/outbound_payments/{id}/fail Test mode: Fail an OutboundPayment
<p>Transitions a test mode created OutboundPayment to the <code>failed</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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.posttesthelperstreasuryoutboundpaymentsidfail()