/** * The Selling Partner API for Transfers. * The Selling Partner API for Transfers enables selling partners to retrieve payment methods and initiate payouts for their seller accounts. This API supports the following marketplaces: DE, FR, IT, ES, SE, NL, PL, and BE. * * The version of the OpenAPI document: 2024-06-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { ApiClient } from '../ApiClient.js'; import { GetPaymentMethodsResponse } from '../model/GetPaymentMethodsResponse.js'; import { InitiatePayoutRequest } from '../model/InitiatePayoutRequest.js'; import { InitiatePayoutResponse } from '../model/InitiatePayoutResponse.js'; import { ListExpectedPayoutsResponse } from '../model/ListExpectedPayoutsResponse.js'; import { ListPayoutsResponse } from '../model/ListPayoutsResponse.js'; /** * Default service. * @module transfers_v2024_06_01/api/DefaultApi * @version 2024-06-01 */ export declare class DefaultApi { #private; apiClient: any; /** * Constructs a new DefaultApi. * @alias module:transfers_v2024_06_01/api/DefaultApi * @class * @param {ApiClient} [apiClient] Optional API client implementation to use, * default to {@link ApiClient#instance} if unspecified. */ constructor(apiClient?: ApiClient); /** * Initialize rate limiters for API operations */ initializeDefaultRateLimiterMap(): void; /** * Get rate limiter for a specific operation * @param {String} operation name */ getRateLimiter(operation: string): any; /** * Returns the list of payment methods for the seller, which can be filtered by method type. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {String} marketplaceId The identifier of the Amazon store from which you want to retrieve payment methods. For the list of store identifiers, refer to [Store Identifiers](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.paymentMethodTypes] A comma-separated list of the payment method types you want to include in the response. * @return {Promise} */ getPaymentMethodsWithHttpInfo(marketplaceId: string, opts?: { paymentMethodTypes?: string[]; }): Promise; /** * Returns the list of payment methods for the seller, which can be filtered by method type. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {String} marketplaceId The identifier of the Amazon store from which you want to retrieve payment methods. For the list of store identifiers, refer to [Store Identifiers](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.paymentMethodTypes] A comma-separated list of the payment method types you want to include in the response. * @return {Promise} */ getPaymentMethods(marketplaceId: string, opts?: { paymentMethodTypes?: string[]; }): Promise; /** * Initiates an on-demand payout to the seller's default deposit method in Seller Central for the given `marketplaceId` and `accountType`, if eligible. You can only initiate one on-demand payout for each marketplace and account type within a 24-hour period. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.017 | 2 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {InitiatePayoutRequest} body The request body for the `initiatePayout` operation. * @return {Promise} */ initiatePayoutWithHttpInfo(body: InitiatePayoutRequest): Promise; /** * Initiates an on-demand payout to the seller's default deposit method in Seller Central for the given `marketplaceId` and `accountType`, if eligible. You can only initiate one on-demand payout for each marketplace and account type within a 24-hour period. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.017 | 2 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {InitiatePayoutRequest} body The request body for the `initiatePayout` operation. * @return {Promise} */ initiatePayout(body: InitiatePayoutRequest): Promise; /** * Returns the upcoming expected payouts from Amazon associated with a partner's account for the specified parameters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.marketplaceIds] The Amazon stores from which to retrieve payouts. The Amazon store ID is a globally unique identifier assigned to each Amazon store. If omitted, the response includes payouts from all applicable stores. To find the Amazon store ID for your region, refer to [Store Identifiers](https://developer-docs.amazon/sp-api/docs/store-identifiers). * @param {String} [opts.accountType] The response only includes the accounts of the specified account type. * @param {String} [opts.nextToken] The response includes `nextToken` when the number of results exceeds the specified page size. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. * @return {Promise} */ listExpectedPayoutsWithHttpInfo(opts?: { marketplaceIds?: string[]; accountType?: string; nextToken?: string; }): Promise; /** * Returns the upcoming expected payouts from Amazon associated with a partner's account for the specified parameters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.marketplaceIds] The Amazon stores from which to retrieve payouts. The Amazon store ID is a globally unique identifier assigned to each Amazon store. If omitted, the response includes payouts from all applicable stores. To find the Amazon store ID for your region, refer to [Store Identifiers](https://developer-docs.amazon/sp-api/docs/store-identifiers). * @param {String} [opts.accountType] The response only includes the accounts of the specified account type. * @param {String} [opts.nextToken] The response includes `nextToken` when the number of results exceeds the specified page size. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. * @return {Promise} */ listExpectedPayouts(opts?: { marketplaceIds?: string[]; accountType?: string; nextToken?: string; }): Promise; /** * Retrieve a list of payouts for the selling partner's account. You can filter results by `marketplaceIds`, `accountType`, date range (`createdAfter` and `createdBefore`), or a specific `payoutId`. By default, the response includes payouts for all available marketplaces and account types. Results are grouped by the seller's account groups. Within each account group results are sorted by their creation date, with the most recent appearing first. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.marketplaceIds] The Amazon stores from which to retrieve payouts. The Amazon store ID is a globally unique identifier assigned to each Amazon store. If omitted, the response includes payouts from all applicable stores. To find the Amazon store ID for your region, refer to [Store Identifiers](https://developer-docs.amazon/sp-api/docs/store-identifiers). * @param {Date} [opts.createdAfter] The response only includes payouts created on or after this date-time. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If omitted, no start date filter is applied. * @param {Date} [opts.createdBefore] The response only includes payouts created before this date-time. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If omitted, no end date filter is applied. * @param {String} [opts.payoutId] The response only includes the payout matching the specified identifier. * @param {String} [opts.accountType] The response only includes payouts associated with the specified account type. * @param {String} [opts.nextToken] The response includes `nextToken` when the number of results exceeds the page size. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. * @return {Promise} */ listPayoutsWithHttpInfo(opts?: { marketplaceIds?: string[]; createdAfter?: Date; createdBefore?: Date; payoutId?: string; accountType?: string; nextToken?: string; }): Promise; /** * Retrieve a list of payouts for the selling partner's account. You can filter results by `marketplaceIds`, `accountType`, date range (`createdAfter` and `createdBefore`), or a specific `payoutId`. By default, the response includes payouts for all available marketplaces and account types. Results are grouped by the seller's account groups. Within each account group results are sorted by their creation date, with the most recent appearing first. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {String[]} [opts.marketplaceIds] The Amazon stores from which to retrieve payouts. The Amazon store ID is a globally unique identifier assigned to each Amazon store. If omitted, the response includes payouts from all applicable stores. To find the Amazon store ID for your region, refer to [Store Identifiers](https://developer-docs.amazon/sp-api/docs/store-identifiers). * @param {Date} [opts.createdAfter] The response only includes payouts created on or after this date-time. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If omitted, no start date filter is applied. * @param {Date} [opts.createdBefore] The response only includes payouts created before this date-time. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If omitted, no end date filter is applied. * @param {String} [opts.payoutId] The response only includes the payout matching the specified identifier. * @param {String} [opts.accountType] The response only includes payouts associated with the specified account type. * @param {String} [opts.nextToken] The response includes `nextToken` when the number of results exceeds the page size. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. * @return {Promise} */ listPayouts(opts?: { marketplaceIds?: string[]; createdAfter?: Date; createdBefore?: Date; payoutId?: string; accountType?: string; nextToken?: string; }): Promise; } //# sourceMappingURL=DefaultApi.d.ts.map