Skip to content

Commit 811a69a

Browse files
committed
feat(payment): INT-275 Add Cryptogram like a new payment instrument
1 parent a4935e1 commit 811a69a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/payment/payment.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default interface Payment {
44
paymentData: PaymentInstrument & PaymentInstrumentMeta;
55
}
66

7-
export type PaymentInstrument = CreditCardInstrument | NonceInstrument | VaultedInstrument;
7+
export type PaymentInstrument = CreditCardInstrument | NonceInstrument | VaultedInstrument | CryptogramInstrument;
88

99
export interface PaymentInstrumentMeta {
1010
deviceSessionId?: string;
@@ -32,3 +32,14 @@ export interface VaultedInstrument {
3232
instrumentId: string;
3333
cvv?: number;
3434
}
35+
36+
export interface CryptogramInstrument {
37+
cryptogramId: string;
38+
eci: string;
39+
transactionId?: string;
40+
ccExpiry: {
41+
month: string,
42+
year: string,
43+
};
44+
ccNumber: string;
45+
}

0 commit comments

Comments
 (0)