provider POST
/v1/test_helpers/terminal/readers/{reader}/present_payment_method @utdk/stripe
/v1/test_helpers/terminal/readers/{reader}/present_payment_method Simulate presenting a payment method
<p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.</p>
- reader 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.posttesthelpersterminalreadersreaderpresentpaymentmethod()