Skip to content

Commit

Permalink
feat: add regional create va capability
Browse files Browse the repository at this point in the history
  • Loading branch information
willypt committed Jul 3, 2023
1 parent aa13298 commit 6a62509
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/va/account.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export function createFixedVA(data: {
expirationDate?: Date;
isSingleUse?: boolean;
description?: string;
currency?: string;
country?: string;
alternativeDisplayTypes?: string[];
forUserID?: string;
}): Promise<object>;

Expand Down
3 changes: 3 additions & 0 deletions src/va/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a62509

Please sign in to comment.