diff --git a/integration-test/UserService.test.ts b/integration-test/UserService.test.ts index 90422ad7..d4c53df2 100644 --- a/integration-test/UserService.test.ts +++ b/integration-test/UserService.test.ts @@ -252,6 +252,8 @@ describe("UserService", () => { lastName: "sdfsdf", firstName: "sdfsdf", company: null, + type: "credit_card", + vatNumber: null, address: { street1: "dfgdfgdfg", street2: "8", diff --git a/src/UserService.ts b/src/UserService.ts index bc55a47c..4135a785 100644 --- a/src/UserService.ts +++ b/src/UserService.ts @@ -266,7 +266,9 @@ export type BillingInfo = { firstName: string | null; company: string | null; address: Address | null; - paymentMethod: { + type: string | null; + vatNumber: string | null; + paymentMethod?: { cardType: string | null; firstSix: string | null; lastTwo: string | null;