> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

## 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](https://github.com/payabli/sdk-node/blob/main/reference.md)

### Request body wrapper removed

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

#### Affected methods

* `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`:

```typescript
// Before
await client.query.listTransfersOrg({ orgId: 123, fromRecord: 0, limitRecord: 20 });

// After
await 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`.