Skip to content

Commit 69cc077

Browse files
authored
CHK-8238: Changes to support vaulting in Bold Hosted templates (#36)
- Supports new types related to vaulted payment methods
1 parent f9c3980 commit 69cc077

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/types/apiInterfaces.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,24 @@ export interface IEpsGateways {
442442
export interface IEpsGateway {
443443
auth_token: string;
444444
currency: string;
445+
vaulted_payment_methods?: Array<IVaultedPaymentMethod>;
445446
group_label?: string;
446447
}
447448

449+
export interface IVaultedPaymentMethod {
450+
public_id: string;
451+
eps_token: string;
452+
tender_type: string;
453+
tender: ITender;
454+
}
455+
456+
export interface ITender {
457+
brand: string;
458+
last4: string;
459+
exp_month: number;
460+
exp_year: number;
461+
}
462+
448463
export interface ICheckoutProcess{
449464
company_name_option: string,
450465
phone_number_required: boolean,

0 commit comments

Comments
 (0)