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.

posttesthelpersterminalreadersreaderpresentpaymentmethod
POST/v1/test_helpers/terminal/readers/{reader}/present_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>

Parameters

required

Input

Simulated on-reader tip amount.

Simulated data for the card payment method.

Simulated data for the card_present payment method.

Specifies which fields in the response should be expanded.

Simulated data for the interac_present payment method.

Simulated payment type.

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.posttesthelpersterminalreadersreaderpresentpaymentmethod()