@stripe/stripe-react-native
Version:
Stripe SDK for React Native
35 lines (34 loc) • 1.02 kB
TypeScript
export declare type NextAction = VerifyWithMicrodepositsAction | UrlRedirectAction | WeChatRedirectAction | AlipayRedirectAction | BoletoVoucherAction | OxxoVoucherAction;
export declare type VerifyWithMicrodepositsAction = {
type: 'verifyWithMicrodeposits';
redirectUrl: string;
microdepositType: string;
arrivalDate: string;
};
export declare type UrlRedirectAction = {
type: 'urlRedirect';
redirectUrl: string;
};
export declare type WeChatRedirectAction = {
type: 'weChatRedirect';
redirectUrl: string;
};
export declare type AlipayRedirectAction = {
type: 'alipayRedirect';
redirectUrl: string;
nativeRedirectUrl: string;
};
export declare type BoletoVoucherAction = {
type: 'boletoVoucher';
voucherURL: string;
};
export declare type KonbiniVoucherAction = {
type: 'konbiniVoucher';
voucherURL: string;
};
export declare type OxxoVoucherAction = {
type: 'oxxoVoucher';
expiration: number;
voucherURL: string;
voucherNumber: string;
};