@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
14 lines (12 loc) • 478 B
text/typescript
// https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#signed-message
export interface AndroidSignedMessage {
// https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#encrypted-message
encryptedMessage: string;
ephemeralPublicKey: string;
tag: string;
}
export const emptyAndroidSignedMessage: AndroidSignedMessage = {
encryptedMessage: '',
ephemeralPublicKey: '',
tag: '',
};