@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
74 lines (73 loc) • 4.08 kB
TypeScript
import Client from "../client";
import Service from "../service";
import { BoardingTokenRequest } from "../typings/paymentsApp/models";
import { BoardingTokenResponse } from "../typings/paymentsApp/models";
import { PaymentsAppResponse } from "../typings/paymentsApp/models";
import { IRequest } from "../typings/requestOptions";
/**
* This class is deprecated
*
* The service has been moved to a different package 'paymentsApp'
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*/
export declare class PaymentsAppAPI extends Service {
private readonly API_BASEPATH;
private baseUrl;
constructor(client: Client);
/**
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*
* @summary Create a boarding token - merchant level
* @param merchantId {@link string } The unique identifier of the merchant account.
* @param boardingTokenRequest {@link BoardingTokenRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link BoardingTokenResponse }
*/
generatePaymentsAppBoardingTokenForMerchant(merchantId: string, boardingTokenRequest: BoardingTokenRequest, requestOptions?: IRequest.Options): Promise<BoardingTokenResponse>;
/**
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*
* @summary Create a boarding token - store level
* @param merchantId {@link string } The unique identifier of the merchant account.
* @param storeId {@link string } The unique identifier of the store.
* @param boardingTokenRequest {@link BoardingTokenRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link BoardingTokenResponse }
*/
generatePaymentsAppBoardingTokenForStore(merchantId: string, storeId: string, boardingTokenRequest: BoardingTokenRequest, requestOptions?: IRequest.Options): Promise<BoardingTokenResponse>;
/**
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*
* @summary Get a list of Payments Apps - merchant level
* @param merchantId {@link string } The unique identifier of the merchant account.
* @param requestOptions {@link IRequest.Options }
* @param statuses {@link string } The status of the Payments App. Comma-separated list of one or more values. If no value is provided, the list returns all statuses. Possible values: * **BOARDING** * **BOARDED** * **REVOKED**
* @param limit {@link number } The number of items to return.
* @param offset {@link number } The number of items to skip.
* @return {@link PaymentsAppResponse }
*/
listPaymentsAppForMerchant(merchantId: string, requestOptions?: IRequest.Options): Promise<PaymentsAppResponse>;
/**
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*
* @summary Get a list of Payments Apps - store level
* @param merchantId {@link string } The unique identifier of the merchant account.
* @param storeId {@link string } The unique identifier of the store.
* @param requestOptions {@link IRequest.Options }
* @param statuses {@link string } The status of the Payments App. Comma-separated list of one or more values. If no value is provided, the list returns all statuses. Possible values: * **BOARDING** * **BOARDED** * **REVOKED**
* @param limit {@link number } The number of items to return.
* @param offset {@link number } The number of items to skip.
* @return {@link PaymentsAppResponse }
*/
listPaymentsAppForStore(merchantId: string, storeId: string, requestOptions?: IRequest.Options): Promise<PaymentsAppResponse>;
/**
* @deprecated Use services/paymentsApp/PaymentsAppAPI
*
* @summary Revoke Payments App instance authentication
* @param merchantId {@link string } The unique identifier of the merchant account.
* @param installationId {@link string } The unique identifier of the Payments App instance on a device.
* @param requestOptions {@link IRequest.Options }
*/
revokePaymentsApp(merchantId: string, installationId: string, requestOptions?: IRequest.Options): Promise<void>;
}
export default PaymentsAppAPI;