@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
17 lines (15 loc) • 478 B
text/typescript
// https://developer.apple.com/documentation/passkit/apple_pay/payment_token_format_reference?language=objc
export interface IosPaymentDataHeader {
applicationData?: string;
ephemeralPublicKey: string;
publicKeyHash: string;
transactionId: string;
wrappedKey: string;
}
export const emptyIosPaymentDataHeader: IosPaymentDataHeader = {
applicationData: '',
ephemeralPublicKey: '',
publicKeyHash: '',
transactionId: '',
wrappedKey: '',
};