Skip to content

Commit

Permalink
Merge pull request #241 from internxt/fix/one-time-payments-parameters
Browse files Browse the repository at this point in the history
[_]: feat/new parameter indicating the invoice status
  • Loading branch information
masterprog-cmd authored Sep 4, 2024
2 parents c0dcbe7 + a0656c3 commit ffb2976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internxt/sdk",
"version": "1.5.14",
"version": "1.5.15",
"description": "An sdk for interacting with Internxt's services",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/drive/payments/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Payments {
token: string,
currency?: string,
promoCodeName?: string,
): Promise<{ clientSecret: string; id: string }> {
): Promise<{ clientSecret: string; id: string; invoiceStatus?: string }> {
const query = new URLSearchParams();
query.set('customerId', customerId);
query.set('amount', String(amount));
Expand Down

0 comments on commit ffb2976

Please sign in to comment.