Documentation Index
Fetch the complete documentation index at: https://mintlify.com/stripe/stripe-terminal-react-native/llms.txt
Use this file to discover all available pages before exploring further.
PaymentIntent.Type
Represents a Stripe PaymentIntent as returned by the Terminal SDK.
The PaymentIntent’s unique identifier.
Amount intended to be collected, in the smallest currency unit (e.g., cents for USD).
Three-letter ISO currency code in lowercase.
How the payment is captured:
automatic or manual.ISO 8601 timestamp of when the PaymentIntent was created.
Whether the PaymentIntent was created in live mode.
A UUID assigned by the SDK to uniquely identify this PaymentIntent locally (used for offline reconciliation).
The PaymentIntent’s current status. See
PaymentIntent.Status.Amount that can be captured from this PaymentIntent.
Breakdown of the amount, including tip, donation, and surcharge. See
AmountDetails.Amount that was collected.
The originally requested amount.
The surcharge amount, if any.
The tip amount, if any.
The amount of the application fee.
ISO 8601 timestamp of when the PaymentIntent was canceled.
Reason the PaymentIntent was canceled.
The client secret of this PaymentIntent.
Confirmation method:
automatic or manual.ID of the Stripe Customer object associated with this PaymentIntent.
An arbitrary string attached to the PaymentIntent.
Details about the last payment error. See
ApiErrorInformation.Set of key-value pairs attached to the PaymentIntent.
Details of the next action to complete the payment, if required.
Details about an offline payment. See
OfflineDetails.The Stripe account ID for which this payment is being collected.
The PaymentMethod attached to this PaymentIntent. See
PaymentMethod.Type.The ID of the PaymentMethod.
Options for the PaymentMethod. See
PaymentMethodOptions.List of payment method type codes allowed for this PaymentIntent.
Email address to send the receipt to.
Indicates how the PaymentMethod should be used for future payments:
off_session or on_session.Statement descriptor shown on the customer’s bank statement.
Suffix appended to the statement descriptor.
A string that identifies the resulting payment as part of a group.
PaymentIntent.Status
The current state of a PaymentIntent.
| Value | Description |
|---|---|
canceled | The PaymentIntent was canceled |
processing | Payment is being processed |
requiresAction | Further action is required (e.g., customer authentication) |
requiresCapture | Payment is authorized and awaiting capture |
requiresConfirmation | Awaiting confirmation |
requiresPaymentMethod | No payment method has been attached yet |
succeeded | Payment was successfully collected |
unknown | Status cannot be determined |
Charge
A charge attempt associated with a PaymentIntent.
The charge’s unique identifier.
The amount charged, in the smallest currency unit.
The amount refunded.
Whether the charge was captured.
Three-letter ISO currency code.
Whether the charge was made in live mode.
Whether the charge was paid.
Whether the charge has been fully refunded.
ID of the application fee associated with this charge.
The application fee amount.
Authorization code for the charge.
ID of the balance transaction that describes the impact of this charge.
The full statement descriptor sent to the card network.
ISO 8601 timestamp of when the charge was created.
ID of the customer associated with this charge.
Description of the charge.
Details about the source that generated this charge.
Set of key-value pairs attached to the charge.
The Stripe account the charge was made on behalf of.
ID of the PaymentIntent associated with this charge.
Details about the payment method used. See
PaymentMethodDetails.Email to which the receipt was sent.
Receipt number for this charge.
URL of the charge’s receipt.
Suffix on the statement descriptor.
Status of the charge:
succeeded, pending, or failed.PaymentMethodDetails
Details about the payment method used in a charge or refund.
The payment method type (e.g.,
cardPresent, interacPresent, wechatPay).Details for card-present payments. See
CardPresentDetails.Details for Interac-present payments (same shape as
CardPresentDetails).Details for WeChat Pay payments. See
WechatPayDetails.Details for Affirm payments. See
AffirmDetails.Details for PayNow payments. See
PaynowDetails.Details for PayPay payments. See
PaypayDetails.Details for card (not card-present) payments. See
CardDetails.CardPresentDetails
Details about a card-present transaction.
Last four digits of the card number.
Card expiration month.
Card expiration year.
Card funding type:
credit, debit, prepaid, or unknown.Card brand: e.g.,
visa, mastercard, amex.List of preferred locales for the cardholder.
The card issuer.
Issuer identification number (first 6 digits of the card).
Card network (e.g.,
visa, mastercard).A human-readable description of the card.
Name of the cardholder.
ID of the generated card (used for saving the card).
EMV receipt data. See
ReceiptDetails.Raw EMV authorization data.
Two-letter country code of the card’s issuing country.
ID of the location where the payment was taken.
ID of the reader used for this payment.
ReceiptDetails
EMV receipt data from a card-present transaction.
Account type used for the transaction.
The application cryptogram.
The application preferred name.
Authorization code from the issuer.
Authorization response code.
Cardholder verification method used.
EMV dedicated file name.
Terminal verification result bytes.
Transaction status information bytes.
Wallet
Represents a digital wallet used to present a card.
The wallet type, e.g.,
apple_pay, google_pay, samsung_pay.WechatPayDetails
Details for a WeChat Pay transaction.
ID of the location where the payment occurred.
ID of the reader used.
WeChat Pay transaction ID.
AffirmDetails
Details for an Affirm transaction.
ID of the location where the payment occurred.
ID of the reader used.
Affirm transaction ID.
PaynowDetails
Details for a PayNow transaction.
ID of the location where the payment occurred.
ID of the reader used.
PayNow reference number.
PaypayDetails
Details for a PayPay transaction.
ID of the location where the payment occurred.
ID of the reader used.
PayPay reference number.
CardDetails
Details about a card payment method (not card-present).
Card brand.
Two-letter country code of the issuing country.
Expiration month.
Expiration year.
Card funding type.
Details about the source that generated this card.
Last four digits of the card number.
CreatePaymentIntentParams
Parameters for creating a new PaymentIntent.
Amount to collect in the smallest currency unit.
Three-letter ISO currency code.
How the payment is captured. Defaults to
automatic.Indicates the intended future usage of the payment method.
The Stripe account ID on whose behalf the charge is made.
The destination account for the transfer.
Amount of the application fee.
An arbitrary description for the PaymentIntent.
Statement descriptor shown on the customer’s bank statement (up to 22 characters).
Suffix appended to the statement descriptor.
Email address to send the receipt to.
ID of the customer to associate with this PaymentIntent.
A string that identifies the resulting payment as part of a group.
Arbitrary key-value metadata.
Additional options for the payment method. See
PaymentMethodOptions.Controls offline payment behavior.
List of allowed payment method types. (iOS only)
PaymentMethodOptions
Additional options for the payment method on a PaymentIntent.
The requested priority for the payment method.
Request extended authorization.
Request incremental authorization support.
Request partial authorization.
Override the capture method for this payment method.
CollectPaymentMethodParams
Parameters for collecting a payment method from a customer.
The PaymentIntent to collect a payment method for.
When
true, skips the tipping screen.The portion of the amount eligible for tipping.
Whether to update the PaymentIntent on the server before collecting.
Controls whether the customer can cancel the payment collection. See
CustomerCancellation.Request dynamic currency conversion (DCC) if available.
Notice text to display when a surcharge applies.
Controls whether the collected payment method may be redisplayed to the customer. See
AllowRedisplay.Configuration for Mail Order / Telephone Order (MOTO) payments. See
MotoConfiguration.ConfirmPaymentMethodParams
Parameters for confirming a collected payment method.
The PaymentIntent to confirm.
URL to redirect to after completing the action (used for redirect-based payment methods).
ProcessPaymentIntentParams
Combined parameters for collecting and confirming a payment in a single call. Includes all fields from both CollectPaymentMethodParams and ConfirmPaymentMethodParams.
The PaymentIntent to process.
Skip the tipping screen.
Amount eligible for tipping.
Update the PaymentIntent on the server before processing.
Customer cancellation control. See
CustomerCancellation.Request DCC if available.
Surcharge notice text.
Allow-redisplay setting. See
AllowRedisplay.MOTO configuration. See
MotoConfiguration.Return URL for redirect-based payment methods.
CancelPaymentMethodParams
Parameters for canceling an in-progress payment method collection.
The PaymentIntent whose collection should be canceled.
Surcharge
Surcharge details applied at payment confirmation.
The surcharge amount in the smallest currency unit.
Consent details for the surcharge. See
SurchargeConsent.SurchargeConsent
Details of customer consent for a surcharge.
The notice text shown to the customer.
Whether surcharge consent collection is enabled or disabled. See
SurchargeConsentCollection.SurchargeConsentCollection
MotoConfiguration
Configuration for Mail Order / Telephone Order (MOTO) payments.
When
true, skips CVC collection for MOTO payments.AllowRedisplay
Controls whether a collected payment method can be shown to the customer again in future sessions.
| Value | Description |
|---|---|
always | The payment method can always be redisplayed |
limited | The payment method can be redisplayed only in limited contexts |
unspecified | No redisplay preference specified |
CustomerCancellation
Controls whether the customer can cancel the payment collection flow.
| Value | Description |
|---|---|
enableIfAvailable | Show a cancel button if the hardware supports it |
disableIfAvailable | Hide the cancel button if the hardware supports it |
unspecified | Use the platform default |
PaymentStatus
The current state of the Terminal SDK’s payment collection flow.
| Value | Description |
|---|---|
notReady | The SDK is not ready to collect payments |
ready | Ready to collect a payment |
processing | A payment is being processed |
waitingForInput | Waiting for customer input |
OfflineDetails
Details about a payment that was captured while offline.
Timestamp (in milliseconds) of when the payment was stored offline.
Whether the payment still needs to be forwarded to Stripe.
Card details captured offline. See
OfflineCardPresentDetails.Amount breakdown. See
AmountDetails.OfflineCardPresentDetails
Card details captured during an offline payment.
Card brand.
Cardholder name.
Card expiration month.
Card expiration year.
Last four digits of the card.
How the card was read (e.g.,
contactEmv, contactlessEmv).EMV receipt data.
AmountDetails
Breakdown of the payment amount.
Tip amount details.
Donation amount details.
Surcharge amount details.
Amount
The amount in the smallest currency unit.
PaymentIntentResultType
The return type of payment intent operations. Can carry a paymentIntent, an error, or both (when the intent is created offline but confirmation fails).
The third variant — where both
paymentIntent and error are present — occurs in offline scenarios where the intent was stored but the upload failed. Always check for error even when paymentIntent is present.PaymentMethodType
The type of payment method used in a transaction.
PaymentMethod.Type
A Stripe PaymentMethod object as returned by the Terminal SDK.
The PaymentMethod’s unique identifier.
The type of payment method.
The ID of the customer this payment method belongs to.
Whether this payment method was created in live mode.
Card-present details, if applicable.
Interac-present details, if applicable.
WeChat Pay details, if applicable.
Affirm details, if applicable.
PayNow details, if applicable.
PayPay details, if applicable.
Card (non-present) details, if applicable.
Arbitrary key-value metadata attached to the payment method.
PaymentOption
Represents one of multiple payment options available on a reader that supports both card and QR-based payments.
Index of the option, passed to
selectPaymentOption() to select it.Whether this option is card-present or a non-card method (e.g., QR code).
Human-readable label for the option.
The underlying payment method type identifier.
QrCodeDisplayData
Data required to render a QR code for the customer to scan.
URL to a PNG image of the QR code.
URL to an SVG image of the QR code.
Unix timestamp in milliseconds when the QR code expires.
The payment method type this QR code is for.
PaymentMethodSelectionHandler
Callback invoked when a mobile Bluetooth reader supports multiple payment options and the application must present them to the customer.
| Callback method | Description |
|---|---|
selectPaymentOption(paymentOptionType) | Call with the selected option type to proceed |
failPaymentMethodSelection(error?) | Call to abort payment method selection with an optional error message |
QrCodeDisplayHandler
Callback invoked when the SDK needs the application to display a QR code to the customer.
| Callback method | Description |
|---|---|
confirmQrCodeDisplayed() | Call after the QR code has been displayed to the customer |
failQrCodeDisplay(error?) | Call if the QR code cannot be displayed |