diff --git a/package.json b/package.json index 7e0c2849..c7d4ef21 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@internxt/sdk", "author": "Internxt ", - "version": "1.20.2", + "version": "1.20.3", "description": "An sdk for interacting with Internxt's services", "repository": { "type": "git", diff --git a/src/payments/checkout.ts b/src/payments/checkout.ts index e77d44f3..02decd2a 100644 --- a/src/payments/checkout.ts +++ b/src/payments/checkout.ts @@ -92,6 +92,7 @@ export class Checkout { currency, captchaToken, promoCodeId, + impactClickId, }: CreateSubscriptionPayload): Promise { return this.client.post( '/checkout/subscription', @@ -102,6 +103,7 @@ export class Checkout { currency, captchaToken, promoCodeId, + impactClickId, }, this.authHeaders(), ); @@ -132,6 +134,7 @@ export class Checkout { captchaToken, userAddress, promoCodeId, + impactClickId, }: CreatePaymentIntentPayload): Promise { return this.client.post( '/checkout/payment-intent', @@ -143,6 +146,7 @@ export class Checkout { captchaToken, userAddress, promoCodeId, + impactClickId, }, this.authHeaders(), ); diff --git a/src/payments/types/index.ts b/src/payments/types/index.ts index f4babd6a..29eb8690 100644 --- a/src/payments/types/index.ts +++ b/src/payments/types/index.ts @@ -19,6 +19,7 @@ export interface CreateSubscriptionPayload { captchaToken: string; currency?: string; promoCodeId?: string; + impactClickId?: string; } export interface CreatePaymentIntentPayload { @@ -29,6 +30,7 @@ export interface CreatePaymentIntentPayload { captchaToken: string; userAddress: string; promoCodeId?: string; + impactClickId?: string; } export interface PaymentMethodVerificationPayload {