[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [api](./trashposs-js.api.md) > [APIClient](./trashposs-js.api.apiclient.md) ## api.APIClient class **Signature:** ```typescript export declare class APIClient ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(opts)](./trashposs-js.api.apiclient._constructor_.md) | | Constructs a new instance of the APIClient class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [credential](./trashposs-js.api.apiclient.credential.md) | | string \| null \| undefined | | | [fetch](./trashposs-js.api.apiclient.fetch.md) | | [FetchLike](./trashposs-js.api.fetchlike.md) | | | [origin](./trashposs-js.api.apiclient.origin.md) | | string | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [request(endpoint, params, credential)](./trashposs-js.api.apiclient.request.md) | | |