@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
12 lines • 565 B
TypeScript
import { NativeModule } from 'react-native';
import { Card } from '../core/types';
/** Describes a native module capable of encrypting card data. */
export interface AdyenCSEModule extends NativeModule {
/** Method to encrypt card. */
encryptCard: (payload: Card, publicKey: string) => Promise<Card>;
/** Method to encrypt BIN(first 6-11 digits of the card). */
encryptBin: (payload: string, publicKey: string) => Promise<string>;
}
/**Encryption helper. */
export declare const AdyenCSE: AdyenCSEModule;
//# sourceMappingURL=AdyenCSEModule.d.ts.map