@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
23 lines (22 loc) • 920 B
TypeScript
import Service from "../../service";
import Client from "../../client";
import { IRequest } from "../../typings/requestOptions";
import { CapitalGrantAccount } from "../../typings/balancePlatform/models";
/**
* API handler for GrantAccountsApi
*/
export declare class GrantAccountsApi extends Service {
private readonly API_BASEPATH;
private baseUrl;
constructor(client: Client);
/**
* @summary Get a grant account
* @param id {@link string } The unique identifier of the grant account.
* @param requestOptions {@link IRequest.Options }
* @return {@link CapitalGrantAccount }
*
* @deprecated since Configuration API v2
* Use the `/grantAccounts/{id}` endpoint from the [Capital API](https://docs.adyen.com/api-explorer/capital/latest/get/grantAccounts/(id)) instead.
*/
getGrantAccount(id: string, requestOptions?: IRequest.Options): Promise<CapitalGrantAccount>;
}