assembly-payments
Version:
Assembly Payments API Typescript/Javascript Bindings
34 lines (33 loc) • 1.04 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (client) => ({
/**
* @description Retrieve an ordered and paginated list of existing **Batch Transactions**. The list can be filtered by **Account**, **Batch ID**, **Item**, and **Transaction Type**.
*
* @tags Batch Transactions
* @name ListBatchTransactions
* @summary List Batch Transactions
* @request GET:/batch_transactions
* @secure
*/
listBatchTransactions: (params) => client.request({
url: `/batch_transactions`,
method: 'GET',
params,
secure: true,
}),
/**
* @description Get a batch transaction using its ID
*
* @tags Batch Transactions
* @name ShowBatchTransaction
* @summary Show Batch Transaction
* @request GET:/batch_transactions/{id}
* @secure
*/
showBatchTransaction: (id) => client.request({
url: `/batch_transactions/${id}`,
method: 'GET',
secure: true,
}),
});
;