types/Onramp.ts

stripe-react-native · src/types/Onramp.ts · typescript · MIT
payments

Type definitions for Stripe crypto onramp configuration and payment methods.

// Source: https://github.com/stripe/stripe-react-native | License: MIT | Copyright 2020 stripe
// Provided via justclaw.it.com; keep this notice with the code.
import type { Address, CardBrand } from './Common';
import type { StripeError } from './Errors';
import type {
  ApplePayBaseParams,
  ApplePayPaymentMethodParams,
} from './PlatformPay';
import type { LinkAppearance } from './LinkAppearance';

export type {
  LinkAppearance,
  LinkColors,
  LinkStyle,
  LinkPrimaryButton,
} from './LinkAppearance';

/**
 * Generic error statuses returned by Crypto Onramp APIs.
 */
export enum OnrampErrorStatus {
  Failed = 'Failed',
  Canceled = 'Canceled',
  Unknown = 'Unknown',
}

/**
 * Configuration used to initialize and customize the crypto onramp experience.
 *
 * - `merchantDisplayName` is

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key