This is the changelog for the Payabli TypeScript SDK. It includes updates, bug fixes, and new features.

v1.0.0

As part of an ongoing effort to improve the consistency and usability of our SDKs, we’ve updated the SDK generation process. This update introduces breaking changes to the SDK. All breaking changes affect only method signatures and namespacing, not core record types or properties. SDK initialization, configuration, business logic, and workflows remain unchanged. For more information on precise method signatures and example usage, please see the SDK reference on GitHub

Request body wrapper removed

Twenty methods previously accepted { body: { ... } } and now accept the fields directly at the top level.

  • bill.addBill
  • customer.addCustomer
  • hostedPaymentPages.newPage
  • invoice.addInvoice
  • invoice.editInvoice
  • lineItem.addItem
  • moneyIn.getpaid
  • moneyIn.authorize
  • moneyIn.getpaidv2
  • moneyIn.authorizev2
  • moneyOut.authorizeOut
  • moneyOut.reissueOut
  • subscription.newSubscription
  • payoutSubscription.createPayoutSubscription
  • notificationlogs.searchNotificationLogs
  • paymentLink.addPayLinkFromInvoice
  • paymentLink.addPayLinkFromBill
  • paymentLink.addPayLinkFromBillLotNumber
  • tokenStorage.addMethod
  • tokenStorage.updateMethod

The bill.sendToApprovalBill and moneyOut.captureAllOut methods retain their body: field because those endpoints accept a raw array as the HTTP body.

query.listTransfersOrg signature change

orgId is now a required first positional argument and has been removed from ListTransfersRequestOrg:

1// Before
2await client.query.listTransfersOrg({ orgId: 123, fromRecord: 0, limitRecord: 20 });
3
4// After
5await client.query.listTransfersOrg(123, { fromRecord: 0, limitRecord: 20 });

MoneyOutTypesRequestOutAuthorize renamed

The request type for moneyOut.authorizeOut is now RequestOutAuthorize. The fields are unchanged, but the body: wrapper property has been removed — all payout fields are now top-level properties.

query.listBatchDetailsOrg return type changed

Return type changed from Payabli.QueryResponseSettlements to Payabli.QueryBatchesDetailResponse.