provider POST /v1/terminal/readers/{reader}/collect_payment_method
@utdk/stripe /v1/terminal/readers/{reader}/collect_payment_method
Hand off a PaymentIntent to a Reader and collect card details
<p>Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See <a href="/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod">Collecting a Payment method</a> for more details.</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.

postterminalreadersreadercollectpaymentmethod
POST/v1/terminal/readers/{reader}/collect_payment_method
<p>Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See <a href="/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod">Collecting a Payment method</a> for more details.</p>

Parameters

required

Input

Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings.

Specifies which fields in the response should be expanded.

required

The ID of the PaymentIntent to collect a payment method for.

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