@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
13 lines (11 loc) • 574 B
text/typescript
import type { AndroidPaymentMethodTokenizationType } from '../enum/android-payment-method-tokenization-type.enum';
// https://developers.google.com/pay/api#participating-processors
export interface AndroidTokenizationGatewaySpecification {
// https://developers.google.com/pay/api#participating-processors
parameters: Record<string, string> & {
gateway: string;
gatewayMerchantId: string;
};
// https://developers.google.com/pay/api/android/reference/request-objects#gateway
type: AndroidPaymentMethodTokenizationType.PAYMENT_GATEWAY;
}