@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20
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/.openapi-generator/FILES +0 -34
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -465
- package/api/bank-transaction-api.ts +11 -11
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +166 -65
- package/api/payment-reminders-api.ts +17 -21
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +54 -55
- package/api/refunds-api.ts +16 -14
- package/api/tenant-bank-account-api.ts +25 -25
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +17 -260
- package/dist/api/bank-accounts-api.js +17 -399
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +9 -9
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +100 -49
- package/dist/api/payment-methods-api.js +144 -46
- package/dist/api/payment-reminders-api.d.ts +21 -23
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +43 -46
- package/dist/api/payments-api.js +42 -38
- package/dist/api/refunds-api.d.ts +11 -11
- package/dist/api/refunds-api.js +12 -10
- package/dist/api/tenant-bank-account-api.d.ts +25 -25
- package/dist/api/tenant-bank-account-api.js +20 -20
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +1 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-response-class.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +0 -34
- package/dist/models/index.js +0 -34
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/list-tenant-bank-account-response-class.js +1 -1
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +1 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/list-tenant-bank-account-response-class.ts +1 -1
- package/models/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -42
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +0 -24
- package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
- package/dist/models/update-bank-account-request-dto-rest.js +0 -15
- package/dist/models/update-bank-account-request-dto.d.ts +0 -36
- package/dist/models/update-bank-account-request-dto.js +0 -15
- package/models/bank-account-class.ts +0 -85
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-request-dto.ts +0 -48
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/sepa-direct-dto.ts +0 -30
- package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/update-bank-account-request-dto-rest.ts +0 -36
- package/models/update-bank-account-request-dto.ts +0 -42
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CompletePaymentSetupRequestDto } from '../models';
|
|
16
|
-
import { CompletePaymentSetupResponseClass } from '../models';
|
|
17
|
-
import { InitiatePaymentSetupRequestDto } from '../models';
|
|
18
|
-
import { InitiatePaymentSetupResponseClass } from '../models';
|
|
19
15
|
/**
|
|
20
16
|
* PaymentSetupApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -23,20 +19,20 @@ import { InitiatePaymentSetupResponseClass } from '../models';
|
|
|
23
19
|
export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
20
|
/**
|
|
25
21
|
*
|
|
26
|
-
* @param {
|
|
22
|
+
* @param {object} body
|
|
27
23
|
* @param {string} [authorization] Bearer Token
|
|
28
24
|
* @param {*} [options] Override http request option.
|
|
29
25
|
* @throws {RequiredError}
|
|
30
26
|
*/
|
|
31
|
-
completePaymentSetup: (
|
|
27
|
+
completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
28
|
/**
|
|
33
29
|
*
|
|
34
|
-
* @param {
|
|
30
|
+
* @param {object} body
|
|
35
31
|
* @param {string} [authorization] Bearer Token
|
|
36
32
|
* @param {*} [options] Override http request option.
|
|
37
33
|
* @throws {RequiredError}
|
|
38
34
|
*/
|
|
39
|
-
initiatePaymentSetup: (
|
|
35
|
+
initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
36
|
};
|
|
41
37
|
/**
|
|
42
38
|
* PaymentSetupApi - functional programming interface
|
|
@@ -45,20 +41,20 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
|
|
|
45
41
|
export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
46
42
|
/**
|
|
47
43
|
*
|
|
48
|
-
* @param {
|
|
44
|
+
* @param {object} body
|
|
49
45
|
* @param {string} [authorization] Bearer Token
|
|
50
46
|
* @param {*} [options] Override http request option.
|
|
51
47
|
* @throws {RequiredError}
|
|
52
48
|
*/
|
|
53
|
-
completePaymentSetup(
|
|
49
|
+
completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
54
50
|
/**
|
|
55
51
|
*
|
|
56
|
-
* @param {
|
|
52
|
+
* @param {object} body
|
|
57
53
|
* @param {string} [authorization] Bearer Token
|
|
58
54
|
* @param {*} [options] Override http request option.
|
|
59
55
|
* @throws {RequiredError}
|
|
60
56
|
*/
|
|
61
|
-
initiatePaymentSetup(
|
|
57
|
+
initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
62
58
|
};
|
|
63
59
|
/**
|
|
64
60
|
* PaymentSetupApi - factory interface
|
|
@@ -67,20 +63,20 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
|
67
63
|
export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
68
64
|
/**
|
|
69
65
|
*
|
|
70
|
-
* @param {
|
|
66
|
+
* @param {object} body
|
|
71
67
|
* @param {string} [authorization] Bearer Token
|
|
72
68
|
* @param {*} [options] Override http request option.
|
|
73
69
|
* @throws {RequiredError}
|
|
74
70
|
*/
|
|
75
|
-
completePaymentSetup(
|
|
71
|
+
completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
76
72
|
/**
|
|
77
73
|
*
|
|
78
|
-
* @param {
|
|
74
|
+
* @param {object} body
|
|
79
75
|
* @param {string} [authorization] Bearer Token
|
|
80
76
|
* @param {*} [options] Override http request option.
|
|
81
77
|
* @throws {RequiredError}
|
|
82
78
|
*/
|
|
83
|
-
initiatePaymentSetup(
|
|
79
|
+
initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
84
80
|
};
|
|
85
81
|
/**
|
|
86
82
|
* Request parameters for completePaymentSetup operation in PaymentSetupApi.
|
|
@@ -90,10 +86,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
90
86
|
export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
91
87
|
/**
|
|
92
88
|
*
|
|
93
|
-
* @type {
|
|
89
|
+
* @type {object}
|
|
94
90
|
* @memberof PaymentSetupApiCompletePaymentSetup
|
|
95
91
|
*/
|
|
96
|
-
readonly
|
|
92
|
+
readonly body: object;
|
|
97
93
|
/**
|
|
98
94
|
* Bearer Token
|
|
99
95
|
* @type {string}
|
|
@@ -109,10 +105,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
|
109
105
|
export interface PaymentSetupApiInitiatePaymentSetupRequest {
|
|
110
106
|
/**
|
|
111
107
|
*
|
|
112
|
-
* @type {
|
|
108
|
+
* @type {object}
|
|
113
109
|
* @memberof PaymentSetupApiInitiatePaymentSetup
|
|
114
110
|
*/
|
|
115
|
-
readonly
|
|
111
|
+
readonly body: object;
|
|
116
112
|
/**
|
|
117
113
|
* Bearer Token
|
|
118
114
|
* @type {string}
|
|
@@ -134,7 +130,7 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
134
130
|
* @throws {RequiredError}
|
|
135
131
|
* @memberof PaymentSetupApi
|
|
136
132
|
*/
|
|
137
|
-
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
133
|
+
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
138
134
|
/**
|
|
139
135
|
*
|
|
140
136
|
* @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
|
|
@@ -142,5 +138,5 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
142
138
|
* @throws {RequiredError}
|
|
143
139
|
* @memberof PaymentSetupApi
|
|
144
140
|
*/
|
|
145
|
-
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
141
|
+
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
146
142
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -94,20 +94,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @param {
|
|
97
|
+
* @param {object} body
|
|
98
98
|
* @param {string} [authorization] Bearer Token
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
*/
|
|
102
|
-
completePaymentSetup: function (
|
|
102
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
103
103
|
if (options === void 0) { options = {}; }
|
|
104
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
105
105
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
106
|
return __generator(this, function (_a) {
|
|
107
107
|
switch (_a.label) {
|
|
108
108
|
case 0:
|
|
109
|
-
// verify required parameter '
|
|
110
|
-
(0, common_1.assertParamExists)('completePaymentSetup', '
|
|
109
|
+
// verify required parameter 'body' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
|
|
111
111
|
localVarPath = "/paymentservice/v1/payment-setup/complete";
|
|
112
112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
113
113
|
if (configuration) {
|
|
@@ -131,7 +131,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
131
131
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
132
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
133
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
134
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
135
135
|
return [2 /*return*/, {
|
|
136
136
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
137
|
options: localVarRequestOptions,
|
|
@@ -142,20 +142,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
},
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
|
-
* @param {
|
|
145
|
+
* @param {object} body
|
|
146
146
|
* @param {string} [authorization] Bearer Token
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
148
148
|
* @throws {RequiredError}
|
|
149
149
|
*/
|
|
150
|
-
initiatePaymentSetup: function (
|
|
150
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
151
151
|
if (options === void 0) { options = {}; }
|
|
152
152
|
return __awaiter(_this, void 0, void 0, function () {
|
|
153
153
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
154
154
|
return __generator(this, function (_a) {
|
|
155
155
|
switch (_a.label) {
|
|
156
156
|
case 0:
|
|
157
|
-
// verify required parameter '
|
|
158
|
-
(0, common_1.assertParamExists)('initiatePaymentSetup', '
|
|
157
|
+
// verify required parameter 'body' is not null or undefined
|
|
158
|
+
(0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
|
|
159
159
|
localVarPath = "/paymentservice/v1/payment-setup/initiate";
|
|
160
160
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
161
161
|
if (configuration) {
|
|
@@ -179,7 +179,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
179
179
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
180
180
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
181
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
182
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
182
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
183
183
|
return [2 /*return*/, {
|
|
184
184
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
185
185
|
options: localVarRequestOptions,
|
|
@@ -200,17 +200,17 @@ var PaymentSetupApiFp = function (configuration) {
|
|
|
200
200
|
return {
|
|
201
201
|
/**
|
|
202
202
|
*
|
|
203
|
-
* @param {
|
|
203
|
+
* @param {object} body
|
|
204
204
|
* @param {string} [authorization] Bearer Token
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
207
207
|
*/
|
|
208
|
-
completePaymentSetup: function (
|
|
208
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
209
209
|
return __awaiter(this, void 0, void 0, function () {
|
|
210
210
|
var localVarAxiosArgs;
|
|
211
211
|
return __generator(this, function (_a) {
|
|
212
212
|
switch (_a.label) {
|
|
213
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(
|
|
213
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
|
|
214
214
|
case 1:
|
|
215
215
|
localVarAxiosArgs = _a.sent();
|
|
216
216
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -220,17 +220,17 @@ var PaymentSetupApiFp = function (configuration) {
|
|
|
220
220
|
},
|
|
221
221
|
/**
|
|
222
222
|
*
|
|
223
|
-
* @param {
|
|
223
|
+
* @param {object} body
|
|
224
224
|
* @param {string} [authorization] Bearer Token
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
|
-
initiatePaymentSetup: function (
|
|
228
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
229
229
|
return __awaiter(this, void 0, void 0, function () {
|
|
230
230
|
var localVarAxiosArgs;
|
|
231
231
|
return __generator(this, function (_a) {
|
|
232
232
|
switch (_a.label) {
|
|
233
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(
|
|
233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
|
|
234
234
|
case 1:
|
|
235
235
|
localVarAxiosArgs = _a.sent();
|
|
236
236
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -250,23 +250,23 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
|
|
|
250
250
|
return {
|
|
251
251
|
/**
|
|
252
252
|
*
|
|
253
|
-
* @param {
|
|
253
|
+
* @param {object} body
|
|
254
254
|
* @param {string} [authorization] Bearer Token
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
258
|
-
completePaymentSetup: function (
|
|
259
|
-
return localVarFp.completePaymentSetup(
|
|
258
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
259
|
+
return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
260
260
|
},
|
|
261
261
|
/**
|
|
262
262
|
*
|
|
263
|
-
* @param {
|
|
263
|
+
* @param {object} body
|
|
264
264
|
* @param {string} [authorization] Bearer Token
|
|
265
265
|
* @param {*} [options] Override http request option.
|
|
266
266
|
* @throws {RequiredError}
|
|
267
267
|
*/
|
|
268
|
-
initiatePaymentSetup: function (
|
|
269
|
-
return localVarFp.initiatePaymentSetup(
|
|
268
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
269
|
+
return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
270
270
|
},
|
|
271
271
|
};
|
|
272
272
|
};
|
|
@@ -291,7 +291,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
|
|
|
291
291
|
*/
|
|
292
292
|
PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
|
|
293
293
|
var _this = this;
|
|
294
|
-
return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.
|
|
294
|
+
return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
295
295
|
};
|
|
296
296
|
/**
|
|
297
297
|
*
|
|
@@ -302,7 +302,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
|
|
|
302
302
|
*/
|
|
303
303
|
PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
|
|
304
304
|
var _this = this;
|
|
305
|
-
return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.
|
|
305
|
+
return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
306
306
|
};
|
|
307
307
|
return PaymentSetupApi;
|
|
308
308
|
}(base_1.BaseAPI));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePaymentRequestDto } from '../models';
|
|
16
|
-
import { CreatePaymentResponseClass } from '../models';
|
|
17
|
-
import { GetPaymentResponseClass } from '../models';
|
|
18
|
-
import { ListPaymentsResponseClass } from '../models';
|
|
19
16
|
/**
|
|
20
17
|
* PaymentsApi - axios parameter creator
|
|
21
18
|
* @export
|
|
@@ -23,7 +20,7 @@ import { ListPaymentsResponseClass } from '../models';
|
|
|
23
20
|
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
21
|
/**
|
|
25
22
|
* Creates a payment for a specified account. This function is idempotent.
|
|
26
|
-
* @summary Create
|
|
23
|
+
* @summary Create a payment
|
|
27
24
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
28
25
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
29
26
|
* @param {string} [authorization] Bearer Token
|
|
@@ -32,18 +29,18 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
32
29
|
*/
|
|
33
30
|
createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
31
|
/**
|
|
35
|
-
* Retrieves the details of
|
|
36
|
-
* @summary Retrieve
|
|
37
|
-
* @param {string} code
|
|
38
|
-
* @param {string}
|
|
32
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
33
|
+
* @summary Retrieve a payment
|
|
34
|
+
* @param {string} code Unique identifier for the object.
|
|
35
|
+
* @param {string} expand Fields to expand response by
|
|
36
|
+
* @param {string} expand2 Fields to expand response by
|
|
39
37
|
* @param {string} [authorization] Bearer Token
|
|
40
|
-
* @param {string} [expand] Fields to expand response by
|
|
41
38
|
* @param {*} [options] Override http request option.
|
|
42
39
|
* @throws {RequiredError}
|
|
43
40
|
*/
|
|
44
|
-
getPayment: (code: string,
|
|
41
|
+
getPayment: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
42
|
/**
|
|
46
|
-
* Returns a list of payments you
|
|
43
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
47
44
|
* @summary List payments
|
|
48
45
|
* @param {string} [authorization] Bearer Token
|
|
49
46
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -65,27 +62,27 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
62
|
export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
66
63
|
/**
|
|
67
64
|
* Creates a payment for a specified account. This function is idempotent.
|
|
68
|
-
* @summary Create
|
|
65
|
+
* @summary Create a payment
|
|
69
66
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
70
67
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
71
68
|
* @param {string} [authorization] Bearer Token
|
|
72
69
|
* @param {*} [options] Override http request option.
|
|
73
70
|
* @throws {RequiredError}
|
|
74
71
|
*/
|
|
75
|
-
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
72
|
+
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
76
73
|
/**
|
|
77
|
-
* Retrieves the details of
|
|
78
|
-
* @summary Retrieve
|
|
79
|
-
* @param {string} code
|
|
80
|
-
* @param {string}
|
|
74
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
75
|
+
* @summary Retrieve a payment
|
|
76
|
+
* @param {string} code Unique identifier for the object.
|
|
77
|
+
* @param {string} expand Fields to expand response by
|
|
78
|
+
* @param {string} expand2 Fields to expand response by
|
|
81
79
|
* @param {string} [authorization] Bearer Token
|
|
82
|
-
* @param {string} [expand] Fields to expand response by
|
|
83
80
|
* @param {*} [options] Override http request option.
|
|
84
81
|
* @throws {RequiredError}
|
|
85
82
|
*/
|
|
86
|
-
getPayment(code: string,
|
|
83
|
+
getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
87
84
|
/**
|
|
88
|
-
* Returns a list of payments you
|
|
85
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
89
86
|
* @summary List payments
|
|
90
87
|
* @param {string} [authorization] Bearer Token
|
|
91
88
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -98,7 +95,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
98
95
|
* @param {*} [options] Override http request option.
|
|
99
96
|
* @throws {RequiredError}
|
|
100
97
|
*/
|
|
101
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
99
|
};
|
|
103
100
|
/**
|
|
104
101
|
* PaymentsApi - factory interface
|
|
@@ -107,27 +104,27 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
107
104
|
export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
108
105
|
/**
|
|
109
106
|
* Creates a payment for a specified account. This function is idempotent.
|
|
110
|
-
* @summary Create
|
|
107
|
+
* @summary Create a payment
|
|
111
108
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
112
109
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
113
110
|
* @param {string} [authorization] Bearer Token
|
|
114
111
|
* @param {*} [options] Override http request option.
|
|
115
112
|
* @throws {RequiredError}
|
|
116
113
|
*/
|
|
117
|
-
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
114
|
+
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
118
115
|
/**
|
|
119
|
-
* Retrieves the details of
|
|
120
|
-
* @summary Retrieve
|
|
121
|
-
* @param {string} code
|
|
122
|
-
* @param {string}
|
|
116
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
117
|
+
* @summary Retrieve a payment
|
|
118
|
+
* @param {string} code Unique identifier for the object.
|
|
119
|
+
* @param {string} expand Fields to expand response by
|
|
120
|
+
* @param {string} expand2 Fields to expand response by
|
|
123
121
|
* @param {string} [authorization] Bearer Token
|
|
124
|
-
* @param {string} [expand] Fields to expand response by
|
|
125
122
|
* @param {*} [options] Override http request option.
|
|
126
123
|
* @throws {RequiredError}
|
|
127
124
|
*/
|
|
128
|
-
getPayment(code: string,
|
|
125
|
+
getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
129
126
|
/**
|
|
130
|
-
* Returns a list of payments you
|
|
127
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
131
128
|
* @summary List payments
|
|
132
129
|
* @param {string} [authorization] Bearer Token
|
|
133
130
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -140,7 +137,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
140
137
|
* @param {*} [options] Override http request option.
|
|
141
138
|
* @throws {RequiredError}
|
|
142
139
|
*/
|
|
143
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<
|
|
140
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
144
141
|
};
|
|
145
142
|
/**
|
|
146
143
|
* Request parameters for createPayment operation in PaymentsApi.
|
|
@@ -174,29 +171,29 @@ export interface PaymentsApiCreatePaymentRequest {
|
|
|
174
171
|
*/
|
|
175
172
|
export interface PaymentsApiGetPaymentRequest {
|
|
176
173
|
/**
|
|
177
|
-
*
|
|
174
|
+
* Unique identifier for the object.
|
|
178
175
|
* @type {string}
|
|
179
176
|
* @memberof PaymentsApiGetPayment
|
|
180
177
|
*/
|
|
181
178
|
readonly code: string;
|
|
182
179
|
/**
|
|
183
|
-
*
|
|
180
|
+
* Fields to expand response by
|
|
184
181
|
* @type {string}
|
|
185
182
|
* @memberof PaymentsApiGetPayment
|
|
186
183
|
*/
|
|
187
|
-
readonly
|
|
184
|
+
readonly expand: string;
|
|
188
185
|
/**
|
|
189
|
-
*
|
|
186
|
+
* Fields to expand response by
|
|
190
187
|
* @type {string}
|
|
191
188
|
* @memberof PaymentsApiGetPayment
|
|
192
189
|
*/
|
|
193
|
-
readonly
|
|
190
|
+
readonly expand2: string;
|
|
194
191
|
/**
|
|
195
|
-
*
|
|
192
|
+
* Bearer Token
|
|
196
193
|
* @type {string}
|
|
197
194
|
* @memberof PaymentsApiGetPayment
|
|
198
195
|
*/
|
|
199
|
-
readonly
|
|
196
|
+
readonly authorization?: string;
|
|
200
197
|
}
|
|
201
198
|
/**
|
|
202
199
|
* Request parameters for listPayments operation in PaymentsApi.
|
|
@@ -262,29 +259,29 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
262
259
|
export declare class PaymentsApi extends BaseAPI {
|
|
263
260
|
/**
|
|
264
261
|
* Creates a payment for a specified account. This function is idempotent.
|
|
265
|
-
* @summary Create
|
|
262
|
+
* @summary Create a payment
|
|
266
263
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
267
264
|
* @param {*} [options] Override http request option.
|
|
268
265
|
* @throws {RequiredError}
|
|
269
266
|
* @memberof PaymentsApi
|
|
270
267
|
*/
|
|
271
|
-
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
268
|
+
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
272
269
|
/**
|
|
273
|
-
* Retrieves the details of
|
|
274
|
-
* @summary Retrieve
|
|
270
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
271
|
+
* @summary Retrieve a payment
|
|
275
272
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
276
273
|
* @param {*} [options] Override http request option.
|
|
277
274
|
* @throws {RequiredError}
|
|
278
275
|
* @memberof PaymentsApi
|
|
279
276
|
*/
|
|
280
|
-
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
277
|
+
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
281
278
|
/**
|
|
282
|
-
* Returns a list of payments you
|
|
279
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
283
280
|
* @summary List payments
|
|
284
281
|
* @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
|
|
285
282
|
* @param {*} [options] Override http request option.
|
|
286
283
|
* @throws {RequiredError}
|
|
287
284
|
* @memberof PaymentsApi
|
|
288
285
|
*/
|
|
289
|
-
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
286
|
+
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
290
287
|
}
|