From 6a6250952c8ce42874c5b87b818ec849240c1cd4 Mon Sep 17 00:00:00 2001 From: Willy PT <1708055+willypt@users.noreply.github.com> Date: Mon, 3 Jul 2023 17:13:26 +0700 Subject: [PATCH] feat: add regional create va capability --- src/va/account.d.ts | 3 +++ src/va/account.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/va/account.d.ts b/src/va/account.d.ts index decc748..c3ea89e 100644 --- a/src/va/account.d.ts +++ b/src/va/account.d.ts @@ -9,6 +9,9 @@ export function createFixedVA(data: { expirationDate?: Date; isSingleUse?: boolean; description?: string; + currency?: string; + country?: string; + alternativeDisplayTypes?: string[]; forUserID?: string; }): Promise; diff --git a/src/va/account.js b/src/va/account.js index 4ec1368..9e78e42 100644 --- a/src/va/account.js +++ b/src/va/account.js @@ -30,6 +30,9 @@ function createFixedVA(data) { : undefined, is_single_use: data.isSingleUse, description: data.description, + currency: data.currency, + country: data.country, + alternative_display_types: data.alternativeDisplayTypes, }), }) .then(resolve)