@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.30

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.
Files changed (224) hide show
  1. package/.openapi-generator/FILES +10 -27
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +497 -43
  4. package/api/bank-transaction-api.ts +89 -53
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +62 -173
  7. package/api/payment-reminders-api.ts +21 -25
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +54 -59
  10. package/api/refunds-api.ts +20 -18
  11. package/api/tenant-bank-account-api.ts +71 -61
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +6 -2
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +295 -45
  18. package/dist/api/bank-accounts-api.js +412 -24
  19. package/dist/api/bank-transaction-api.d.ts +65 -45
  20. package/dist/api/bank-transaction-api.js +55 -40
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +48 -107
  24. package/dist/api/payment-methods-api.js +51 -143
  25. package/dist/api/payment-reminders-api.d.ts +25 -27
  26. package/dist/api/payment-reminders-api.js +12 -12
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +46 -49
  30. package/dist/api/payments-api.js +43 -41
  31. package/dist/api/refunds-api.d.ts +15 -15
  32. package/dist/api/refunds-api.js +15 -13
  33. package/dist/api/tenant-bank-account-api.d.ts +70 -57
  34. package/dist/api/tenant-bank-account-api.js +56 -42
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +2 -1
  40. package/dist/base.js +5 -2
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-account-class.d.ts +23 -4
  48. package/dist/models/bank-account-class.js +1 -1
  49. package/dist/models/bank-transaction-response-class.d.ts +7 -1
  50. package/dist/models/bank-transaction-response-class.js +1 -1
  51. package/dist/models/create-bank-account-request-dto.d.ts +15 -3
  52. package/dist/models/create-bank-account-request-dto.js +1 -1
  53. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  54. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  55. package/dist/models/create-payment-request-dto.d.ts +4 -4
  56. package/dist/models/create-payment-request-dto.js +1 -1
  57. package/dist/models/create-refund-request-dto.d.ts +1 -1
  58. package/dist/models/create-refund-request-dto.js +1 -1
  59. package/dist/models/create-refund-response-class.d.ts +1 -1
  60. package/dist/models/create-refund-response-class.js +1 -1
  61. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  62. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  63. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  64. package/dist/models/{complete-payment-setup-request-dto.js → create-tenant-bank-account-response-class.js} +1 -1
  65. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  66. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  67. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  68. package/dist/models/{billing-profile-dto.js → get-bank-account-response-class.js} +1 -1
  69. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  70. package/dist/models/get-bank-transactions-response-class.js +1 -1
  71. package/dist/models/get-refund-response-class.d.ts +1 -1
  72. package/dist/models/get-refund-response-class.js +1 -1
  73. package/dist/models/get-request-dto.d.ts +2 -2
  74. package/dist/models/get-request-dto.js +1 -1
  75. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  76. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  77. package/dist/models/index.d.ts +10 -27
  78. package/dist/models/index.js +10 -27
  79. package/dist/models/inline-response200.d.ts +1 -1
  80. package/dist/models/inline-response200.js +1 -1
  81. package/dist/models/inline-response503.d.ts +1 -1
  82. package/dist/models/inline-response503.js +1 -1
  83. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  84. package/dist/models/{complete-braintree-payment-setup-request-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
  85. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  86. package/dist/models/list-bank-transactions-response-class.js +1 -1
  87. package/dist/models/list-refunds-response-class.d.ts +1 -1
  88. package/dist/models/list-refunds-response-class.js +1 -1
  89. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  90. package/dist/models/{billing-profile-limited-response-dto.js → list-tenant-bank-account-response-class.js} +1 -1
  91. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  92. package/dist/models/primary-bank-account-response-class.js +15 -0
  93. package/dist/models/refund-class.d.ts +2 -1
  94. package/dist/models/refund-class.js +3 -2
  95. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  96. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  97. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  98. package/dist/models/tenant-bank-account-response-class.js +1 -1
  99. package/dist/models/transaction-class.d.ts +1 -1
  100. package/dist/models/transaction-class.js +1 -1
  101. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  102. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  103. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  104. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  105. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  106. package/dist/models/update-bank-account-request-dto.js +15 -0
  107. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  108. package/dist/models/update-bank-account-response-class.js +15 -0
  109. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  110. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  111. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  112. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  113. package/index.ts +1 -1
  114. package/models/bank-account-class.ts +23 -4
  115. package/models/bank-transaction-response-class.ts +7 -1
  116. package/models/create-bank-account-request-dto.ts +15 -3
  117. package/models/create-payment-reminder-request-dto.ts +1 -1
  118. package/models/create-payment-request-dto.ts +4 -4
  119. package/models/create-refund-request-dto.ts +1 -1
  120. package/models/create-refund-response-class.ts +1 -1
  121. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  122. package/models/create-tenant-bank-account-response-class.ts +31 -0
  123. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  124. package/models/get-bank-account-response-class.ts +31 -0
  125. package/models/get-bank-transactions-response-class.ts +1 -1
  126. package/models/get-refund-response-class.ts +1 -1
  127. package/models/get-request-dto.ts +2 -2
  128. package/models/get-tenant-bank-account-response-class.ts +1 -1
  129. package/models/index.ts +10 -27
  130. package/models/inline-response200.ts +1 -1
  131. package/models/inline-response503.ts +1 -1
  132. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  133. package/models/list-bank-transactions-response-class.ts +1 -1
  134. package/models/list-refunds-response-class.ts +1 -1
  135. package/models/list-tenant-bank-account-response-class.ts +37 -0
  136. package/models/primary-bank-account-response-class.ts +48 -0
  137. package/models/refund-class.ts +3 -2
  138. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  139. package/models/tenant-bank-account-response-class.ts +1 -1
  140. package/models/transaction-class.ts +1 -1
  141. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  142. package/models/update-bank-account-request-dto-rest.ts +36 -0
  143. package/models/update-bank-account-request-dto.ts +42 -0
  144. package/models/update-bank-account-response-class.ts +31 -0
  145. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  146. package/models/validate-pspconfig-request-dto.ts +2 -12
  147. package/package.json +1 -1
  148. package/dist/models/billing-profile-dto.d.ts +0 -38
  149. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  150. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  151. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  152. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  153. package/dist/models/complete-payment-setup-response-class.js +0 -15
  154. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  155. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  156. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  157. package/dist/models/create-payment-method-response-class.js +0 -15
  158. package/dist/models/create-payment-response-class.d.ts +0 -25
  159. package/dist/models/create-payment-response-class.js +0 -15
  160. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  161. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  162. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  163. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  164. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  165. package/dist/models/get-payment-method-response-class.js +0 -15
  166. package/dist/models/get-payment-response-class.d.ts +0 -25
  167. package/dist/models/get-payment-response-class.js +0 -15
  168. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  169. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  170. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  171. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  172. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  173. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  174. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  175. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  176. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  177. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  178. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  179. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  180. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  181. package/dist/models/list-bank-accounts-response-class.js +0 -15
  182. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  183. package/dist/models/list-payment-methods-response-class.js +0 -15
  184. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  185. package/dist/models/list-payment-reminders-response-class.js +0 -15
  186. package/dist/models/list-payments-response-class.d.ts +0 -31
  187. package/dist/models/list-payments-response-class.js +0 -15
  188. package/dist/models/payment-class.d.ts +0 -103
  189. package/dist/models/payment-class.js +0 -15
  190. package/dist/models/payment-method-class.d.ts +0 -66
  191. package/dist/models/payment-method-class.js +0 -15
  192. package/dist/models/payment-reminder-class.d.ts +0 -112
  193. package/dist/models/payment-reminder-class.js +0 -36
  194. package/dist/models/sepa-direct-dto.d.ts +0 -24
  195. package/dist/models/sepa-direct-dto.js +0 -15
  196. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  197. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  198. package/models/billing-profile-dto.ts +0 -44
  199. package/models/billing-profile-limited-response-dto.ts +0 -60
  200. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  201. package/models/complete-payment-setup-request-dto.ts +0 -38
  202. package/models/complete-payment-setup-response-class.ts +0 -31
  203. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  204. package/models/create-payment-method-response-class.ts +0 -31
  205. package/models/create-payment-response-class.ts +0 -31
  206. package/models/create-psp-payment-method-request-dto.ts +0 -70
  207. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  208. package/models/get-payment-method-response-class.ts +0 -31
  209. package/models/get-payment-response-class.ts +0 -31
  210. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  211. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  212. package/models/initiate-payment-setup-request-dto.ts +0 -50
  213. package/models/initiate-payment-setup-response-class.ts +0 -38
  214. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  215. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  216. package/models/list-bank-accounts-response-class.ts +0 -37
  217. package/models/list-payment-methods-response-class.ts +0 -37
  218. package/models/list-payment-reminders-response-class.ts +0 -37
  219. package/models/list-payments-response-class.ts +0 -37
  220. package/models/payment-class.ts +0 -109
  221. package/models/payment-method-class.ts +0 -72
  222. package/models/payment-reminder-class.ts +0 -122
  223. package/models/sepa-direct-dto.ts +0 -30
  224. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -23,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { GetBankTransactionsResponseClass } from '../models';
25
25
  // @ts-ignore
26
+ import { LinkBankTransactionRequestDtoRest } from '../models';
27
+ // @ts-ignore
26
28
  import { ListBankTransactionsResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { UnlinkBankTransactionRequestDtoRest } from '../models';
27
31
  /**
28
32
  * BankTransactionApi - axios parameter creator
29
33
  * @export
@@ -31,7 +35,7 @@ import { ListBankTransactionsResponseClass } from '../models';
31
35
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
32
36
  return {
33
37
  /**
34
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
38
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
35
39
  * @summary Retrieve the Bank Transaction
36
40
  * @param {string} code
37
41
  * @param {string} [authorization] Bearer Token
@@ -83,12 +87,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
83
87
  /**
84
88
  * Import bank transactions from a swift MT940 file
85
89
  * @summary Create the bank transactions
90
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
86
91
  * @param {string} [authorization] Bearer Token
87
- * @param {any} [file]
88
92
  * @param {*} [options] Override http request option.
89
93
  * @throws {RequiredError}
90
94
  */
91
- importBankTransactions: async (authorization?: string, file?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
95
+ importBankTransactions: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'file' is not null or undefined
97
+ assertParamExists('importBankTransactions', 'file', file)
92
98
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/import`;
93
99
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
94
100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -134,13 +140,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
134
140
  * Links a bank transaction with an invoice
135
141
  * @summary Link Bank Transaction
136
142
  * @param {string} code Code of the bank transaction to link
143
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
137
144
  * @param {string} [authorization] Bearer Token
138
145
  * @param {*} [options] Override http request option.
139
146
  * @throws {RequiredError}
140
147
  */
141
- linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
148
+ linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
149
  // verify required parameter 'code' is not null or undefined
143
150
  assertParamExists('linkBankTransaction', 'code', code)
151
+ // verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
152
+ assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
144
153
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
145
154
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
146
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -166,9 +175,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
166
175
 
167
176
 
168
177
 
178
+ localVarHeaderParameter['Content-Type'] = 'application/json';
179
+
169
180
  setSearchParams(localVarUrlObj, localVarQueryParameter);
170
181
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
182
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
183
+ localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
172
184
 
173
185
  return {
174
186
  url: toPathString(localVarUrlObj),
@@ -176,20 +188,20 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
176
188
  };
177
189
  },
178
190
  /**
179
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
191
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
180
192
  * @summary List bank transactions
181
193
  * @param {string} [authorization] Bearer Token
182
194
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
195
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
184
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
185
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
196
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
197
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
186
198
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
187
- * @param {string} [expand] Expand the response with additional entities
199
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
188
200
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
189
201
  * @param {*} [options] Override http request option.
190
202
  * @throws {RequiredError}
191
203
  */
192
- listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
+ listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
205
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
194
206
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
207
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -255,13 +267,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
255
267
  * Unlinks an already linked bank transaction
256
268
  * @summary Unlink Bank Transaction
257
269
  * @param {string} code Code of the bank transaction to unlink
270
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
258
271
  * @param {string} [authorization] Bearer Token
259
272
  * @param {*} [options] Override http request option.
260
273
  * @throws {RequiredError}
261
274
  */
262
- unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
275
+ unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
263
276
  // verify required parameter 'code' is not null or undefined
264
277
  assertParamExists('unlinkBankTransaction', 'code', code)
278
+ // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
279
+ assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
265
280
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
266
281
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
267
282
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -287,9 +302,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
287
302
 
288
303
 
289
304
 
305
+ localVarHeaderParameter['Content-Type'] = 'application/json';
306
+
290
307
  setSearchParams(localVarUrlObj, localVarQueryParameter);
291
308
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
309
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
310
+ localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
293
311
 
294
312
  return {
295
313
  url: toPathString(localVarUrlObj),
@@ -307,7 +325,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
307
325
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
308
326
  return {
309
327
  /**
310
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
328
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
311
329
  * @summary Retrieve the Bank Transaction
312
330
  * @param {string} code
313
331
  * @param {string} [authorization] Bearer Token
@@ -322,42 +340,43 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
322
340
  /**
323
341
  * Import bank transactions from a swift MT940 file
324
342
  * @summary Create the bank transactions
343
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
325
344
  * @param {string} [authorization] Bearer Token
326
- * @param {any} [file]
327
345
  * @param {*} [options] Override http request option.
328
346
  * @throws {RequiredError}
329
347
  */
330
- async importBankTransactions(authorization?: string, file?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
331
- const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(authorization, file, options);
348
+ async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
349
+ const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
332
350
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
333
351
  },
334
352
  /**
335
353
  * Links a bank transaction with an invoice
336
354
  * @summary Link Bank Transaction
337
355
  * @param {string} code Code of the bank transaction to link
356
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
338
357
  * @param {string} [authorization] Bearer Token
339
358
  * @param {*} [options] Override http request option.
340
359
  * @throws {RequiredError}
341
360
  */
342
- async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
343
- const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
361
+ async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
344
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
364
  },
346
365
  /**
347
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
366
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
348
367
  * @summary List bank transactions
349
368
  * @param {string} [authorization] Bearer Token
350
369
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
351
370
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
352
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
353
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
371
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
372
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
354
373
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
355
- * @param {string} [expand] Expand the response with additional entities
374
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
356
375
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
357
376
  * @param {*} [options] Override http request option.
358
377
  * @throws {RequiredError}
359
378
  */
360
- async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
379
+ async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
361
380
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
362
381
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
363
382
  },
@@ -365,12 +384,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
365
384
  * Unlinks an already linked bank transaction
366
385
  * @summary Unlink Bank Transaction
367
386
  * @param {string} code Code of the bank transaction to unlink
387
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
368
388
  * @param {string} [authorization] Bearer Token
369
389
  * @param {*} [options] Override http request option.
370
390
  * @throws {RequiredError}
371
391
  */
372
- async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
373
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
392
+ async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
393
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
374
394
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
375
395
  },
376
396
  }
@@ -384,7 +404,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
384
404
  const localVarFp = BankTransactionApiFp(configuration)
385
405
  return {
386
406
  /**
387
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
407
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
388
408
  * @summary Retrieve the Bank Transaction
389
409
  * @param {string} code
390
410
  * @param {string} [authorization] Bearer Token
@@ -398,52 +418,54 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
398
418
  /**
399
419
  * Import bank transactions from a swift MT940 file
400
420
  * @summary Create the bank transactions
421
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
401
422
  * @param {string} [authorization] Bearer Token
402
- * @param {any} [file]
403
423
  * @param {*} [options] Override http request option.
404
424
  * @throws {RequiredError}
405
425
  */
406
- importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
407
- return localVarFp.importBankTransactions(authorization, file, options).then((request) => request(axios, basePath));
426
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
427
+ return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
408
428
  },
409
429
  /**
410
430
  * Links a bank transaction with an invoice
411
431
  * @summary Link Bank Transaction
412
432
  * @param {string} code Code of the bank transaction to link
433
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
413
434
  * @param {string} [authorization] Bearer Token
414
435
  * @param {*} [options] Override http request option.
415
436
  * @throws {RequiredError}
416
437
  */
417
- linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
418
- return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
438
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
439
+ return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
419
440
  },
420
441
  /**
421
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
442
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
422
443
  * @summary List bank transactions
423
444
  * @param {string} [authorization] Bearer Token
424
445
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
425
446
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
426
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
427
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
447
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
448
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
428
449
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
429
- * @param {string} [expand] Expand the response with additional entities
450
+ * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
430
451
  * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
431
452
  * @param {*} [options] Override http request option.
432
453
  * @throws {RequiredError}
433
454
  */
434
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
455
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void> {
435
456
  return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
436
457
  },
437
458
  /**
438
459
  * Unlinks an already linked bank transaction
439
460
  * @summary Unlink Bank Transaction
440
461
  * @param {string} code Code of the bank transaction to unlink
462
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
441
463
  * @param {string} [authorization] Bearer Token
442
464
  * @param {*} [options] Override http request option.
443
465
  * @throws {RequiredError}
444
466
  */
445
- unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
446
- return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
467
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
468
+ return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
447
469
  },
448
470
  };
449
471
  };
@@ -483,18 +505,18 @@ export interface BankTransactionApiGetBankTransactionRequest {
483
505
  */
484
506
  export interface BankTransactionApiImportBankTransactionsRequest {
485
507
  /**
486
- * Bearer Token
487
- * @type {string}
508
+ * Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
509
+ * @type {any}
488
510
  * @memberof BankTransactionApiImportBankTransactions
489
511
  */
490
- readonly authorization?: string
512
+ readonly file: any
491
513
 
492
514
  /**
493
- *
494
- * @type {any}
515
+ * Bearer Token
516
+ * @type {string}
495
517
  * @memberof BankTransactionApiImportBankTransactions
496
518
  */
497
- readonly file?: any
519
+ readonly authorization?: string
498
520
  }
499
521
 
500
522
  /**
@@ -510,6 +532,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
510
532
  */
511
533
  readonly code: string
512
534
 
535
+ /**
536
+ *
537
+ * @type {LinkBankTransactionRequestDtoRest}
538
+ * @memberof BankTransactionApiLinkBankTransaction
539
+ */
540
+ readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
541
+
513
542
  /**
514
543
  * Bearer Token
515
544
  * @type {string}
@@ -546,14 +575,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
546
575
  readonly pageToken?: any
547
576
 
548
577
  /**
549
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
578
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
550
579
  * @type {any}
551
580
  * @memberof BankTransactionApiListBankTransactions
552
581
  */
553
582
  readonly filter?: any
554
583
 
555
584
  /**
556
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
585
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
557
586
  * @type {any}
558
587
  * @memberof BankTransactionApiListBankTransactions
559
588
  */
@@ -568,10 +597,10 @@ export interface BankTransactionApiListBankTransactionsRequest {
568
597
 
569
598
  /**
570
599
  * Expand the response with additional entities
571
- * @type {string}
600
+ * @type {'bankAccount' | 'transaction'}
572
601
  * @memberof BankTransactionApiListBankTransactions
573
602
  */
574
- readonly expand?: string
603
+ readonly expand?: 'bankAccount' | 'transaction'
575
604
 
576
605
  /**
577
606
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
@@ -594,6 +623,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
594
623
  */
595
624
  readonly code: string
596
625
 
626
+ /**
627
+ *
628
+ * @type {UnlinkBankTransactionRequestDtoRest}
629
+ * @memberof BankTransactionApiUnlinkBankTransaction
630
+ */
631
+ readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
632
+
597
633
  /**
598
634
  * Bearer Token
599
635
  * @type {string}
@@ -610,7 +646,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
610
646
  */
611
647
  export class BankTransactionApi extends BaseAPI {
612
648
  /**
613
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
649
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
614
650
  * @summary Retrieve the Bank Transaction
615
651
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
616
652
  * @param {*} [options] Override http request option.
@@ -629,8 +665,8 @@ export class BankTransactionApi extends BaseAPI {
629
665
  * @throws {RequiredError}
630
666
  * @memberof BankTransactionApi
631
667
  */
632
- public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
633
- return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
668
+ public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig) {
669
+ return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
634
670
  }
635
671
 
636
672
  /**
@@ -642,11 +678,11 @@ export class BankTransactionApi extends BaseAPI {
642
678
  * @memberof BankTransactionApi
643
679
  */
644
680
  public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
645
- return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
681
+ return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
646
682
  }
647
683
 
648
684
  /**
649
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
685
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
650
686
  * @summary List bank transactions
651
687
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
652
688
  * @param {*} [options] Override http request option.
@@ -666,6 +702,6 @@ export class BankTransactionApi extends BaseAPI {
666
702
  * @memberof BankTransactionApi
667
703
  */
668
704
  public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
669
- return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
705
+ return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
670
706
  }
671
707
  }
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de