@sp-api-sdk/seller-wallet-api-2024-03-01 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +106 -0
- package/dist/cjs/api-model/api/seller-wallet-api.js +910 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +71 -0
- package/dist/cjs/api-model/common.js +145 -0
- package/dist/cjs/api-model/configuration.js +104 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/account-holder-address.js +15 -0
- package/dist/cjs/api-model/models/balance-listing.js +15 -0
- package/dist/cjs/api-model/models/balance-type.js +27 -0
- package/dist/cjs/api-model/models/balance.js +15 -0
- package/dist/cjs/api-model/models/bank-account-holder-status.js +27 -0
- package/dist/cjs/api-model/models/bank-account-listing.js +15 -0
- package/dist/cjs/api-model/models/bank-account-number-format.js +25 -0
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +26 -0
- package/dist/cjs/api-model/models/bank-account.js +15 -0
- package/dist/cjs/api-model/models/bank-number-format.js +25 -0
- package/dist/cjs/api-model/models/currency.js +15 -0
- package/dist/cjs/api-model/models/delete-transfer-schedule.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/fee-type.js +26 -0
- package/dist/cjs/api-model/models/fee.js +15 -0
- package/dist/cjs/api-model/models/fx-rate-details.js +15 -0
- package/dist/cjs/api-model/models/index.js +54 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +25 -0
- package/dist/cjs/api-model/models/payment-preference.js +15 -0
- package/dist/cjs/api-model/models/rate-direction.js +25 -0
- package/dist/cjs/api-model/models/recurring-frequency.js +27 -0
- package/dist/cjs/api-model/models/schedule-expression-type.js +25 -0
- package/dist/cjs/api-model/models/schedule-expression.js +15 -0
- package/dist/cjs/api-model/models/schedule-transfer-type.js +24 -0
- package/dist/cjs/api-model/models/transaction-account.js +15 -0
- package/dist/cjs/api-model/models/transaction-initiation-request.js +15 -0
- package/dist/cjs/api-model/models/transaction-instrument-details.js +15 -0
- package/dist/cjs/api-model/models/transaction-listing.js +15 -0
- package/dist/cjs/api-model/models/transaction-status.js +29 -0
- package/dist/cjs/api-model/models/transaction-type.js +25 -0
- package/dist/cjs/api-model/models/transaction.js +15 -0
- package/dist/cjs/api-model/models/transfer-rate-preview.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-failures.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-information.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-listing.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-request.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-status.js +27 -0
- package/dist/cjs/api-model/models/transfer-schedule.js +15 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/seller-wallet-api.js +900 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +63 -0
- package/dist/es/api-model/common.js +133 -0
- package/dist/es/api-model/configuration.js +100 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/account-holder-address.js +14 -0
- package/dist/es/api-model/models/balance-listing.js +14 -0
- package/dist/es/api-model/models/balance-type.js +24 -0
- package/dist/es/api-model/models/balance.js +14 -0
- package/dist/es/api-model/models/bank-account-holder-status.js +24 -0
- package/dist/es/api-model/models/bank-account-listing.js +14 -0
- package/dist/es/api-model/models/bank-account-number-format.js +22 -0
- package/dist/es/api-model/models/bank-account-ownership-type.js +23 -0
- package/dist/es/api-model/models/bank-account.js +14 -0
- package/dist/es/api-model/models/bank-number-format.js +22 -0
- package/dist/es/api-model/models/currency.js +14 -0
- package/dist/es/api-model/models/delete-transfer-schedule.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/fee-type.js +23 -0
- package/dist/es/api-model/models/fee.js +14 -0
- package/dist/es/api-model/models/fx-rate-details.js +14 -0
- package/dist/es/api-model/models/index.js +38 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/payment-preference-payment-type.js +22 -0
- package/dist/es/api-model/models/payment-preference.js +14 -0
- package/dist/es/api-model/models/rate-direction.js +22 -0
- package/dist/es/api-model/models/recurring-frequency.js +24 -0
- package/dist/es/api-model/models/schedule-expression-type.js +22 -0
- package/dist/es/api-model/models/schedule-expression.js +14 -0
- package/dist/es/api-model/models/schedule-transfer-type.js +21 -0
- package/dist/es/api-model/models/transaction-account.js +14 -0
- package/dist/es/api-model/models/transaction-initiation-request.js +14 -0
- package/dist/es/api-model/models/transaction-instrument-details.js +14 -0
- package/dist/es/api-model/models/transaction-listing.js +14 -0
- package/dist/es/api-model/models/transaction-status.js +26 -0
- package/dist/es/api-model/models/transaction-type.js +22 -0
- package/dist/es/api-model/models/transaction.js +14 -0
- package/dist/es/api-model/models/transfer-rate-preview.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-failures.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-information.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-listing.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-request.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-status.js +24 -0
- package/dist/es/api-model/models/transfer-schedule.js +14 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/seller-wallet-api.d.ts +700 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +66 -0
- package/dist/types/api-model/common.d.ts +65 -0
- package/dist/types/api-model/configuration.d.ts +91 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/account-holder-address.d.ts +60 -0
- package/dist/types/api-model/models/balance-listing.d.ts +25 -0
- package/dist/types/api-model/models/balance-type.d.ts +23 -0
- package/dist/types/api-model/models/balance.d.ts +49 -0
- package/dist/types/api-model/models/bank-account-holder-status.d.ts +23 -0
- package/dist/types/api-model/models/bank-account-listing.d.ts +25 -0
- package/dist/types/api-model/models/bank-account-number-format.d.ts +21 -0
- package/dist/types/api-model/models/bank-account-ownership-type.d.ts +22 -0
- package/dist/types/api-model/models/bank-account.d.ts +88 -0
- package/dist/types/api-model/models/bank-number-format.d.ts +21 -0
- package/dist/types/api-model/models/currency.d.ts +30 -0
- package/dist/types/api-model/models/delete-transfer-schedule.d.ts +36 -0
- package/dist/types/api-model/models/error-list.d.ts +24 -0
- package/dist/types/api-model/models/fee-type.d.ts +22 -0
- package/dist/types/api-model/models/fee.d.ts +44 -0
- package/dist/types/api-model/models/fx-rate-details.d.ts +43 -0
- package/dist/types/api-model/models/index.d.ts +38 -0
- package/dist/types/api-model/models/model-error.d.ts +36 -0
- package/dist/types/api-model/models/payment-preference-payment-type.d.ts +21 -0
- package/dist/types/api-model/models/payment-preference.d.ts +31 -0
- package/dist/types/api-model/models/rate-direction.d.ts +21 -0
- package/dist/types/api-model/models/recurring-frequency.d.ts +23 -0
- package/dist/types/api-model/models/schedule-expression-type.d.ts +21 -0
- package/dist/types/api-model/models/schedule-expression.d.ts +32 -0
- package/dist/types/api-model/models/schedule-transfer-type.d.ts +20 -0
- package/dist/types/api-model/models/transaction-account.d.ts +61 -0
- package/dist/types/api-model/models/transaction-initiation-request.d.ts +70 -0
- package/dist/types/api-model/models/transaction-instrument-details.d.ts +31 -0
- package/dist/types/api-model/models/transaction-listing.d.ts +31 -0
- package/dist/types/api-model/models/transaction-status.d.ts +25 -0
- package/dist/types/api-model/models/transaction-type.d.ts +21 -0
- package/dist/types/api-model/models/transaction.d.ts +119 -0
- package/dist/types/api-model/models/transfer-rate-preview.d.ts +45 -0
- package/dist/types/api-model/models/transfer-schedule-failures.d.ts +30 -0
- package/dist/types/api-model/models/transfer-schedule-information.d.ts +44 -0
- package/dist/types/api-model/models/transfer-schedule-listing.d.ts +31 -0
- package/dist/types/api-model/models/transfer-schedule-request.d.ts +71 -0
- package/dist/types/api-model/models/transfer-schedule-status.d.ts +23 -0
- package/dist/types/api-model/models/transfer-schedule.d.ts +72 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,700 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { BalanceListing } from '../models';
|
|
17
|
+
import type { BankAccount } from '../models';
|
|
18
|
+
import type { BankAccountListing } from '../models';
|
|
19
|
+
import type { DeleteTransferSchedule } from '../models';
|
|
20
|
+
import type { Transaction } from '../models';
|
|
21
|
+
import type { TransactionInitiationRequest } from '../models';
|
|
22
|
+
import type { TransactionListing } from '../models';
|
|
23
|
+
import type { TransferRatePreview } from '../models';
|
|
24
|
+
import type { TransferSchedule } from '../models';
|
|
25
|
+
import type { TransferScheduleListing } from '../models';
|
|
26
|
+
import type { TransferScheduleRequest } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* SellerWalletApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export declare const SellerWalletApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32
|
+
/**
|
|
33
|
+
* Create a transaction request from an Amazon Seller Wallet account to another customer-provided account.
|
|
34
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
35
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
36
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
37
|
+
* @param {TransactionInitiationRequest} body The payload of the request
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
createTransaction: (destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a transfer schedule request from an Amazon Seller Wallet account to another customer-provided account.
|
|
44
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
45
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
46
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
47
|
+
* @param {TransferScheduleRequest} body The payload of the request.
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
createTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
54
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
55
|
+
* @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
deleteScheduleTransaction: (transferScheduleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* Retrieve an Amazon Seller Wallet bank account by Amazon account identifier.
|
|
62
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
63
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
getAccount: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
70
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
71
|
+
* @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
getTransaction: (transactionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
* Retrieve a list of potential fees on a transaction.
|
|
78
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
79
|
+
* @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
|
|
80
|
+
* @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
|
|
81
|
+
* @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
|
|
82
|
+
* @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
|
|
83
|
+
* @param {number} baseAmount The base transaction amount without any markup fees.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
getTransferPreview: (sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
/**
|
|
89
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
90
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
91
|
+
* @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
getTransferSchedule: (transferScheduleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
|
+
/**
|
|
97
|
+
* Retrieve the balance in a given Amazon Seller Wallet bank account.
|
|
98
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
99
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
listAccountBalances: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
* Retrieve a list of transactions for a given Amazon Seller Wallet bank account.
|
|
106
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
107
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
108
|
+
* @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds 100. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
listAccountTransactions: (accountId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
|
+
/**
|
|
114
|
+
* Get all Seller Wallet accounts for a given seller.
|
|
115
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
116
|
+
* @param {string} marketplaceId The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
listAccounts: (marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
* Returns all transfer schedules of a given Amazon Seller Wallet bank account with the schedule ID in response if present.
|
|
123
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
124
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
125
|
+
* @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds the specified `pageSize` value. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
listTransferSchedules: (accountId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
|
+
/**
|
|
131
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
132
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
133
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
134
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
135
|
+
* @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
updateTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransferSchedule, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* SellerWalletApi - functional programming interface
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
145
|
+
export declare const SellerWalletApiFp: (configuration?: Configuration) => {
|
|
146
|
+
/**
|
|
147
|
+
* Create a transaction request from an Amazon Seller Wallet account to another customer-provided account.
|
|
148
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
149
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
150
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
151
|
+
* @param {TransactionInitiationRequest} body The payload of the request
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
createTransaction(destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction>>;
|
|
156
|
+
/**
|
|
157
|
+
* Create a transfer schedule request from an Amazon Seller Wallet account to another customer-provided account.
|
|
158
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
159
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
160
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
161
|
+
* @param {TransferScheduleRequest} body The payload of the request.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
createTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
166
|
+
/**
|
|
167
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
168
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
169
|
+
* @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
deleteScheduleTransaction(transferScheduleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteTransferSchedule>>;
|
|
174
|
+
/**
|
|
175
|
+
* Retrieve an Amazon Seller Wallet bank account by Amazon account identifier.
|
|
176
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
177
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
getAccount(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccount>>;
|
|
182
|
+
/**
|
|
183
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
184
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
185
|
+
* @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
getTransaction(transactionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction>>;
|
|
190
|
+
/**
|
|
191
|
+
* Retrieve a list of potential fees on a transaction.
|
|
192
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
193
|
+
* @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
|
|
194
|
+
* @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
|
|
195
|
+
* @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
|
|
196
|
+
* @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
|
|
197
|
+
* @param {number} baseAmount The base transaction amount without any markup fees.
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
getTransferPreview(sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferRatePreview>>;
|
|
202
|
+
/**
|
|
203
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
204
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
205
|
+
* @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
getTransferSchedule(transferScheduleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
210
|
+
/**
|
|
211
|
+
* Retrieve the balance in a given Amazon Seller Wallet bank account.
|
|
212
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
213
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
listAccountBalances(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BalanceListing>>;
|
|
218
|
+
/**
|
|
219
|
+
* Retrieve a list of transactions for a given Amazon Seller Wallet bank account.
|
|
220
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
221
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
222
|
+
* @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds 100. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
listAccountTransactions(accountId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionListing>>;
|
|
227
|
+
/**
|
|
228
|
+
* Get all Seller Wallet accounts for a given seller.
|
|
229
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
230
|
+
* @param {string} marketplaceId The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
listAccounts(marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountListing>>;
|
|
235
|
+
/**
|
|
236
|
+
* Returns all transfer schedules of a given Amazon Seller Wallet bank account with the schedule ID in response if present.
|
|
237
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
238
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
239
|
+
* @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds the specified `pageSize` value. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
listTransferSchedules(accountId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferScheduleListing>>;
|
|
244
|
+
/**
|
|
245
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
246
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
247
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
248
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
249
|
+
* @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
updateTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, body: TransferSchedule, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* SellerWalletApi - factory interface
|
|
257
|
+
* @export
|
|
258
|
+
*/
|
|
259
|
+
export declare const SellerWalletApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
260
|
+
/**
|
|
261
|
+
* Create a transaction request from an Amazon Seller Wallet account to another customer-provided account.
|
|
262
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
263
|
+
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Transaction>;
|
|
268
|
+
/**
|
|
269
|
+
* Create a transfer schedule request from an Amazon Seller Wallet account to another customer-provided account.
|
|
270
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
271
|
+
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
276
|
+
/**
|
|
277
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
278
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
279
|
+
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteTransferSchedule>;
|
|
284
|
+
/**
|
|
285
|
+
* Retrieve an Amazon Seller Wallet bank account by Amazon account identifier.
|
|
286
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
287
|
+
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccount>;
|
|
292
|
+
/**
|
|
293
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
294
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
295
|
+
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Transaction>;
|
|
300
|
+
/**
|
|
301
|
+
* Retrieve a list of potential fees on a transaction.
|
|
302
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
303
|
+
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferRatePreview>;
|
|
308
|
+
/**
|
|
309
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
310
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
311
|
+
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
316
|
+
/**
|
|
317
|
+
* Retrieve the balance in a given Amazon Seller Wallet bank account.
|
|
318
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
319
|
+
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BalanceListing>;
|
|
324
|
+
/**
|
|
325
|
+
* Retrieve a list of transactions for a given Amazon Seller Wallet bank account.
|
|
326
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
327
|
+
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionListing>;
|
|
332
|
+
/**
|
|
333
|
+
* Get all Seller Wallet accounts for a given seller.
|
|
334
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
335
|
+
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccountListing>;
|
|
340
|
+
/**
|
|
341
|
+
* Returns all transfer schedules of a given Amazon Seller Wallet bank account with the schedule ID in response if present.
|
|
342
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
343
|
+
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferScheduleListing>;
|
|
348
|
+
/**
|
|
349
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
350
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
351
|
+
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
*/
|
|
355
|
+
updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* Request parameters for createTransaction operation in SellerWalletApi.
|
|
359
|
+
* @export
|
|
360
|
+
* @interface SellerWalletApiCreateTransactionRequest
|
|
361
|
+
*/
|
|
362
|
+
export interface SellerWalletApiCreateTransactionRequest {
|
|
363
|
+
/**
|
|
364
|
+
* Digital signature for the destination bank account details.
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof SellerWalletApiCreateTransaction
|
|
367
|
+
*/
|
|
368
|
+
readonly destAccountDigitalSignature: string;
|
|
369
|
+
/**
|
|
370
|
+
* Digital signature for the source currency transaction amount.
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof SellerWalletApiCreateTransaction
|
|
373
|
+
*/
|
|
374
|
+
readonly amountDigitalSignature: string;
|
|
375
|
+
/**
|
|
376
|
+
* The payload of the request
|
|
377
|
+
* @type {TransactionInitiationRequest}
|
|
378
|
+
* @memberof SellerWalletApiCreateTransaction
|
|
379
|
+
*/
|
|
380
|
+
readonly body: TransactionInitiationRequest;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Request parameters for createTransferSchedule operation in SellerWalletApi.
|
|
384
|
+
* @export
|
|
385
|
+
* @interface SellerWalletApiCreateTransferScheduleRequest
|
|
386
|
+
*/
|
|
387
|
+
export interface SellerWalletApiCreateTransferScheduleRequest {
|
|
388
|
+
/**
|
|
389
|
+
* Digital signature for the destination bank account details.
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof SellerWalletApiCreateTransferSchedule
|
|
392
|
+
*/
|
|
393
|
+
readonly destAccountDigitalSignature: string;
|
|
394
|
+
/**
|
|
395
|
+
* Digital signature for the source currency transaction amount.
|
|
396
|
+
* @type {string}
|
|
397
|
+
* @memberof SellerWalletApiCreateTransferSchedule
|
|
398
|
+
*/
|
|
399
|
+
readonly amountDigitalSignature: string;
|
|
400
|
+
/**
|
|
401
|
+
* The payload of the request.
|
|
402
|
+
* @type {TransferScheduleRequest}
|
|
403
|
+
* @memberof SellerWalletApiCreateTransferSchedule
|
|
404
|
+
*/
|
|
405
|
+
readonly body: TransferScheduleRequest;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Request parameters for deleteScheduleTransaction operation in SellerWalletApi.
|
|
409
|
+
* @export
|
|
410
|
+
* @interface SellerWalletApiDeleteScheduleTransactionRequest
|
|
411
|
+
*/
|
|
412
|
+
export interface SellerWalletApiDeleteScheduleTransactionRequest {
|
|
413
|
+
/**
|
|
414
|
+
* A unique reference ID for a scheduled transfer.
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof SellerWalletApiDeleteScheduleTransaction
|
|
417
|
+
*/
|
|
418
|
+
readonly transferScheduleId: string;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Request parameters for getAccount operation in SellerWalletApi.
|
|
422
|
+
* @export
|
|
423
|
+
* @interface SellerWalletApiGetAccountRequest
|
|
424
|
+
*/
|
|
425
|
+
export interface SellerWalletApiGetAccountRequest {
|
|
426
|
+
/**
|
|
427
|
+
* The ID of the Amazon Seller Wallet account.
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof SellerWalletApiGetAccount
|
|
430
|
+
*/
|
|
431
|
+
readonly accountId: string;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Request parameters for getTransaction operation in SellerWalletApi.
|
|
435
|
+
* @export
|
|
436
|
+
* @interface SellerWalletApiGetTransactionRequest
|
|
437
|
+
*/
|
|
438
|
+
export interface SellerWalletApiGetTransactionRequest {
|
|
439
|
+
/**
|
|
440
|
+
* The ID of the Amazon Seller Wallet transaction.
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof SellerWalletApiGetTransaction
|
|
443
|
+
*/
|
|
444
|
+
readonly transactionId: string;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Request parameters for getTransferPreview operation in SellerWalletApi.
|
|
448
|
+
* @export
|
|
449
|
+
* @interface SellerWalletApiGetTransferPreviewRequest
|
|
450
|
+
*/
|
|
451
|
+
export interface SellerWalletApiGetTransferPreviewRequest {
|
|
452
|
+
/**
|
|
453
|
+
* Country code of the source transaction account in ISO 3166 format.
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof SellerWalletApiGetTransferPreview
|
|
456
|
+
*/
|
|
457
|
+
readonly sourceCountryCode: string;
|
|
458
|
+
/**
|
|
459
|
+
* Currency code of the source transaction country in ISO 4217 format.
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof SellerWalletApiGetTransferPreview
|
|
462
|
+
*/
|
|
463
|
+
readonly sourceCurrencyCode: string;
|
|
464
|
+
/**
|
|
465
|
+
* Country code of the destination transaction account in ISO 3166 format.
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @memberof SellerWalletApiGetTransferPreview
|
|
468
|
+
*/
|
|
469
|
+
readonly destinationCountryCode: string;
|
|
470
|
+
/**
|
|
471
|
+
* Currency code of the destination transaction country in ISO 4217 format.
|
|
472
|
+
* @type {string}
|
|
473
|
+
* @memberof SellerWalletApiGetTransferPreview
|
|
474
|
+
*/
|
|
475
|
+
readonly destinationCurrencyCode: string;
|
|
476
|
+
/**
|
|
477
|
+
* The base transaction amount without any markup fees.
|
|
478
|
+
* @type {number}
|
|
479
|
+
* @memberof SellerWalletApiGetTransferPreview
|
|
480
|
+
*/
|
|
481
|
+
readonly baseAmount: number;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Request parameters for getTransferSchedule operation in SellerWalletApi.
|
|
485
|
+
* @export
|
|
486
|
+
* @interface SellerWalletApiGetTransferScheduleRequest
|
|
487
|
+
*/
|
|
488
|
+
export interface SellerWalletApiGetTransferScheduleRequest {
|
|
489
|
+
/**
|
|
490
|
+
* The schedule ID of the Amazon Seller Wallet transfer.
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof SellerWalletApiGetTransferSchedule
|
|
493
|
+
*/
|
|
494
|
+
readonly transferScheduleId: string;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Request parameters for listAccountBalances operation in SellerWalletApi.
|
|
498
|
+
* @export
|
|
499
|
+
* @interface SellerWalletApiListAccountBalancesRequest
|
|
500
|
+
*/
|
|
501
|
+
export interface SellerWalletApiListAccountBalancesRequest {
|
|
502
|
+
/**
|
|
503
|
+
* The ID of the Amazon Seller Wallet account.
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof SellerWalletApiListAccountBalances
|
|
506
|
+
*/
|
|
507
|
+
readonly accountId: string;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Request parameters for listAccountTransactions operation in SellerWalletApi.
|
|
511
|
+
* @export
|
|
512
|
+
* @interface SellerWalletApiListAccountTransactionsRequest
|
|
513
|
+
*/
|
|
514
|
+
export interface SellerWalletApiListAccountTransactionsRequest {
|
|
515
|
+
/**
|
|
516
|
+
* The ID of the Amazon Seller Wallet account.
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof SellerWalletApiListAccountTransactions
|
|
519
|
+
*/
|
|
520
|
+
readonly accountId: string;
|
|
521
|
+
/**
|
|
522
|
+
* A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds 100. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
523
|
+
* @type {string}
|
|
524
|
+
* @memberof SellerWalletApiListAccountTransactions
|
|
525
|
+
*/
|
|
526
|
+
readonly nextPageToken?: string;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* Request parameters for listAccounts operation in SellerWalletApi.
|
|
530
|
+
* @export
|
|
531
|
+
* @interface SellerWalletApiListAccountsRequest
|
|
532
|
+
*/
|
|
533
|
+
export interface SellerWalletApiListAccountsRequest {
|
|
534
|
+
/**
|
|
535
|
+
* The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof SellerWalletApiListAccounts
|
|
538
|
+
*/
|
|
539
|
+
readonly marketplaceId: string;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Request parameters for listTransferSchedules operation in SellerWalletApi.
|
|
543
|
+
* @export
|
|
544
|
+
* @interface SellerWalletApiListTransferSchedulesRequest
|
|
545
|
+
*/
|
|
546
|
+
export interface SellerWalletApiListTransferSchedulesRequest {
|
|
547
|
+
/**
|
|
548
|
+
* The ID of the Amazon Seller Wallet account.
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof SellerWalletApiListTransferSchedules
|
|
551
|
+
*/
|
|
552
|
+
readonly accountId: string;
|
|
553
|
+
/**
|
|
554
|
+
* A token that you use to retrieve the next page of results. The response includes `nextPageToken` when the number of results exceeds the specified `pageSize` value. 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof SellerWalletApiListTransferSchedules
|
|
557
|
+
*/
|
|
558
|
+
readonly nextPageToken?: string;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* Request parameters for updateTransferSchedule operation in SellerWalletApi.
|
|
562
|
+
* @export
|
|
563
|
+
* @interface SellerWalletApiUpdateTransferScheduleRequest
|
|
564
|
+
*/
|
|
565
|
+
export interface SellerWalletApiUpdateTransferScheduleRequest {
|
|
566
|
+
/**
|
|
567
|
+
* Digital signature for the destination bank account details.
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof SellerWalletApiUpdateTransferSchedule
|
|
570
|
+
*/
|
|
571
|
+
readonly destAccountDigitalSignature: string;
|
|
572
|
+
/**
|
|
573
|
+
* Digital signature for the source currency transaction amount.
|
|
574
|
+
* @type {string}
|
|
575
|
+
* @memberof SellerWalletApiUpdateTransferSchedule
|
|
576
|
+
*/
|
|
577
|
+
readonly amountDigitalSignature: string;
|
|
578
|
+
/**
|
|
579
|
+
* The payload of the scheduled transfer request that is to be updated.
|
|
580
|
+
* @type {TransferSchedule}
|
|
581
|
+
* @memberof SellerWalletApiUpdateTransferSchedule
|
|
582
|
+
*/
|
|
583
|
+
readonly body: TransferSchedule;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* SellerWalletApi - object-oriented interface
|
|
587
|
+
* @export
|
|
588
|
+
* @class SellerWalletApi
|
|
589
|
+
* @extends {BaseAPI}
|
|
590
|
+
*/
|
|
591
|
+
export declare class SellerWalletApi extends BaseAPI {
|
|
592
|
+
/**
|
|
593
|
+
* Create a transaction request from an Amazon Seller Wallet account to another customer-provided account.
|
|
594
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
595
|
+
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
* @memberof SellerWalletApi
|
|
599
|
+
*/
|
|
600
|
+
createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Transaction, any>>;
|
|
601
|
+
/**
|
|
602
|
+
* Create a transfer schedule request from an Amazon Seller Wallet account to another customer-provided account.
|
|
603
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
604
|
+
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
605
|
+
* @param {*} [options] Override http request option.
|
|
606
|
+
* @throws {RequiredError}
|
|
607
|
+
* @memberof SellerWalletApi
|
|
608
|
+
*/
|
|
609
|
+
createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any>>;
|
|
610
|
+
/**
|
|
611
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
612
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
613
|
+
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
* @memberof SellerWalletApi
|
|
617
|
+
*/
|
|
618
|
+
deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteTransferSchedule, any>>;
|
|
619
|
+
/**
|
|
620
|
+
* Retrieve an Amazon Seller Wallet bank account by Amazon account identifier.
|
|
621
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
622
|
+
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
* @memberof SellerWalletApi
|
|
626
|
+
*/
|
|
627
|
+
getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BankAccount, any>>;
|
|
628
|
+
/**
|
|
629
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
630
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
631
|
+
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
* @memberof SellerWalletApi
|
|
635
|
+
*/
|
|
636
|
+
getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Transaction, any>>;
|
|
637
|
+
/**
|
|
638
|
+
* Retrieve a list of potential fees on a transaction.
|
|
639
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
640
|
+
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
* @memberof SellerWalletApi
|
|
644
|
+
*/
|
|
645
|
+
getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferRatePreview, any>>;
|
|
646
|
+
/**
|
|
647
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
648
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
649
|
+
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
* @memberof SellerWalletApi
|
|
653
|
+
*/
|
|
654
|
+
getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any>>;
|
|
655
|
+
/**
|
|
656
|
+
* Retrieve the balance in a given Amazon Seller Wallet bank account.
|
|
657
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
658
|
+
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
* @memberof SellerWalletApi
|
|
662
|
+
*/
|
|
663
|
+
listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BalanceListing, any>>;
|
|
664
|
+
/**
|
|
665
|
+
* Retrieve a list of transactions for a given Amazon Seller Wallet bank account.
|
|
666
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
667
|
+
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
* @memberof SellerWalletApi
|
|
671
|
+
*/
|
|
672
|
+
listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransactionListing, any>>;
|
|
673
|
+
/**
|
|
674
|
+
* Get all Seller Wallet accounts for a given seller.
|
|
675
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
676
|
+
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
* @memberof SellerWalletApi
|
|
680
|
+
*/
|
|
681
|
+
listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BankAccountListing, any>>;
|
|
682
|
+
/**
|
|
683
|
+
* Returns all transfer schedules of a given Amazon Seller Wallet bank account with the schedule ID in response if present.
|
|
684
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
685
|
+
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
686
|
+
* @param {*} [options] Override http request option.
|
|
687
|
+
* @throws {RequiredError}
|
|
688
|
+
* @memberof SellerWalletApi
|
|
689
|
+
*/
|
|
690
|
+
listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferScheduleListing, any>>;
|
|
691
|
+
/**
|
|
692
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
693
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
694
|
+
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
* @memberof SellerWalletApi
|
|
698
|
+
*/
|
|
699
|
+
updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any>>;
|
|
700
|
+
}
|