@sp-api-sdk/seller-wallet-api-2024-03-01 1.5.2 → 2.0.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/README.md +4 -4
- package/dist/index.cjs +1252 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1894 -0
- package/dist/index.d.ts +1894 -0
- package/dist/index.js +1195 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/seller-wallet-api.js +0 -981
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/balance-listing.js +0 -15
- package/dist/cjs/api-model/models/balance-type.js +0 -25
- package/dist/cjs/api-model/models/balance.js +0 -15
- package/dist/cjs/api-model/models/bank-account-holder-status.js +0 -25
- package/dist/cjs/api-model/models/bank-account-listing.js +0 -15
- package/dist/cjs/api-model/models/bank-account-number-format.js +0 -23
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +0 -23
- package/dist/cjs/api-model/models/bank-account.js +0 -15
- package/dist/cjs/api-model/models/bank-number-format.js +0 -23
- package/dist/cjs/api-model/models/create-transaction-response.js +0 -15
- package/dist/cjs/api-model/models/currency.js +0 -15
- package/dist/cjs/api-model/models/delete-transfer-schedule.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/fee-type.js +0 -24
- package/dist/cjs/api-model/models/fee.js +0 -15
- package/dist/cjs/api-model/models/fx-rate-details.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -56
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/payee-contact-information.js +0 -15
- package/dist/cjs/api-model/models/payee-entity-type.js +0 -24
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +0 -23
- package/dist/cjs/api-model/models/payment-preference.js +0 -15
- package/dist/cjs/api-model/models/rate-direction.js +0 -23
- package/dist/cjs/api-model/models/recurring-frequency.js +0 -25
- package/dist/cjs/api-model/models/schedule-expression-type.js +0 -23
- package/dist/cjs/api-model/models/schedule-expression.js +0 -15
- package/dist/cjs/api-model/models/schedule-transfer-type.js +0 -22
- package/dist/cjs/api-model/models/transaction-account.js +0 -15
- package/dist/cjs/api-model/models/transaction-initiation-request.js +0 -15
- package/dist/cjs/api-model/models/transaction-instrument-details.js +0 -15
- package/dist/cjs/api-model/models/transaction-listing.js +0 -15
- package/dist/cjs/api-model/models/transaction-status.js +0 -27
- package/dist/cjs/api-model/models/transaction-type.js +0 -23
- package/dist/cjs/api-model/models/transaction.js +0 -15
- package/dist/cjs/api-model/models/transfer-rate-preview.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-failures.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-information.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-listing.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-request.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-status.js +0 -25
- package/dist/cjs/api-model/models/transfer-schedule.js +0 -15
- package/dist/cjs/client.js +0 -13
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/seller-wallet-api.js +0 -971
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/balance-listing.js +0 -14
- package/dist/es/api-model/models/balance-type.js +0 -22
- package/dist/es/api-model/models/balance.js +0 -14
- package/dist/es/api-model/models/bank-account-holder-status.js +0 -22
- package/dist/es/api-model/models/bank-account-listing.js +0 -14
- package/dist/es/api-model/models/bank-account-number-format.js +0 -20
- package/dist/es/api-model/models/bank-account-ownership-type.js +0 -20
- package/dist/es/api-model/models/bank-account.js +0 -14
- package/dist/es/api-model/models/bank-number-format.js +0 -20
- package/dist/es/api-model/models/create-transaction-response.js +0 -14
- package/dist/es/api-model/models/currency.js +0 -14
- package/dist/es/api-model/models/delete-transfer-schedule.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/fee-type.js +0 -21
- package/dist/es/api-model/models/fee.js +0 -14
- package/dist/es/api-model/models/fx-rate-details.js +0 -14
- package/dist/es/api-model/models/index.js +0 -40
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/payee-contact-information.js +0 -14
- package/dist/es/api-model/models/payee-entity-type.js +0 -21
- package/dist/es/api-model/models/payment-preference-payment-type.js +0 -20
- package/dist/es/api-model/models/payment-preference.js +0 -14
- package/dist/es/api-model/models/rate-direction.js +0 -20
- package/dist/es/api-model/models/recurring-frequency.js +0 -22
- package/dist/es/api-model/models/schedule-expression-type.js +0 -20
- package/dist/es/api-model/models/schedule-expression.js +0 -14
- package/dist/es/api-model/models/schedule-transfer-type.js +0 -19
- package/dist/es/api-model/models/transaction-account.js +0 -14
- package/dist/es/api-model/models/transaction-initiation-request.js +0 -14
- package/dist/es/api-model/models/transaction-instrument-details.js +0 -14
- package/dist/es/api-model/models/transaction-listing.js +0 -14
- package/dist/es/api-model/models/transaction-status.js +0 -24
- package/dist/es/api-model/models/transaction-type.js +0 -20
- package/dist/es/api-model/models/transaction.js +0 -14
- package/dist/es/api-model/models/transfer-rate-preview.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-failures.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-information.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-listing.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-request.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-status.js +0 -22
- package/dist/es/api-model/models/transfer-schedule.js +0 -14
- package/dist/es/client.js +0 -9
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/seller-wallet-api.d.ts +0 -677
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/balance-listing.d.ts +0 -21
- package/dist/types/api-model/models/balance-type.d.ts +0 -21
- package/dist/types/api-model/models/balance.d.ts +0 -34
- package/dist/types/api-model/models/bank-account-holder-status.d.ts +0 -21
- package/dist/types/api-model/models/bank-account-listing.d.ts +0 -21
- package/dist/types/api-model/models/bank-account-number-format.d.ts +0 -19
- package/dist/types/api-model/models/bank-account-ownership-type.d.ts +0 -19
- package/dist/types/api-model/models/bank-account.d.ts +0 -52
- package/dist/types/api-model/models/bank-number-format.d.ts +0 -19
- package/dist/types/api-model/models/create-transaction-response.d.ts +0 -22
- package/dist/types/api-model/models/currency.d.ts +0 -24
- package/dist/types/api-model/models/delete-transfer-schedule.d.ts +0 -28
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/fee-type.d.ts +0 -20
- package/dist/types/api-model/models/fee.d.ts +0 -28
- package/dist/types/api-model/models/fx-rate-details.d.ts +0 -30
- package/dist/types/api-model/models/index.d.ts +0 -40
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/payee-contact-information.d.ts +0 -66
- package/dist/types/api-model/models/payee-entity-type.d.ts +0 -20
- package/dist/types/api-model/models/payment-preference-payment-type.d.ts +0 -19
- package/dist/types/api-model/models/payment-preference.d.ts +0 -22
- package/dist/types/api-model/models/rate-direction.d.ts +0 -19
- package/dist/types/api-model/models/recurring-frequency.d.ts +0 -21
- package/dist/types/api-model/models/schedule-expression-type.d.ts +0 -19
- package/dist/types/api-model/models/schedule-expression.d.ts +0 -20
- package/dist/types/api-model/models/schedule-transfer-type.d.ts +0 -18
- package/dist/types/api-model/models/transaction-account.d.ts +0 -42
- package/dist/types/api-model/models/transaction-initiation-request.d.ts +0 -44
- package/dist/types/api-model/models/transaction-instrument-details.d.ts +0 -26
- package/dist/types/api-model/models/transaction-listing.d.ts +0 -25
- package/dist/types/api-model/models/transaction-status.d.ts +0 -23
- package/dist/types/api-model/models/transaction-type.d.ts +0 -19
- package/dist/types/api-model/models/transaction.d.ts +0 -68
- package/dist/types/api-model/models/transfer-rate-preview.d.ts +0 -26
- package/dist/types/api-model/models/transfer-schedule-failures.d.ts +0 -24
- package/dist/types/api-model/models/transfer-schedule-information.d.ts +0 -28
- package/dist/types/api-model/models/transfer-schedule-listing.d.ts +0 -25
- package/dist/types/api-model/models/transfer-schedule-request.d.ts +0 -38
- package/dist/types/api-model/models/transfer-schedule-status.d.ts +0 -21
- package/dist/types/api-model/models/transfer-schedule.d.ts +0 -36
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1894 @@
|
|
|
1
|
+
import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import * as axios from 'axios';
|
|
3
|
+
import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
7
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
interface AWSv4Configuration {
|
|
17
|
+
options?: {
|
|
18
|
+
region?: string;
|
|
19
|
+
service?: string;
|
|
20
|
+
};
|
|
21
|
+
credentials?: {
|
|
22
|
+
accessKeyId?: string;
|
|
23
|
+
secretAccessKey?: string;
|
|
24
|
+
sessionToken?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
interface ConfigurationParameters {
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
username?: string;
|
|
30
|
+
password?: string;
|
|
31
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
32
|
+
awsv4?: AWSv4Configuration;
|
|
33
|
+
basePath?: string;
|
|
34
|
+
serverIndex?: number;
|
|
35
|
+
baseOptions?: any;
|
|
36
|
+
formDataCtor?: new () => any;
|
|
37
|
+
}
|
|
38
|
+
declare class Configuration {
|
|
39
|
+
/**
|
|
40
|
+
* parameter for apiKey security
|
|
41
|
+
* @param name security name
|
|
42
|
+
*/
|
|
43
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
|
+
/**
|
|
45
|
+
* parameter for basic security
|
|
46
|
+
*/
|
|
47
|
+
username?: string;
|
|
48
|
+
/**
|
|
49
|
+
* parameter for basic security
|
|
50
|
+
*/
|
|
51
|
+
password?: string;
|
|
52
|
+
/**
|
|
53
|
+
* parameter for oauth2 security
|
|
54
|
+
* @param name security name
|
|
55
|
+
* @param scopes oauth2 scope
|
|
56
|
+
*/
|
|
57
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
69
|
+
/**
|
|
70
|
+
* override base path
|
|
71
|
+
*/
|
|
72
|
+
basePath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* override server index
|
|
75
|
+
*/
|
|
76
|
+
serverIndex?: number;
|
|
77
|
+
/**
|
|
78
|
+
* base options for axios calls
|
|
79
|
+
*/
|
|
80
|
+
baseOptions?: any;
|
|
81
|
+
/**
|
|
82
|
+
* The FormData constructor that will be used to create multipart form data
|
|
83
|
+
* requests. You can inject this here so that execution environments that
|
|
84
|
+
* do not support the FormData class can still run the generated client.
|
|
85
|
+
*
|
|
86
|
+
* @type {new () => FormData}
|
|
87
|
+
*/
|
|
88
|
+
formDataCtor?: new () => any;
|
|
89
|
+
constructor(param?: ConfigurationParameters);
|
|
90
|
+
/**
|
|
91
|
+
* Check if the given MIME is a JSON MIME.
|
|
92
|
+
* JSON MIME examples:
|
|
93
|
+
* application/json
|
|
94
|
+
* application/json; charset=UTF8
|
|
95
|
+
* APPLICATION/JSON
|
|
96
|
+
* application/vnd.company+json
|
|
97
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
98
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
99
|
+
*/
|
|
100
|
+
isJsonMime(mime: string): boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
105
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
106
|
+
*
|
|
107
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
111
|
+
* https://openapi-generator.tech
|
|
112
|
+
* Do not edit the class manually.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
interface RequestArgs {
|
|
116
|
+
url: string;
|
|
117
|
+
options: RawAxiosRequestConfig;
|
|
118
|
+
}
|
|
119
|
+
declare class BaseAPI {
|
|
120
|
+
protected basePath: string;
|
|
121
|
+
protected axios: AxiosInstance;
|
|
122
|
+
protected configuration: Configuration | undefined;
|
|
123
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
128
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
129
|
+
*
|
|
130
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
134
|
+
* https://openapi-generator.tech
|
|
135
|
+
* Do not edit the class manually.
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* The type of bank account balance.
|
|
139
|
+
*/
|
|
140
|
+
declare const BalanceType: {
|
|
141
|
+
readonly Available: "AVAILABLE";
|
|
142
|
+
readonly LockedIn: "LOCKED_IN";
|
|
143
|
+
readonly LockedOut: "LOCKED_OUT";
|
|
144
|
+
readonly Total: "TOTAL";
|
|
145
|
+
};
|
|
146
|
+
type BalanceType = typeof BalanceType[keyof typeof BalanceType];
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
150
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
151
|
+
*
|
|
152
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
153
|
+
*
|
|
154
|
+
*
|
|
155
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
156
|
+
* https://openapi-generator.tech
|
|
157
|
+
* Do not edit the class manually.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The balance amount in the Amazon Seller Wallet bank account.
|
|
162
|
+
*/
|
|
163
|
+
interface Balance {
|
|
164
|
+
/**
|
|
165
|
+
* The unique identifier provided by Amazon to identify the account.
|
|
166
|
+
*/
|
|
167
|
+
'accountId': string;
|
|
168
|
+
'balanceType'?: BalanceType;
|
|
169
|
+
/**
|
|
170
|
+
* A decimal number, such as an amount or FX rate.
|
|
171
|
+
*/
|
|
172
|
+
'balanceAmount': number;
|
|
173
|
+
/**
|
|
174
|
+
* The Amazon Seller Wallet bank account currency code in ISO 4217 format.
|
|
175
|
+
*/
|
|
176
|
+
'balanceCurrency': string;
|
|
177
|
+
/**
|
|
178
|
+
* The date of the most recent account balance update.
|
|
179
|
+
*/
|
|
180
|
+
'lastUpdateDate': string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
185
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
186
|
+
*
|
|
187
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
188
|
+
*
|
|
189
|
+
*
|
|
190
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
191
|
+
* https://openapi-generator.tech
|
|
192
|
+
* Do not edit the class manually.
|
|
193
|
+
*/
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* A list of balances in the seller account.
|
|
197
|
+
*/
|
|
198
|
+
interface BalanceListing {
|
|
199
|
+
/**
|
|
200
|
+
* A list of balances in the seller account.
|
|
201
|
+
*/
|
|
202
|
+
'balances'?: Array<Balance>;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
207
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
208
|
+
*
|
|
209
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
210
|
+
*
|
|
211
|
+
*
|
|
212
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
213
|
+
* https://openapi-generator.tech
|
|
214
|
+
* Do not edit the class manually.
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* The status of the Amazon Seller Wallet account holder.
|
|
218
|
+
*/
|
|
219
|
+
declare const BankAccountHolderStatus: {
|
|
220
|
+
readonly Active: "ACTIVE";
|
|
221
|
+
readonly Inactive: "INACTIVE";
|
|
222
|
+
readonly UnderReview: "UNDER_REVIEW";
|
|
223
|
+
readonly VerificationFailed: "VERIFICATION_FAILED";
|
|
224
|
+
};
|
|
225
|
+
type BankAccountHolderStatus = typeof BankAccountHolderStatus[keyof typeof BankAccountHolderStatus];
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
229
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
230
|
+
*
|
|
231
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
232
|
+
*
|
|
233
|
+
*
|
|
234
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
235
|
+
* https://openapi-generator.tech
|
|
236
|
+
* Do not edit the class manually.
|
|
237
|
+
*/
|
|
238
|
+
/**
|
|
239
|
+
* The format of the bank account number.
|
|
240
|
+
*/
|
|
241
|
+
declare const BankAccountNumberFormat: {
|
|
242
|
+
readonly Iban: "IBAN";
|
|
243
|
+
readonly Bban: "BBAN";
|
|
244
|
+
};
|
|
245
|
+
type BankAccountNumberFormat = typeof BankAccountNumberFormat[keyof typeof BankAccountNumberFormat];
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
249
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
250
|
+
*
|
|
251
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
252
|
+
*
|
|
253
|
+
*
|
|
254
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
255
|
+
* https://openapi-generator.tech
|
|
256
|
+
* Do not edit the class manually.
|
|
257
|
+
*/
|
|
258
|
+
/**
|
|
259
|
+
* The destination bank account\'s ownership type.
|
|
260
|
+
*/
|
|
261
|
+
declare const BankAccountOwnershipType: {
|
|
262
|
+
readonly ThirdParty: "THIRD_PARTY";
|
|
263
|
+
readonly Self: "SELF";
|
|
264
|
+
};
|
|
265
|
+
type BankAccountOwnershipType = typeof BankAccountOwnershipType[keyof typeof BankAccountOwnershipType];
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
269
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
270
|
+
*
|
|
271
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
272
|
+
*
|
|
273
|
+
*
|
|
274
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
275
|
+
* https://openapi-generator.tech
|
|
276
|
+
* Do not edit the class manually.
|
|
277
|
+
*/
|
|
278
|
+
/**
|
|
279
|
+
* The format of the bank number. Also known as the routing number type.
|
|
280
|
+
*/
|
|
281
|
+
declare const BankNumberFormat: {
|
|
282
|
+
readonly Bic: "BIC";
|
|
283
|
+
readonly Basic: "BASIC";
|
|
284
|
+
};
|
|
285
|
+
type BankNumberFormat = typeof BankNumberFormat[keyof typeof BankNumberFormat];
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
289
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
290
|
+
*
|
|
291
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
292
|
+
*
|
|
293
|
+
*
|
|
294
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
295
|
+
* https://openapi-generator.tech
|
|
296
|
+
* Do not edit the class manually.
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Details of an Amazon Seller Wallet bank account. This account is used to hold the money that a Seller Wallet customer earns by selling items.
|
|
301
|
+
*/
|
|
302
|
+
interface BankAccount {
|
|
303
|
+
/**
|
|
304
|
+
* The unique bank account identifier provided by Amazon. To initiate a `SELF` transaction with Seller Wallet, you must choose `BANK_ACCOUNT` as the payment method type in the [getPaymentMethod](https://developer-docs.amazon.com/sp-api/reference/getpaymentmethods) request. Your Amazon Seller Wallet bank account identifier should match the `paymentMethodId` in the response. This field is required.
|
|
305
|
+
*/
|
|
306
|
+
'accountId'?: string;
|
|
307
|
+
/**
|
|
308
|
+
* The bank account holder\'s name (expected to be an Amazon customer). There is a 50 character limit.
|
|
309
|
+
*/
|
|
310
|
+
'accountHolderName'?: string;
|
|
311
|
+
'bankAccountNumberFormat'?: BankAccountNumberFormat;
|
|
312
|
+
/**
|
|
313
|
+
* The name of the bank. This value is Amazon Seller Wallet for Amazon Seller Wallet accounts.
|
|
314
|
+
*/
|
|
315
|
+
'bankName'?: string;
|
|
316
|
+
'bankAccountOwnershipType': BankAccountOwnershipType;
|
|
317
|
+
/**
|
|
318
|
+
* Routing number for automated clearing house transfers for `THIRD_PARTY` transaction requests. This value is nine consecutive zeros for Amazon Seller Wallet accounts.
|
|
319
|
+
*/
|
|
320
|
+
'routingNumber'?: string;
|
|
321
|
+
'bankNumberFormat'?: BankNumberFormat;
|
|
322
|
+
/**
|
|
323
|
+
* The two-digit country code in ISO 3166 format.
|
|
324
|
+
*/
|
|
325
|
+
'accountCountryCode': string;
|
|
326
|
+
/**
|
|
327
|
+
* Bank account currency code in ISO 4217 format.
|
|
328
|
+
*/
|
|
329
|
+
'accountCurrency': string;
|
|
330
|
+
/**
|
|
331
|
+
* The last 3 digit of the bank account number. This value is three consecutive zeros for Amazon Seller Wallet accounts.
|
|
332
|
+
*/
|
|
333
|
+
'bankAccountNumberTail': string;
|
|
334
|
+
'bankAccountHolderStatus'?: BankAccountHolderStatus;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
339
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
340
|
+
*
|
|
341
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
342
|
+
*
|
|
343
|
+
*
|
|
344
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
345
|
+
* https://openapi-generator.tech
|
|
346
|
+
* Do not edit the class manually.
|
|
347
|
+
*/
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* A list of bank accounts.
|
|
351
|
+
*/
|
|
352
|
+
interface BankAccountListing {
|
|
353
|
+
/**
|
|
354
|
+
* A list of bank accounts.
|
|
355
|
+
*/
|
|
356
|
+
'accounts': Array<BankAccount>;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
361
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
362
|
+
*
|
|
363
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
364
|
+
*
|
|
365
|
+
*
|
|
366
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
367
|
+
* https://openapi-generator.tech
|
|
368
|
+
* Do not edit the class manually.
|
|
369
|
+
*/
|
|
370
|
+
/**
|
|
371
|
+
* A currency type and amount.
|
|
372
|
+
*/
|
|
373
|
+
interface Currency {
|
|
374
|
+
/**
|
|
375
|
+
* The three-digit currency code in ISO 4217 format.
|
|
376
|
+
*/
|
|
377
|
+
'currencyCode'?: string;
|
|
378
|
+
/**
|
|
379
|
+
* A decimal number, such as an amount or FX rate.
|
|
380
|
+
*/
|
|
381
|
+
'currencyAmount'?: number;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
386
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
387
|
+
*
|
|
388
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
389
|
+
*
|
|
390
|
+
*
|
|
391
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
392
|
+
* https://openapi-generator.tech
|
|
393
|
+
* Do not edit the class manually.
|
|
394
|
+
*/
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Details of the bank account involved in the transaction.
|
|
398
|
+
*/
|
|
399
|
+
interface TransactionAccount {
|
|
400
|
+
/**
|
|
401
|
+
* The unique identifier provided by Amazon to identify the account.
|
|
402
|
+
*/
|
|
403
|
+
'accountId'?: string;
|
|
404
|
+
/**
|
|
405
|
+
* The account holder\'s name.
|
|
406
|
+
*/
|
|
407
|
+
'bankAccountHolderName'?: string;
|
|
408
|
+
/**
|
|
409
|
+
* The name of the bank.
|
|
410
|
+
*/
|
|
411
|
+
'bankName': string;
|
|
412
|
+
'bankAccountNumberFormat': BankAccountNumberFormat;
|
|
413
|
+
/**
|
|
414
|
+
* The last three digits of the bank account number.
|
|
415
|
+
*/
|
|
416
|
+
'bankAccountNumberTail'?: string;
|
|
417
|
+
/**
|
|
418
|
+
* The two-digit country code, in ISO 3166 format. This field is optional for `transactionSourceAccount`, but is mandatory for `transactionDestinationAccount`.
|
|
419
|
+
*/
|
|
420
|
+
'bankAccountCountryCode'?: string;
|
|
421
|
+
/**
|
|
422
|
+
* The currency code in ISO 4217 format.
|
|
423
|
+
*/
|
|
424
|
+
'bankAccountCurrency': string;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
429
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
430
|
+
*
|
|
431
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
432
|
+
*
|
|
433
|
+
*
|
|
434
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
435
|
+
* https://openapi-generator.tech
|
|
436
|
+
* Do not edit the class manually.
|
|
437
|
+
*/
|
|
438
|
+
/**
|
|
439
|
+
* The current status of the transaction.
|
|
440
|
+
*/
|
|
441
|
+
declare const TransactionStatus: {
|
|
442
|
+
readonly Expired: "EXPIRED";
|
|
443
|
+
readonly Failed: "FAILED";
|
|
444
|
+
readonly FailedCreditsApplied: "FAILED_CREDITS_APPLIED";
|
|
445
|
+
readonly InProgress: "IN_PROGRESS";
|
|
446
|
+
readonly PendingUserApproval: "PENDING_USER_APPROVAL";
|
|
447
|
+
readonly Successful: "SUCCESSFUL";
|
|
448
|
+
};
|
|
449
|
+
type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus];
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
453
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
454
|
+
*
|
|
455
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
456
|
+
*
|
|
457
|
+
*
|
|
458
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
459
|
+
* https://openapi-generator.tech
|
|
460
|
+
* Do not edit the class manually.
|
|
461
|
+
*/
|
|
462
|
+
/**
|
|
463
|
+
* The type of transaction.
|
|
464
|
+
*/
|
|
465
|
+
declare const TransactionType: {
|
|
466
|
+
readonly Credit: "CREDIT";
|
|
467
|
+
readonly Debit: "DEBIT";
|
|
468
|
+
};
|
|
469
|
+
type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
473
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
474
|
+
*
|
|
475
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
476
|
+
*
|
|
477
|
+
*
|
|
478
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
479
|
+
* https://openapi-generator.tech
|
|
480
|
+
* Do not edit the class manually.
|
|
481
|
+
*/
|
|
482
|
+
/**
|
|
483
|
+
* The type of fee on the transaction.
|
|
484
|
+
*/
|
|
485
|
+
declare const FeeType: {
|
|
486
|
+
readonly MiscellaneousFee: "MISCELLANEOUS_FEE";
|
|
487
|
+
readonly Tax: "TAX";
|
|
488
|
+
readonly TransactionFee: "TRANSACTION_FEE";
|
|
489
|
+
};
|
|
490
|
+
type FeeType = typeof FeeType[keyof typeof FeeType];
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
494
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
495
|
+
*
|
|
496
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
497
|
+
*
|
|
498
|
+
*
|
|
499
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
500
|
+
* https://openapi-generator.tech
|
|
501
|
+
* Do not edit the class manually.
|
|
502
|
+
*/
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Details of the fee.
|
|
506
|
+
*/
|
|
507
|
+
interface Fee {
|
|
508
|
+
/**
|
|
509
|
+
* The unique identifier assigned to the fee.
|
|
510
|
+
*/
|
|
511
|
+
'feeId': string;
|
|
512
|
+
'feeType': FeeType;
|
|
513
|
+
/**
|
|
514
|
+
* The value of the fee in percentage format.
|
|
515
|
+
*/
|
|
516
|
+
'feeRateValue': string;
|
|
517
|
+
'feeAmount': Currency;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
522
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
523
|
+
*
|
|
524
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
525
|
+
*
|
|
526
|
+
*
|
|
527
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
528
|
+
* https://openapi-generator.tech
|
|
529
|
+
* Do not edit the class manually.
|
|
530
|
+
*/
|
|
531
|
+
/**
|
|
532
|
+
* Whether the customer is buying or selling the source currency.
|
|
533
|
+
*/
|
|
534
|
+
declare const RateDirection: {
|
|
535
|
+
readonly Buy: "BUY";
|
|
536
|
+
readonly Sell: "SELL";
|
|
537
|
+
};
|
|
538
|
+
type RateDirection = typeof RateDirection[keyof typeof RateDirection];
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
542
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
543
|
+
*
|
|
544
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
545
|
+
*
|
|
546
|
+
*
|
|
547
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
548
|
+
* https://openapi-generator.tech
|
|
549
|
+
* Do not edit the class manually.
|
|
550
|
+
*/
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Foreign exchange rate details.
|
|
554
|
+
*/
|
|
555
|
+
interface FxRateDetails {
|
|
556
|
+
/**
|
|
557
|
+
* The unique identifier assigned to the fees / foreign exchange rate of a transaction.
|
|
558
|
+
*/
|
|
559
|
+
'fxRateId': string;
|
|
560
|
+
/**
|
|
561
|
+
* A decimal number, such as an amount or FX rate.
|
|
562
|
+
*/
|
|
563
|
+
'baseRate': number;
|
|
564
|
+
/**
|
|
565
|
+
* A decimal number, such as an amount or FX rate.
|
|
566
|
+
*/
|
|
567
|
+
'effectiveFxRate': number;
|
|
568
|
+
'rateDirection': RateDirection;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
573
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
574
|
+
*
|
|
575
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
576
|
+
*
|
|
577
|
+
*
|
|
578
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
579
|
+
* https://openapi-generator.tech
|
|
580
|
+
* Do not edit the class manually.
|
|
581
|
+
*/
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* The fees and foreign exchange rates that apply to the transaction. If the fees are in terms of the `baseAmount` (source account) currency, then the effective rate is equal to **1 - (fees * `baseRate` / `baseAmount`)**. If the fees are in terms of the `transferAmount` (destination account) currency, then the effective rate is equal to **`baseRate` - (fees / `baseAmount`)**. In the preceding expressions, **fees** is equal to the sum of all `feeAmount.currencyAmount` values in the `fees` array.
|
|
585
|
+
*/
|
|
586
|
+
interface TransferRatePreview {
|
|
587
|
+
'baseAmount': Currency;
|
|
588
|
+
'fxRateDetails': FxRateDetails;
|
|
589
|
+
'transferAmount': Currency;
|
|
590
|
+
/**
|
|
591
|
+
* A list of fees.
|
|
592
|
+
*/
|
|
593
|
+
'fees': Array<Fee>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
598
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
599
|
+
*
|
|
600
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
601
|
+
*
|
|
602
|
+
*
|
|
603
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
604
|
+
* https://openapi-generator.tech
|
|
605
|
+
* Do not edit the class manually.
|
|
606
|
+
*/
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* The current transaction status and related historical details.
|
|
610
|
+
*/
|
|
611
|
+
interface Transaction {
|
|
612
|
+
/**
|
|
613
|
+
* The unique identifier of the Amazon Seller Wallet bank account from which the money is debited.
|
|
614
|
+
*/
|
|
615
|
+
'accountId': string;
|
|
616
|
+
/**
|
|
617
|
+
* The unique identifier provided by Amazon to the transaction.
|
|
618
|
+
*/
|
|
619
|
+
'transactionId': string;
|
|
620
|
+
'transactionType': TransactionType;
|
|
621
|
+
'transactionStatus': TransactionStatus;
|
|
622
|
+
/**
|
|
623
|
+
* The date when the transaction was initiated.
|
|
624
|
+
*/
|
|
625
|
+
'transactionRequestDate': string;
|
|
626
|
+
/**
|
|
627
|
+
* The expected completion date of the transaction.
|
|
628
|
+
*/
|
|
629
|
+
'expectedCompletionDate'?: string;
|
|
630
|
+
/**
|
|
631
|
+
* The transaction\'s completion date.
|
|
632
|
+
*/
|
|
633
|
+
'transactionActualCompletionDate'?: string;
|
|
634
|
+
/**
|
|
635
|
+
* The date of the most recent account balance update.
|
|
636
|
+
*/
|
|
637
|
+
'lastUpdateDate': string;
|
|
638
|
+
/**
|
|
639
|
+
* The Amazon Seller Wallet customer who requested the transaction.
|
|
640
|
+
*/
|
|
641
|
+
'requesterName'?: string;
|
|
642
|
+
/**
|
|
643
|
+
* The transaction initiation source. This value is either the Amazon portal or PISP name that the customer used to start the transaction.
|
|
644
|
+
*/
|
|
645
|
+
'transactionRequesterSource': string;
|
|
646
|
+
/**
|
|
647
|
+
* A description of the transaction that the requester provides when they initiate the transaction.
|
|
648
|
+
*/
|
|
649
|
+
'transactionDescription': string;
|
|
650
|
+
'transactionSourceAccount'?: TransactionAccount;
|
|
651
|
+
'transactionDestinationAccount': TransactionAccount;
|
|
652
|
+
'transactionRequestAmount': Currency;
|
|
653
|
+
'transferRateDetails': TransferRatePreview;
|
|
654
|
+
'transactionFinalAmount'?: Currency;
|
|
655
|
+
/**
|
|
656
|
+
* The reason the transaction failed, if applicable.
|
|
657
|
+
*/
|
|
658
|
+
'transactionFailureReason'?: string;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
663
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
664
|
+
*
|
|
665
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
666
|
+
*
|
|
667
|
+
*
|
|
668
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
669
|
+
* https://openapi-generator.tech
|
|
670
|
+
* Do not edit the class manually.
|
|
671
|
+
*/
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* The transaction response and historical details related to it.
|
|
675
|
+
*/
|
|
676
|
+
interface CreateTransactionResponse {
|
|
677
|
+
'transaction': Transaction;
|
|
678
|
+
/**
|
|
679
|
+
* The callback URL for the transaction which the user have to click to approve/consent the transaction
|
|
680
|
+
*/
|
|
681
|
+
'callBackURL': string;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
686
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
687
|
+
*
|
|
688
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
689
|
+
*
|
|
690
|
+
*
|
|
691
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
692
|
+
* https://openapi-generator.tech
|
|
693
|
+
* Do not edit the class manually.
|
|
694
|
+
*/
|
|
695
|
+
/**
|
|
696
|
+
* The response returned when the schedule transfer\'s delete request is successful.
|
|
697
|
+
*/
|
|
698
|
+
interface DeleteTransferSchedule {
|
|
699
|
+
/**
|
|
700
|
+
* A success code that specifies that the delete operation was successful. For example, HTTP 200.
|
|
701
|
+
*/
|
|
702
|
+
'code': string;
|
|
703
|
+
/**
|
|
704
|
+
* A message that describes the success condition of the delete schedule transaction.
|
|
705
|
+
*/
|
|
706
|
+
'message': string;
|
|
707
|
+
/**
|
|
708
|
+
* Additional details that can help the caller understand the operation execution.
|
|
709
|
+
*/
|
|
710
|
+
'details'?: string;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
715
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
716
|
+
*
|
|
717
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
718
|
+
*
|
|
719
|
+
*
|
|
720
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
721
|
+
* https://openapi-generator.tech
|
|
722
|
+
* Do not edit the class manually.
|
|
723
|
+
*/
|
|
724
|
+
/**
|
|
725
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
726
|
+
*/
|
|
727
|
+
interface ErrorList {
|
|
728
|
+
/**
|
|
729
|
+
* List of errors
|
|
730
|
+
*/
|
|
731
|
+
'errors': Array<Error>;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
736
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
737
|
+
*
|
|
738
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
739
|
+
*
|
|
740
|
+
*
|
|
741
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
742
|
+
* https://openapi-generator.tech
|
|
743
|
+
* Do not edit the class manually.
|
|
744
|
+
*/
|
|
745
|
+
/**
|
|
746
|
+
* Error response returned when the request is unsuccessful.
|
|
747
|
+
*/
|
|
748
|
+
interface ModelError {
|
|
749
|
+
/**
|
|
750
|
+
* An error code that identifies the type of error that occurred.
|
|
751
|
+
*/
|
|
752
|
+
'code': string;
|
|
753
|
+
/**
|
|
754
|
+
* A message that describes the error condition.
|
|
755
|
+
*/
|
|
756
|
+
'message': string;
|
|
757
|
+
/**
|
|
758
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
759
|
+
*/
|
|
760
|
+
'details'?: string;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
765
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
766
|
+
*
|
|
767
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
768
|
+
*
|
|
769
|
+
*
|
|
770
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
771
|
+
* https://openapi-generator.tech
|
|
772
|
+
* Do not edit the class manually.
|
|
773
|
+
*/
|
|
774
|
+
/**
|
|
775
|
+
* The entity type of the transaction payee when the bank account ownership type is `THIRD_PARTY`.
|
|
776
|
+
*/
|
|
777
|
+
declare const PayeeEntityType: {
|
|
778
|
+
readonly Individual: "INDIVIDUAL";
|
|
779
|
+
readonly Business: "BUSINESS";
|
|
780
|
+
readonly TaxAuthority: "TAX_AUTHORITY";
|
|
781
|
+
};
|
|
782
|
+
type PayeeEntityType = typeof PayeeEntityType[keyof typeof PayeeEntityType];
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
786
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
787
|
+
*
|
|
788
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
789
|
+
*
|
|
790
|
+
*
|
|
791
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
792
|
+
* https://openapi-generator.tech
|
|
793
|
+
* Do not edit the class manually.
|
|
794
|
+
*/
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* The contact information of the payee. This field is required when the request `bankAccountOwnershipType` is `THIRD_PARTY`. The contact information is used for payee verification and registration purposes.
|
|
798
|
+
*/
|
|
799
|
+
interface PayeeContactInformation {
|
|
800
|
+
/**
|
|
801
|
+
* First name of the payee. There is a 50 character limit.
|
|
802
|
+
*/
|
|
803
|
+
'payeeFirstName': string;
|
|
804
|
+
/**
|
|
805
|
+
* Middle name of the payee. There is a 50 character limit.
|
|
806
|
+
*/
|
|
807
|
+
'payeeMiddleName'?: string;
|
|
808
|
+
/**
|
|
809
|
+
* Last name of the payee. There is a 50 character limit.
|
|
810
|
+
*/
|
|
811
|
+
'payeeLastName': string;
|
|
812
|
+
/**
|
|
813
|
+
* Address Line 1 of the public address.
|
|
814
|
+
*/
|
|
815
|
+
'addressLine1': string;
|
|
816
|
+
/**
|
|
817
|
+
* Address Line 2 of the public address.
|
|
818
|
+
*/
|
|
819
|
+
'addressLine2'?: string;
|
|
820
|
+
/**
|
|
821
|
+
* City name of the public address.
|
|
822
|
+
*/
|
|
823
|
+
'city': string;
|
|
824
|
+
/**
|
|
825
|
+
* State name of the public address. This is the state or region for China-based addresses.
|
|
826
|
+
*/
|
|
827
|
+
'state': string;
|
|
828
|
+
/**
|
|
829
|
+
* Postal code of the public address.
|
|
830
|
+
*/
|
|
831
|
+
'postalCode': string;
|
|
832
|
+
/**
|
|
833
|
+
* Country name of the public address.
|
|
834
|
+
*/
|
|
835
|
+
'country'?: string;
|
|
836
|
+
/**
|
|
837
|
+
* The two digit country code, in ISO 3166 format.
|
|
838
|
+
*/
|
|
839
|
+
'countryCode': string;
|
|
840
|
+
/**
|
|
841
|
+
* Email address of the payee.
|
|
842
|
+
*/
|
|
843
|
+
'emailAddress': string;
|
|
844
|
+
/**
|
|
845
|
+
* Valid phone number of the payee.
|
|
846
|
+
*/
|
|
847
|
+
'phoneNumber': string;
|
|
848
|
+
'payeeEntityType': PayeeEntityType;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
853
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
854
|
+
*
|
|
855
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
856
|
+
*
|
|
857
|
+
*
|
|
858
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
859
|
+
* https://openapi-generator.tech
|
|
860
|
+
* Do not edit the class manually.
|
|
861
|
+
*/
|
|
862
|
+
/**
|
|
863
|
+
* The type of payment preference.
|
|
864
|
+
*/
|
|
865
|
+
declare const PaymentPreferencePaymentType: {
|
|
866
|
+
readonly Percentage: "PERCENTAGE";
|
|
867
|
+
readonly Amount: "AMOUNT";
|
|
868
|
+
};
|
|
869
|
+
type PaymentPreferencePaymentType = typeof PaymentPreferencePaymentType[keyof typeof PaymentPreferencePaymentType];
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
873
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
874
|
+
*
|
|
875
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
876
|
+
*
|
|
877
|
+
*
|
|
878
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
879
|
+
* https://openapi-generator.tech
|
|
880
|
+
* Do not edit the class manually.
|
|
881
|
+
*/
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* The type of payment preference in which the transfer is being scheduled.
|
|
885
|
+
*/
|
|
886
|
+
interface PaymentPreference {
|
|
887
|
+
'paymentPreferencePaymentType': PaymentPreferencePaymentType;
|
|
888
|
+
/**
|
|
889
|
+
* A decimal number, such as an amount or FX rate.
|
|
890
|
+
*/
|
|
891
|
+
'value': number;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
896
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
897
|
+
*
|
|
898
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
899
|
+
*
|
|
900
|
+
*
|
|
901
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
902
|
+
* https://openapi-generator.tech
|
|
903
|
+
* Do not edit the class manually.
|
|
904
|
+
*/
|
|
905
|
+
/**
|
|
906
|
+
* The frequency at which the transaction is repeated.
|
|
907
|
+
*/
|
|
908
|
+
declare const RecurringFrequency: {
|
|
909
|
+
readonly Daily: "DAILY";
|
|
910
|
+
readonly Weekly: "WEEKLY";
|
|
911
|
+
readonly Biweekly: "BIWEEKLY";
|
|
912
|
+
readonly Monthly: "MONTHLY";
|
|
913
|
+
};
|
|
914
|
+
type RecurringFrequency = typeof RecurringFrequency[keyof typeof RecurringFrequency];
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
918
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
919
|
+
*
|
|
920
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
921
|
+
*
|
|
922
|
+
*
|
|
923
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
924
|
+
* https://openapi-generator.tech
|
|
925
|
+
* Do not edit the class manually.
|
|
926
|
+
*/
|
|
927
|
+
/**
|
|
928
|
+
* The type of scheduled transfer expression.
|
|
929
|
+
*/
|
|
930
|
+
declare const ScheduleExpressionType: {
|
|
931
|
+
readonly Recurring: "RECURRING";
|
|
932
|
+
readonly OneTime: "ONE_TIME";
|
|
933
|
+
};
|
|
934
|
+
type ScheduleExpressionType = typeof ScheduleExpressionType[keyof typeof ScheduleExpressionType];
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
938
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
939
|
+
*
|
|
940
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
941
|
+
*
|
|
942
|
+
*
|
|
943
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
944
|
+
* https://openapi-generator.tech
|
|
945
|
+
* Do not edit the class manually.
|
|
946
|
+
*/
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* The configuration of the schedule.
|
|
950
|
+
*/
|
|
951
|
+
interface ScheduleExpression {
|
|
952
|
+
'scheduleExpressionType': ScheduleExpressionType;
|
|
953
|
+
'recurringFrequency'?: RecurringFrequency;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
958
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
959
|
+
*
|
|
960
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
961
|
+
*
|
|
962
|
+
*
|
|
963
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
964
|
+
* https://openapi-generator.tech
|
|
965
|
+
* Do not edit the class manually.
|
|
966
|
+
*/
|
|
967
|
+
/**
|
|
968
|
+
* The type of schedule the transfer is on. Schedules based on time patterns use EventBridge.
|
|
969
|
+
*/
|
|
970
|
+
declare const ScheduleTransferType: {
|
|
971
|
+
readonly TimeBased: "TIME_BASED";
|
|
972
|
+
};
|
|
973
|
+
type ScheduleTransferType = typeof ScheduleTransferType[keyof typeof ScheduleTransferType];
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
977
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
978
|
+
*
|
|
979
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
980
|
+
*
|
|
981
|
+
*
|
|
982
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
983
|
+
* https://openapi-generator.tech
|
|
984
|
+
* Do not edit the class manually.
|
|
985
|
+
*/
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Details of the destination bank account in the transaction request.
|
|
989
|
+
*/
|
|
990
|
+
interface TransactionInstrumentDetails {
|
|
991
|
+
'bankAccount': BankAccount;
|
|
992
|
+
/**
|
|
993
|
+
* The bank account number of the destination payment method. **Note:** This field is encrypted before Amazon receives it, so should not be used to generate `destAccountDigitalSignature`, and should not be included in the request signature.
|
|
994
|
+
*/
|
|
995
|
+
'bankAccountNumber': string;
|
|
996
|
+
/**
|
|
997
|
+
* The bank account holder\'s name (expected to be an Amazon customer). **Note:** This field is encrypted before Amazon receives it, so should not be used to generate `destAccountDigitalSignature`, and should not be included in the request signature.
|
|
998
|
+
*/
|
|
999
|
+
'accountHolderName': string;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1004
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1005
|
+
*
|
|
1006
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1007
|
+
*
|
|
1008
|
+
*
|
|
1009
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1010
|
+
* https://openapi-generator.tech
|
|
1011
|
+
* Do not edit the class manually.
|
|
1012
|
+
*/
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Request body to initiate a transaction from a Seller Wallet bank account to another customer-defined bank account.
|
|
1016
|
+
*/
|
|
1017
|
+
interface TransactionInitiationRequest {
|
|
1018
|
+
/**
|
|
1019
|
+
* The unique identifier of the source Amazon Seller Wallet bank account from which the money is debited.
|
|
1020
|
+
*/
|
|
1021
|
+
'sourceAccountId': string;
|
|
1022
|
+
/**
|
|
1023
|
+
* The unique identifier of the destination bank account where the money is deposited.
|
|
1024
|
+
*/
|
|
1025
|
+
'destinationAccountId'?: string;
|
|
1026
|
+
'destinationTransactionInstrument': TransactionInstrumentDetails;
|
|
1027
|
+
/**
|
|
1028
|
+
* A description of the transaction.
|
|
1029
|
+
*/
|
|
1030
|
+
'transactionDescription'?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* If the payment is for VAT (Value-Added-Tax) then enter VAT identification number in this field which will be mandatory. The length constraint is 140 characters and do not allow user to enter any sensitive information other than VAT-ID.
|
|
1033
|
+
*/
|
|
1034
|
+
'customerPaymentReference'?: string;
|
|
1035
|
+
'payeeContactInformation'?: PayeeContactInformation;
|
|
1036
|
+
'sourceAmount': Currency;
|
|
1037
|
+
'transferRateDetails'?: TransferRatePreview;
|
|
1038
|
+
/**
|
|
1039
|
+
* The time at which the transaction was initiated in [ISO 8601 date time format](https://developer-docs.amazon.com/sp-api/docs/iso-8601).
|
|
1040
|
+
*/
|
|
1041
|
+
'requestTime': string;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1046
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1047
|
+
*
|
|
1048
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1049
|
+
*
|
|
1050
|
+
*
|
|
1051
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1052
|
+
* https://openapi-generator.tech
|
|
1053
|
+
* Do not edit the class manually.
|
|
1054
|
+
*/
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* A list of transactions.
|
|
1058
|
+
*/
|
|
1059
|
+
interface TransactionListing {
|
|
1060
|
+
/**
|
|
1061
|
+
* 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.
|
|
1062
|
+
*/
|
|
1063
|
+
'nextPageToken'?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* A list of transactions.
|
|
1066
|
+
*/
|
|
1067
|
+
'transactions': Array<Transaction>;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1072
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1073
|
+
*
|
|
1074
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1075
|
+
*
|
|
1076
|
+
*
|
|
1077
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1078
|
+
* https://openapi-generator.tech
|
|
1079
|
+
* Do not edit the class manually.
|
|
1080
|
+
*/
|
|
1081
|
+
/**
|
|
1082
|
+
* The time of and reason for the transfer schedule failure.
|
|
1083
|
+
*/
|
|
1084
|
+
interface TransferScheduleFailures {
|
|
1085
|
+
/**
|
|
1086
|
+
* The transfer schedule failure date.
|
|
1087
|
+
*/
|
|
1088
|
+
'transferScheduleFailureDate': string;
|
|
1089
|
+
/**
|
|
1090
|
+
* The reason listed for the failure of the transfer schedule.
|
|
1091
|
+
*/
|
|
1092
|
+
'transferScheduleFailureReason': string;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1097
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1098
|
+
*
|
|
1099
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1100
|
+
*
|
|
1101
|
+
*
|
|
1102
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1103
|
+
* https://openapi-generator.tech
|
|
1104
|
+
* Do not edit the class manually.
|
|
1105
|
+
*/
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Mandatory information for initiating a schedule transfer.
|
|
1109
|
+
*/
|
|
1110
|
+
interface TransferScheduleInformation {
|
|
1111
|
+
/**
|
|
1112
|
+
* The start date of the scheduled transfer.
|
|
1113
|
+
*/
|
|
1114
|
+
'scheduleStartDate'?: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* The end date of the scheduled transfer.
|
|
1117
|
+
*/
|
|
1118
|
+
'scheduleEndDate'?: string;
|
|
1119
|
+
'scheduleExpression'?: ScheduleExpression;
|
|
1120
|
+
'scheduleType'?: ScheduleTransferType;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1125
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1126
|
+
*
|
|
1127
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1128
|
+
*
|
|
1129
|
+
*
|
|
1130
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1131
|
+
* https://openapi-generator.tech
|
|
1132
|
+
* Do not edit the class manually.
|
|
1133
|
+
*/
|
|
1134
|
+
/**
|
|
1135
|
+
* The schedule status of the transfer.
|
|
1136
|
+
*/
|
|
1137
|
+
declare const TransferScheduleStatus: {
|
|
1138
|
+
readonly Enabled: "ENABLED";
|
|
1139
|
+
readonly Disabled: "DISABLED";
|
|
1140
|
+
readonly Expired: "EXPIRED";
|
|
1141
|
+
readonly Deleted: "DELETED";
|
|
1142
|
+
};
|
|
1143
|
+
type TransferScheduleStatus = typeof TransferScheduleStatus[keyof typeof TransferScheduleStatus];
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1147
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1148
|
+
*
|
|
1149
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1150
|
+
*
|
|
1151
|
+
*
|
|
1152
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1153
|
+
* https://openapi-generator.tech
|
|
1154
|
+
* Do not edit the class manually.
|
|
1155
|
+
*/
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Transfer schedule details and related historical details.
|
|
1159
|
+
*/
|
|
1160
|
+
interface TransferSchedule {
|
|
1161
|
+
/**
|
|
1162
|
+
* The unique identifier provided by Amazon to the scheduled transfer.
|
|
1163
|
+
*/
|
|
1164
|
+
'transferScheduleId': string;
|
|
1165
|
+
'transactionType': TransactionType;
|
|
1166
|
+
'transactionSourceAccount'?: TransactionAccount;
|
|
1167
|
+
'transactionDestinationAccount': TransactionAccount;
|
|
1168
|
+
'transferScheduleStatus': TransferScheduleStatus;
|
|
1169
|
+
'transferScheduleInformation': TransferScheduleInformation;
|
|
1170
|
+
'paymentPreference'?: PaymentPreference;
|
|
1171
|
+
/**
|
|
1172
|
+
* A list of transfer schedule failures.
|
|
1173
|
+
*/
|
|
1174
|
+
'transferScheduleFailures': Array<TransferScheduleFailures>;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1179
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1180
|
+
*
|
|
1181
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1182
|
+
*
|
|
1183
|
+
*
|
|
1184
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1185
|
+
* https://openapi-generator.tech
|
|
1186
|
+
* Do not edit the class manually.
|
|
1187
|
+
*/
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* A list of transfer schedules.
|
|
1191
|
+
*/
|
|
1192
|
+
interface TransferScheduleListing {
|
|
1193
|
+
/**
|
|
1194
|
+
* 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.
|
|
1195
|
+
*/
|
|
1196
|
+
'nextPageToken'?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* A list of transfer schedules.
|
|
1199
|
+
*/
|
|
1200
|
+
'transferSchedules': Array<TransferSchedule>;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
1205
|
+
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
|
|
1206
|
+
*
|
|
1207
|
+
* The version of the OpenAPI document: 2024-03-01
|
|
1208
|
+
*
|
|
1209
|
+
*
|
|
1210
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1211
|
+
* https://openapi-generator.tech
|
|
1212
|
+
* Do not edit the class manually.
|
|
1213
|
+
*/
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Request body to initiate a scheduled transfer from a Seller Wallet bank account to another customer-defined bank account.
|
|
1217
|
+
*/
|
|
1218
|
+
interface TransferScheduleRequest {
|
|
1219
|
+
/**
|
|
1220
|
+
* The unique identifier of the source Amazon Seller Wallet bank account from which money is debited.
|
|
1221
|
+
*/
|
|
1222
|
+
'sourceAccountId': string;
|
|
1223
|
+
/**
|
|
1224
|
+
* The three-letter currency code of the source payment method country, in ISO 4217 format.
|
|
1225
|
+
*/
|
|
1226
|
+
'sourceCurrencyCode': string;
|
|
1227
|
+
/**
|
|
1228
|
+
* The unique identifier of the destination bank account where the money is deposited.
|
|
1229
|
+
*/
|
|
1230
|
+
'destinationAccountId': string;
|
|
1231
|
+
'destinationTransactionInstrument': TransactionInstrumentDetails;
|
|
1232
|
+
'transactionType': TransactionType;
|
|
1233
|
+
'transferScheduleInformation': TransferScheduleInformation;
|
|
1234
|
+
'paymentPreference': PaymentPreference;
|
|
1235
|
+
'transferScheduleStatus'?: TransferScheduleStatus;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* SellerWalletApi - axios parameter creator
|
|
1240
|
+
*/
|
|
1241
|
+
declare const SellerWalletApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1242
|
+
/**
|
|
1243
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
1244
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
1245
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1246
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1247
|
+
* @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).
|
|
1248
|
+
* @param {TransactionInitiationRequest} body The payload of the request
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
*/
|
|
1252
|
+
createTransaction: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
1255
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
1256
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
1257
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
1258
|
+
* @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).
|
|
1259
|
+
* @param {TransferScheduleRequest} body The payload of the request.
|
|
1260
|
+
* @param {*} [options] Override http request option.
|
|
1261
|
+
* @throws {RequiredError}
|
|
1262
|
+
*/
|
|
1263
|
+
createTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
1266
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
1267
|
+
* @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
|
|
1268
|
+
* @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).
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
deleteScheduleTransaction: (transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
1275
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
1276
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1277
|
+
* @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).
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
getAccount: (accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1282
|
+
/**
|
|
1283
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
1284
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
1285
|
+
* @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
|
|
1286
|
+
* @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).
|
|
1287
|
+
* @param {*} [options] Override http request option.
|
|
1288
|
+
* @throws {RequiredError}
|
|
1289
|
+
*/
|
|
1290
|
+
getTransaction: (transactionId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Retrieve a list of potential fees on a transaction.
|
|
1293
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
1294
|
+
* @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
|
|
1295
|
+
* @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
|
|
1296
|
+
* @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
|
|
1297
|
+
* @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
|
|
1298
|
+
* @param {number} baseAmount The base transaction amount without any markup fees.
|
|
1299
|
+
* @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).
|
|
1300
|
+
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @throws {RequiredError}
|
|
1302
|
+
*/
|
|
1303
|
+
getTransferPreview: (sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
1306
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
1307
|
+
* @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
|
|
1308
|
+
* @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).
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
getTransferSchedule: (transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
1315
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
1316
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1317
|
+
* @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).
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
listAccountBalances: (accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
1324
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
1325
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1326
|
+
* @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).
|
|
1327
|
+
* @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.
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
*/
|
|
1331
|
+
listAccountTransactions: (accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Get Seller Wallet accounts for a seller.
|
|
1334
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
1335
|
+
* @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).
|
|
1336
|
+
* @param {*} [options] Override http request option.
|
|
1337
|
+
* @throws {RequiredError}
|
|
1338
|
+
*/
|
|
1339
|
+
listAccounts: (marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
1342
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
1343
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1344
|
+
* @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).
|
|
1345
|
+
* @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.
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
listTransferSchedules: (accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
1352
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
1353
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
1354
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
1355
|
+
* @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).
|
|
1356
|
+
* @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
|
|
1357
|
+
* @param {*} [options] Override http request option.
|
|
1358
|
+
* @throws {RequiredError}
|
|
1359
|
+
*/
|
|
1360
|
+
updateTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferSchedule, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1361
|
+
};
|
|
1362
|
+
/**
|
|
1363
|
+
* SellerWalletApi - functional programming interface
|
|
1364
|
+
*/
|
|
1365
|
+
declare const SellerWalletApiFp: (configuration?: Configuration) => {
|
|
1366
|
+
/**
|
|
1367
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
1368
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
1369
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1370
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1371
|
+
* @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).
|
|
1372
|
+
* @param {TransactionInitiationRequest} body The payload of the request
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
*/
|
|
1376
|
+
createTransaction(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTransactionResponse>>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
1379
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
1380
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
1381
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
1382
|
+
* @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).
|
|
1383
|
+
* @param {TransferScheduleRequest} body The payload of the request.
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
createTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
1390
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
1391
|
+
* @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
|
|
1392
|
+
* @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).
|
|
1393
|
+
* @param {*} [options] Override http request option.
|
|
1394
|
+
* @throws {RequiredError}
|
|
1395
|
+
*/
|
|
1396
|
+
deleteScheduleTransaction(transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteTransferSchedule>>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
1399
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
1400
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1401
|
+
* @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).
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
*/
|
|
1405
|
+
getAccount(accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccount>>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
1408
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
1409
|
+
* @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
|
|
1410
|
+
* @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).
|
|
1411
|
+
* @param {*} [options] Override http request option.
|
|
1412
|
+
* @throws {RequiredError}
|
|
1413
|
+
*/
|
|
1414
|
+
getTransaction(transactionId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction>>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Retrieve a list of potential fees on a transaction.
|
|
1417
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
1418
|
+
* @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
|
|
1419
|
+
* @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
|
|
1420
|
+
* @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
|
|
1421
|
+
* @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
|
|
1422
|
+
* @param {number} baseAmount The base transaction amount without any markup fees.
|
|
1423
|
+
* @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).
|
|
1424
|
+
* @param {*} [options] Override http request option.
|
|
1425
|
+
* @throws {RequiredError}
|
|
1426
|
+
*/
|
|
1427
|
+
getTransferPreview(sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferRatePreview>>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
1430
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
1431
|
+
* @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
|
|
1432
|
+
* @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).
|
|
1433
|
+
* @param {*} [options] Override http request option.
|
|
1434
|
+
* @throws {RequiredError}
|
|
1435
|
+
*/
|
|
1436
|
+
getTransferSchedule(transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
1439
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
1440
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1441
|
+
* @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).
|
|
1442
|
+
* @param {*} [options] Override http request option.
|
|
1443
|
+
* @throws {RequiredError}
|
|
1444
|
+
*/
|
|
1445
|
+
listAccountBalances(accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BalanceListing>>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
1448
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
1449
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1450
|
+
* @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).
|
|
1451
|
+
* @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.
|
|
1452
|
+
* @param {*} [options] Override http request option.
|
|
1453
|
+
* @throws {RequiredError}
|
|
1454
|
+
*/
|
|
1455
|
+
listAccountTransactions(accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionListing>>;
|
|
1456
|
+
/**
|
|
1457
|
+
* Get Seller Wallet accounts for a seller.
|
|
1458
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
1459
|
+
* @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).
|
|
1460
|
+
* @param {*} [options] Override http request option.
|
|
1461
|
+
* @throws {RequiredError}
|
|
1462
|
+
*/
|
|
1463
|
+
listAccounts(marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountListing>>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
1466
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
1467
|
+
* @param {string} accountId The ID of the Amazon Seller Wallet account.
|
|
1468
|
+
* @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).
|
|
1469
|
+
* @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.
|
|
1470
|
+
* @param {*} [options] Override http request option.
|
|
1471
|
+
* @throws {RequiredError}
|
|
1472
|
+
*/
|
|
1473
|
+
listTransferSchedules(accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferScheduleListing>>;
|
|
1474
|
+
/**
|
|
1475
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
1476
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
1477
|
+
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
1478
|
+
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
1479
|
+
* @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).
|
|
1480
|
+
* @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
|
|
1481
|
+
* @param {*} [options] Override http request option.
|
|
1482
|
+
* @throws {RequiredError}
|
|
1483
|
+
*/
|
|
1484
|
+
updateTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferSchedule, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
|
|
1485
|
+
};
|
|
1486
|
+
/**
|
|
1487
|
+
* SellerWalletApi - factory interface
|
|
1488
|
+
*/
|
|
1489
|
+
declare const SellerWalletApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1490
|
+
/**
|
|
1491
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
1492
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
1493
|
+
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
*/
|
|
1497
|
+
createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateTransactionResponse>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
1500
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
1501
|
+
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
1502
|
+
* @param {*} [options] Override http request option.
|
|
1503
|
+
* @throws {RequiredError}
|
|
1504
|
+
*/
|
|
1505
|
+
createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
1506
|
+
/**
|
|
1507
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
1508
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
1509
|
+
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
1510
|
+
* @param {*} [options] Override http request option.
|
|
1511
|
+
* @throws {RequiredError}
|
|
1512
|
+
*/
|
|
1513
|
+
deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteTransferSchedule>;
|
|
1514
|
+
/**
|
|
1515
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
1516
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
1517
|
+
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
1518
|
+
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @throws {RequiredError}
|
|
1520
|
+
*/
|
|
1521
|
+
getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccount>;
|
|
1522
|
+
/**
|
|
1523
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
1524
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
1525
|
+
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
1526
|
+
* @param {*} [options] Override http request option.
|
|
1527
|
+
* @throws {RequiredError}
|
|
1528
|
+
*/
|
|
1529
|
+
getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Transaction>;
|
|
1530
|
+
/**
|
|
1531
|
+
* Retrieve a list of potential fees on a transaction.
|
|
1532
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
1533
|
+
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
1534
|
+
* @param {*} [options] Override http request option.
|
|
1535
|
+
* @throws {RequiredError}
|
|
1536
|
+
*/
|
|
1537
|
+
getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferRatePreview>;
|
|
1538
|
+
/**
|
|
1539
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
1540
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
1541
|
+
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
1542
|
+
* @param {*} [options] Override http request option.
|
|
1543
|
+
* @throws {RequiredError}
|
|
1544
|
+
*/
|
|
1545
|
+
getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
1546
|
+
/**
|
|
1547
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
1548
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
1549
|
+
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
1550
|
+
* @param {*} [options] Override http request option.
|
|
1551
|
+
* @throws {RequiredError}
|
|
1552
|
+
*/
|
|
1553
|
+
listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BalanceListing>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
1556
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
1557
|
+
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
1558
|
+
* @param {*} [options] Override http request option.
|
|
1559
|
+
* @throws {RequiredError}
|
|
1560
|
+
*/
|
|
1561
|
+
listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionListing>;
|
|
1562
|
+
/**
|
|
1563
|
+
* Get Seller Wallet accounts for a seller.
|
|
1564
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
1565
|
+
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccountListing>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
1572
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
1573
|
+
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
1574
|
+
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @throws {RequiredError}
|
|
1576
|
+
*/
|
|
1577
|
+
listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferScheduleListing>;
|
|
1578
|
+
/**
|
|
1579
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
1580
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
1581
|
+
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
1582
|
+
* @param {*} [options] Override http request option.
|
|
1583
|
+
* @throws {RequiredError}
|
|
1584
|
+
*/
|
|
1585
|
+
updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* Request parameters for createTransaction operation in SellerWalletApi.
|
|
1589
|
+
*/
|
|
1590
|
+
interface SellerWalletApiCreateTransactionRequest {
|
|
1591
|
+
/**
|
|
1592
|
+
* Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1593
|
+
*/
|
|
1594
|
+
readonly destAccountDigitalSignature: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
|
|
1597
|
+
*/
|
|
1598
|
+
readonly amountDigitalSignature: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* 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).
|
|
1601
|
+
*/
|
|
1602
|
+
readonly marketplaceId: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* The payload of the request
|
|
1605
|
+
*/
|
|
1606
|
+
readonly body: TransactionInitiationRequest;
|
|
1607
|
+
}
|
|
1608
|
+
/**
|
|
1609
|
+
* Request parameters for createTransferSchedule operation in SellerWalletApi.
|
|
1610
|
+
*/
|
|
1611
|
+
interface SellerWalletApiCreateTransferScheduleRequest {
|
|
1612
|
+
/**
|
|
1613
|
+
* Digital signature for the destination bank account details.
|
|
1614
|
+
*/
|
|
1615
|
+
readonly destAccountDigitalSignature: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Digital signature for the source currency transaction amount.
|
|
1618
|
+
*/
|
|
1619
|
+
readonly amountDigitalSignature: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* 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).
|
|
1622
|
+
*/
|
|
1623
|
+
readonly marketplaceId: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* The payload of the request.
|
|
1626
|
+
*/
|
|
1627
|
+
readonly body: TransferScheduleRequest;
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Request parameters for deleteScheduleTransaction operation in SellerWalletApi.
|
|
1631
|
+
*/
|
|
1632
|
+
interface SellerWalletApiDeleteScheduleTransactionRequest {
|
|
1633
|
+
/**
|
|
1634
|
+
* A unique reference ID for a scheduled transfer.
|
|
1635
|
+
*/
|
|
1636
|
+
readonly transferScheduleId: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* 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).
|
|
1639
|
+
*/
|
|
1640
|
+
readonly marketplaceId: string;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Request parameters for getAccount operation in SellerWalletApi.
|
|
1644
|
+
*/
|
|
1645
|
+
interface SellerWalletApiGetAccountRequest {
|
|
1646
|
+
/**
|
|
1647
|
+
* The ID of the Amazon Seller Wallet account.
|
|
1648
|
+
*/
|
|
1649
|
+
readonly accountId: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* 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).
|
|
1652
|
+
*/
|
|
1653
|
+
readonly marketplaceId: string;
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* Request parameters for getTransaction operation in SellerWalletApi.
|
|
1657
|
+
*/
|
|
1658
|
+
interface SellerWalletApiGetTransactionRequest {
|
|
1659
|
+
/**
|
|
1660
|
+
* The ID of the Amazon Seller Wallet transaction.
|
|
1661
|
+
*/
|
|
1662
|
+
readonly transactionId: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* 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).
|
|
1665
|
+
*/
|
|
1666
|
+
readonly marketplaceId: string;
|
|
1667
|
+
}
|
|
1668
|
+
/**
|
|
1669
|
+
* Request parameters for getTransferPreview operation in SellerWalletApi.
|
|
1670
|
+
*/
|
|
1671
|
+
interface SellerWalletApiGetTransferPreviewRequest {
|
|
1672
|
+
/**
|
|
1673
|
+
* Country code of the source transaction account in ISO 3166 format.
|
|
1674
|
+
*/
|
|
1675
|
+
readonly sourceCountryCode: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Currency code of the source transaction country in ISO 4217 format.
|
|
1678
|
+
*/
|
|
1679
|
+
readonly sourceCurrencyCode: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Country code of the destination transaction account in ISO 3166 format.
|
|
1682
|
+
*/
|
|
1683
|
+
readonly destinationCountryCode: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* Currency code of the destination transaction country in ISO 4217 format.
|
|
1686
|
+
*/
|
|
1687
|
+
readonly destinationCurrencyCode: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* The base transaction amount without any markup fees.
|
|
1690
|
+
*/
|
|
1691
|
+
readonly baseAmount: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* 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).
|
|
1694
|
+
*/
|
|
1695
|
+
readonly marketplaceId: string;
|
|
1696
|
+
}
|
|
1697
|
+
/**
|
|
1698
|
+
* Request parameters for getTransferSchedule operation in SellerWalletApi.
|
|
1699
|
+
*/
|
|
1700
|
+
interface SellerWalletApiGetTransferScheduleRequest {
|
|
1701
|
+
/**
|
|
1702
|
+
* The schedule ID of the Amazon Seller Wallet transfer.
|
|
1703
|
+
*/
|
|
1704
|
+
readonly transferScheduleId: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* 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).
|
|
1707
|
+
*/
|
|
1708
|
+
readonly marketplaceId: string;
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Request parameters for listAccountBalances operation in SellerWalletApi.
|
|
1712
|
+
*/
|
|
1713
|
+
interface SellerWalletApiListAccountBalancesRequest {
|
|
1714
|
+
/**
|
|
1715
|
+
* The ID of the Amazon Seller Wallet account.
|
|
1716
|
+
*/
|
|
1717
|
+
readonly accountId: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* 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).
|
|
1720
|
+
*/
|
|
1721
|
+
readonly marketplaceId: string;
|
|
1722
|
+
}
|
|
1723
|
+
/**
|
|
1724
|
+
* Request parameters for listAccountTransactions operation in SellerWalletApi.
|
|
1725
|
+
*/
|
|
1726
|
+
interface SellerWalletApiListAccountTransactionsRequest {
|
|
1727
|
+
/**
|
|
1728
|
+
* The ID of the Amazon Seller Wallet account.
|
|
1729
|
+
*/
|
|
1730
|
+
readonly accountId: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* 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).
|
|
1733
|
+
*/
|
|
1734
|
+
readonly marketplaceId: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* 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.
|
|
1737
|
+
*/
|
|
1738
|
+
readonly nextPageToken?: string;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* Request parameters for listAccounts operation in SellerWalletApi.
|
|
1742
|
+
*/
|
|
1743
|
+
interface SellerWalletApiListAccountsRequest {
|
|
1744
|
+
/**
|
|
1745
|
+
* 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).
|
|
1746
|
+
*/
|
|
1747
|
+
readonly marketplaceId: string;
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Request parameters for listTransferSchedules operation in SellerWalletApi.
|
|
1751
|
+
*/
|
|
1752
|
+
interface SellerWalletApiListTransferSchedulesRequest {
|
|
1753
|
+
/**
|
|
1754
|
+
* The ID of the Amazon Seller Wallet account.
|
|
1755
|
+
*/
|
|
1756
|
+
readonly accountId: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* 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).
|
|
1759
|
+
*/
|
|
1760
|
+
readonly marketplaceId: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* 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.
|
|
1763
|
+
*/
|
|
1764
|
+
readonly nextPageToken?: string;
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Request parameters for updateTransferSchedule operation in SellerWalletApi.
|
|
1768
|
+
*/
|
|
1769
|
+
interface SellerWalletApiUpdateTransferScheduleRequest {
|
|
1770
|
+
/**
|
|
1771
|
+
* Digital signature for the destination bank account details.
|
|
1772
|
+
*/
|
|
1773
|
+
readonly destAccountDigitalSignature: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Digital signature for the source currency transaction amount.
|
|
1776
|
+
*/
|
|
1777
|
+
readonly amountDigitalSignature: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* 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).
|
|
1780
|
+
*/
|
|
1781
|
+
readonly marketplaceId: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* The payload of the scheduled transfer request that is to be updated.
|
|
1784
|
+
*/
|
|
1785
|
+
readonly body: TransferSchedule;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* SellerWalletApi - object-oriented interface
|
|
1789
|
+
*/
|
|
1790
|
+
declare class SellerWalletApi extends BaseAPI {
|
|
1791
|
+
/**
|
|
1792
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
1793
|
+
* @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
|
|
1794
|
+
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
*/
|
|
1798
|
+
createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateTransactionResponse, any, {}>>;
|
|
1799
|
+
/**
|
|
1800
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
1801
|
+
* @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
|
|
1802
|
+
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
1803
|
+
* @param {*} [options] Override http request option.
|
|
1804
|
+
* @throws {RequiredError}
|
|
1805
|
+
*/
|
|
1806
|
+
createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransferSchedule, any, {}>>;
|
|
1807
|
+
/**
|
|
1808
|
+
* Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
|
|
1809
|
+
* @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
|
|
1810
|
+
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
1811
|
+
* @param {*} [options] Override http request option.
|
|
1812
|
+
* @throws {RequiredError}
|
|
1813
|
+
*/
|
|
1814
|
+
deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<DeleteTransferSchedule, any, {}>>;
|
|
1815
|
+
/**
|
|
1816
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
1817
|
+
* @summary Find particular Amazon Seller Wallet account by Amazon account identifier
|
|
1818
|
+
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
1819
|
+
* @param {*} [options] Override http request option.
|
|
1820
|
+
* @throws {RequiredError}
|
|
1821
|
+
*/
|
|
1822
|
+
getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<BankAccount, any, {}>>;
|
|
1823
|
+
/**
|
|
1824
|
+
* Find a transaction by the Amazon transaction identifier.
|
|
1825
|
+
* @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
|
|
1826
|
+
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
1827
|
+
* @param {*} [options] Override http request option.
|
|
1828
|
+
* @throws {RequiredError}
|
|
1829
|
+
*/
|
|
1830
|
+
getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<Transaction, any, {}>>;
|
|
1831
|
+
/**
|
|
1832
|
+
* Retrieve a list of potential fees on a transaction.
|
|
1833
|
+
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
1834
|
+
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
1835
|
+
* @param {*} [options] Override http request option.
|
|
1836
|
+
* @throws {RequiredError}
|
|
1837
|
+
*/
|
|
1838
|
+
getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransferRatePreview, any, {}>>;
|
|
1839
|
+
/**
|
|
1840
|
+
* Find a particular Amazon Seller Wallet account transfer schedule.
|
|
1841
|
+
* @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
|
|
1842
|
+
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
1843
|
+
* @param {*} [options] Override http request option.
|
|
1844
|
+
* @throws {RequiredError}
|
|
1845
|
+
*/
|
|
1846
|
+
getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransferSchedule, any, {}>>;
|
|
1847
|
+
/**
|
|
1848
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
1849
|
+
* @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
|
|
1850
|
+
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
1851
|
+
* @param {*} [options] Override http request option.
|
|
1852
|
+
* @throws {RequiredError}
|
|
1853
|
+
*/
|
|
1854
|
+
listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<BalanceListing, any, {}>>;
|
|
1855
|
+
/**
|
|
1856
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
1857
|
+
* @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
|
|
1858
|
+
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
1859
|
+
* @param {*} [options] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
*/
|
|
1862
|
+
listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransactionListing, any, {}>>;
|
|
1863
|
+
/**
|
|
1864
|
+
* Get Seller Wallet accounts for a seller.
|
|
1865
|
+
* @summary Get all Amazon Seller Wallet accounts for the seller
|
|
1866
|
+
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
1867
|
+
* @param {*} [options] Override http request option.
|
|
1868
|
+
* @throws {RequiredError}
|
|
1869
|
+
*/
|
|
1870
|
+
listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<BankAccountListing, any, {}>>;
|
|
1871
|
+
/**
|
|
1872
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
1873
|
+
* @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
|
|
1874
|
+
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
1875
|
+
* @param {*} [options] Override http request option.
|
|
1876
|
+
* @throws {RequiredError}
|
|
1877
|
+
*/
|
|
1878
|
+
listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransferScheduleListing, any, {}>>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
|
|
1881
|
+
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
1882
|
+
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TransferSchedule, any, {}>>;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
declare const clientRateLimits: RateLimit[];
|
|
1890
|
+
declare class SellerWalletApiClient extends SellerWalletApi {
|
|
1891
|
+
constructor(configuration: ClientConfiguration);
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
export { type Balance, type BalanceListing, BalanceType, type BankAccount, BankAccountHolderStatus, type BankAccountListing, BankAccountNumberFormat, BankAccountOwnershipType, BankNumberFormat, type CreateTransactionResponse, type Currency, type DeleteTransferSchedule, type ErrorList, type Fee, FeeType, type FxRateDetails, type ModelError, type PayeeContactInformation, PayeeEntityType, type PaymentPreference, PaymentPreferencePaymentType, RateDirection, RecurringFrequency, type ScheduleExpression, ScheduleExpressionType, ScheduleTransferType, SellerWalletApi, SellerWalletApiAxiosParamCreator, SellerWalletApiClient, type SellerWalletApiCreateTransactionRequest, type SellerWalletApiCreateTransferScheduleRequest, type SellerWalletApiDeleteScheduleTransactionRequest, SellerWalletApiFactory, SellerWalletApiFp, type SellerWalletApiGetAccountRequest, type SellerWalletApiGetTransactionRequest, type SellerWalletApiGetTransferPreviewRequest, type SellerWalletApiGetTransferScheduleRequest, type SellerWalletApiListAccountBalancesRequest, type SellerWalletApiListAccountTransactionsRequest, type SellerWalletApiListAccountsRequest, type SellerWalletApiListTransferSchedulesRequest, type SellerWalletApiUpdateTransferScheduleRequest, type Transaction, type TransactionAccount, type TransactionInitiationRequest, type TransactionInstrumentDetails, type TransactionListing, TransactionStatus, TransactionType, type TransferRatePreview, type TransferSchedule, type TransferScheduleFailures, type TransferScheduleInformation, type TransferScheduleListing, type TransferScheduleRequest, TransferScheduleStatus, clientRateLimits };
|