@getivy/node-sdk 0.1.0-alpha.10
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/CHANGELOG.md +130 -0
- package/LICENSE +201 -0
- package/README.md +303 -0
- package/_shims/MultipartBody.d.ts +9 -0
- package/_shims/MultipartBody.d.ts.map +1 -0
- package/_shims/MultipartBody.js +16 -0
- package/_shims/MultipartBody.js.map +1 -0
- package/_shims/MultipartBody.mjs +12 -0
- package/_shims/MultipartBody.mjs.map +1 -0
- package/_shims/README.md +46 -0
- package/_shims/auto/runtime-bun.d.ts +5 -0
- package/_shims/auto/runtime-bun.d.ts.map +1 -0
- package/_shims/auto/runtime-bun.js +21 -0
- package/_shims/auto/runtime-bun.js.map +1 -0
- package/_shims/auto/runtime-bun.mjs +2 -0
- package/_shims/auto/runtime-bun.mjs.map +1 -0
- package/_shims/auto/runtime-node.d.ts +5 -0
- package/_shims/auto/runtime-node.d.ts.map +1 -0
- package/_shims/auto/runtime-node.js +21 -0
- package/_shims/auto/runtime-node.js.map +1 -0
- package/_shims/auto/runtime-node.mjs +2 -0
- package/_shims/auto/runtime-node.mjs.map +1 -0
- package/_shims/auto/runtime.d.ts +5 -0
- package/_shims/auto/runtime.d.ts.map +1 -0
- package/_shims/auto/runtime.js +21 -0
- package/_shims/auto/runtime.js.map +1 -0
- package/_shims/auto/runtime.mjs +2 -0
- package/_shims/auto/runtime.mjs.map +1 -0
- package/_shims/auto/types-node.d.ts +5 -0
- package/_shims/auto/types-node.d.ts.map +1 -0
- package/_shims/auto/types-node.js +21 -0
- package/_shims/auto/types-node.js.map +1 -0
- package/_shims/auto/types-node.mjs +2 -0
- package/_shims/auto/types-node.mjs.map +1 -0
- package/_shims/auto/types.d.ts +101 -0
- package/_shims/auto/types.js +3 -0
- package/_shims/auto/types.mjs +3 -0
- package/_shims/bun-runtime.d.ts +6 -0
- package/_shims/bun-runtime.d.ts.map +1 -0
- package/_shims/bun-runtime.js +14 -0
- package/_shims/bun-runtime.js.map +1 -0
- package/_shims/bun-runtime.mjs +10 -0
- package/_shims/bun-runtime.mjs.map +1 -0
- package/_shims/index.d.ts +81 -0
- package/_shims/index.js +13 -0
- package/_shims/index.mjs +7 -0
- package/_shims/manual-types.d.ts +12 -0
- package/_shims/manual-types.js +3 -0
- package/_shims/manual-types.mjs +3 -0
- package/_shims/node-runtime.d.ts +3 -0
- package/_shims/node-runtime.d.ts.map +1 -0
- package/_shims/node-runtime.js +89 -0
- package/_shims/node-runtime.js.map +1 -0
- package/_shims/node-runtime.mjs +56 -0
- package/_shims/node-runtime.mjs.map +1 -0
- package/_shims/node-types.d.ts +42 -0
- package/_shims/node-types.js +3 -0
- package/_shims/node-types.mjs +3 -0
- package/_shims/registry.d.ts +37 -0
- package/_shims/registry.d.ts.map +1 -0
- package/_shims/registry.js +41 -0
- package/_shims/registry.js.map +1 -0
- package/_shims/registry.mjs +37 -0
- package/_shims/registry.mjs.map +1 -0
- package/_shims/web-runtime.d.ts +5 -0
- package/_shims/web-runtime.d.ts.map +1 -0
- package/_shims/web-runtime.js +78 -0
- package/_shims/web-runtime.js.map +1 -0
- package/_shims/web-runtime.mjs +71 -0
- package/_shims/web-runtime.mjs.map +1 -0
- package/_shims/web-types.d.ts +83 -0
- package/_shims/web-types.js +3 -0
- package/_shims/web-types.mjs +3 -0
- package/core.d.ts +241 -0
- package/core.d.ts.map +1 -0
- package/core.js +915 -0
- package/core.js.map +1 -0
- package/core.mjs +883 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +47 -0
- package/error.d.ts.map +1 -0
- package/error.js +113 -0
- package/error.js.map +1 -0
- package/error.mjs +97 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +160 -0
- package/index.d.ts +160 -0
- package/index.d.ts.map +1 -0
- package/index.js +167 -0
- package/index.js.map +1 -0
- package/index.mjs +124 -0
- package/index.mjs.map +1 -0
- package/package.json +124 -0
- package/resource.d.ts +6 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +11 -0
- package/resource.js.map +1 -0
- package/resource.mjs +7 -0
- package/resource.mjs.map +1 -0
- package/resources/balance.d.ts +34 -0
- package/resources/balance.d.ts.map +1 -0
- package/resources/balance.js +16 -0
- package/resources/balance.js.map +1 -0
- package/resources/balance.mjs +12 -0
- package/resources/balance.mjs.map +1 -0
- package/resources/banks.d.ts +235 -0
- package/resources/banks.d.ts.map +1 -0
- package/resources/banks.js +30 -0
- package/resources/banks.js.map +1 -0
- package/resources/banks.mjs +26 -0
- package/resources/banks.mjs.map +1 -0
- package/resources/capabilities.d.ts +28 -0
- package/resources/capabilities.d.ts.map +1 -0
- package/resources/capabilities.js +16 -0
- package/resources/capabilities.js.map +1 -0
- package/resources/capabilities.mjs +12 -0
- package/resources/capabilities.mjs.map +1 -0
- package/resources/charges.d.ts +73 -0
- package/resources/charges.d.ts.map +1 -0
- package/resources/charges.js +15 -0
- package/resources/charges.js.map +1 -0
- package/resources/charges.mjs +11 -0
- package/resources/charges.mjs.map +1 -0
- package/resources/checkoutsession.d.ts +1504 -0
- package/resources/checkoutsession.d.ts.map +1 -0
- package/resources/checkoutsession.js +30 -0
- package/resources/checkoutsession.js.map +1 -0
- package/resources/checkoutsession.mjs +26 -0
- package/resources/checkoutsession.mjs.map +1 -0
- package/resources/customers.d.ts +82 -0
- package/resources/customers.d.ts.map +1 -0
- package/resources/customers.js +21 -0
- package/resources/customers.js.map +1 -0
- package/resources/customers.mjs +17 -0
- package/resources/customers.mjs.map +1 -0
- package/resources/index.d.ts +14 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +31 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +15 -0
- package/resources/index.mjs.map +1 -0
- package/resources/mandates.d.ts +91 -0
- package/resources/mandates.d.ts.map +1 -0
- package/resources/mandates.js +27 -0
- package/resources/mandates.js.map +1 -0
- package/resources/mandates.mjs +23 -0
- package/resources/mandates.mjs.map +1 -0
- package/resources/orders.d.ts +1239 -0
- package/resources/orders.d.ts.map +1 -0
- package/resources/orders.js +23 -0
- package/resources/orders.js.map +1 -0
- package/resources/orders.mjs +19 -0
- package/resources/orders.mjs.map +1 -0
- package/resources/payouts.d.ts +224 -0
- package/resources/payouts.d.ts.map +1 -0
- package/resources/payouts.js +28 -0
- package/resources/payouts.js.map +1 -0
- package/resources/payouts.mjs +24 -0
- package/resources/payouts.mjs.map +1 -0
- package/resources/refunds.d.ts +138 -0
- package/resources/refunds.d.ts.map +1 -0
- package/resources/refunds.js +28 -0
- package/resources/refunds.js.map +1 -0
- package/resources/refunds.mjs +24 -0
- package/resources/refunds.mjs.map +1 -0
- package/resources/reports.d.ts +120 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +31 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +27 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/subaccounts.d.ts +49 -0
- package/resources/subaccounts.d.ts.map +1 -0
- package/resources/subaccounts.js +22 -0
- package/resources/subaccounts.js.map +1 -0
- package/resources/subaccounts.mjs +18 -0
- package/resources/subaccounts.mjs.map +1 -0
- package/resources/webhooksubscription.d.ts +155 -0
- package/resources/webhooksubscription.d.ts.map +1 -0
- package/resources/webhooksubscription.js +42 -0
- package/resources/webhooksubscription.js.map +1 -0
- package/resources/webhooksubscription.mjs +38 -0
- package/resources/webhooksubscription.mjs.map +1 -0
- package/shims/node.d.ts +30 -0
- package/shims/node.d.ts.map +1 -0
- package/shims/node.js +31 -0
- package/shims/node.js.map +1 -0
- package/shims/node.mjs +5 -0
- package/shims/node.mjs.map +1 -0
- package/shims/web.d.ts +26 -0
- package/shims/web.d.ts.map +1 -0
- package/shims/web.js +31 -0
- package/shims/web.js.map +1 -0
- package/shims/web.mjs +5 -0
- package/shims/web.mjs.map +1 -0
- package/src/_shims/MultipartBody.ts +9 -0
- package/src/_shims/README.md +46 -0
- package/src/_shims/auto/runtime-bun.ts +4 -0
- package/src/_shims/auto/runtime-node.ts +4 -0
- package/src/_shims/auto/runtime.ts +4 -0
- package/src/_shims/auto/types-node.ts +4 -0
- package/src/_shims/auto/types.d.ts +101 -0
- package/src/_shims/auto/types.js +3 -0
- package/src/_shims/auto/types.mjs +3 -0
- package/src/_shims/bun-runtime.ts +14 -0
- package/src/_shims/index.d.ts +81 -0
- package/src/_shims/index.js +13 -0
- package/src/_shims/index.mjs +7 -0
- package/src/_shims/manual-types.d.ts +12 -0
- package/src/_shims/manual-types.js +3 -0
- package/src/_shims/manual-types.mjs +3 -0
- package/src/_shims/node-runtime.ts +81 -0
- package/src/_shims/node-types.d.ts +42 -0
- package/src/_shims/node-types.js +3 -0
- package/src/_shims/node-types.mjs +3 -0
- package/src/_shims/registry.ts +67 -0
- package/src/_shims/web-runtime.ts +103 -0
- package/src/_shims/web-types.d.ts +83 -0
- package/src/_shims/web-types.js +3 -0
- package/src/_shims/web-types.mjs +3 -0
- package/src/core.ts +1208 -0
- package/src/error.ts +130 -0
- package/src/index.ts +422 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +11 -0
- package/src/resources/balance.ts +49 -0
- package/src/resources/banks.ts +1551 -0
- package/src/resources/capabilities.ts +291 -0
- package/src/resources/charges.ts +95 -0
- package/src/resources/checkoutsession.ts +6935 -0
- package/src/resources/customers.ts +111 -0
- package/src/resources/index.ts +88 -0
- package/src/resources/mandates.ts +135 -0
- package/src/resources/orders.ts +3174 -0
- package/src/resources/payouts.ts +297 -0
- package/src/resources/refunds.ts +183 -0
- package/src/resources/reports.ts +172 -0
- package/src/resources/subaccounts.ts +73 -0
- package/src/resources/webhooksubscription.ts +353 -0
- package/src/shims/node.ts +50 -0
- package/src/shims/web.ts +50 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +255 -0
- package/src/version.ts +1 -0
- package/uploads.d.ts +75 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +171 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +158 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../src/resources/orders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAI1G;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAGrG;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B,SAAS,EAAE,MAAM,CAAC;IAElB,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,KAAK,EAAE,qBAAqB,CAAC,KAAK,CAAC;IAEnC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,MAAM,EACF,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,qBAAqB,GACrB,MAAM,GACN,WAAW,GACX,UAAU,GACV,eAAe,GACf,oBAAoB,GACpB,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IAEd,SAAS,EAAE,M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BAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Orders = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
class Orders extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieve details of an order. You can retrieve the order by passing either the
|
|
9
|
+
* internal Ivy order id or the `referenceId` you specified when creating a
|
|
10
|
+
* Checkout Session to the `id` field.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(body, options) {
|
|
13
|
+
return this._client.post('/api/service/order/details', { body, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Update certain fields of the specified order.
|
|
17
|
+
*/
|
|
18
|
+
update(body, options) {
|
|
19
|
+
return this._client.post('/api/service/order/update', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Orders = Orders;
|
|
23
|
+
//# sourceMappingURL=orders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.js","sourceRoot":"","sources":["../src/resources/orders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;OAIG;IACH,QAAQ,CAAC,IAAyB,EAAE,OAA6B;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAhBD,wBAgBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
export class Orders extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve details of an order. You can retrieve the order by passing either the
|
|
6
|
+
* internal Ivy order id or the `referenceId` you specified when creating a
|
|
7
|
+
* Checkout Session to the `id` field.
|
|
8
|
+
*/
|
|
9
|
+
retrieve(body, options) {
|
|
10
|
+
return this._client.post('/api/service/order/details', { body, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Update certain fields of the specified order.
|
|
14
|
+
*/
|
|
15
|
+
update(body, options) {
|
|
16
|
+
return this._client.post('/api/service/order/update', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=orders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.mjs","sourceRoot":"","sources":["../src/resources/orders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,QAAQ,CAAC,IAAyB,EAAE,OAA6B;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
export declare class Payouts extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Create a Customer Payout to a customer's bank account for withdrawals or similar
|
|
6
|
+
* purposes.
|
|
7
|
+
*/
|
|
8
|
+
create(body: PayoutCreateParams, options?: Core.RequestOptions): Core.APIPromise<PublicUserPayout>;
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a Customer Payout by id
|
|
11
|
+
*/
|
|
12
|
+
retrieve(body: PayoutRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<PublicUserPayout>;
|
|
13
|
+
/**
|
|
14
|
+
* List all Customer Payouts made by this merchant account.
|
|
15
|
+
*/
|
|
16
|
+
list(body: PayoutListParams, options?: Core.RequestOptions): Core.APIPromise<PayoutListResponse>;
|
|
17
|
+
}
|
|
18
|
+
export interface PublicUserPayout {
|
|
19
|
+
id: string;
|
|
20
|
+
amount: number;
|
|
21
|
+
currency: 'EUR' | 'GBP' | 'PLN';
|
|
22
|
+
/**
|
|
23
|
+
* The validation logic is based on the "type" field. For example, if "type" is set
|
|
24
|
+
* to "iban", the "iban" object must be filled out.
|
|
25
|
+
*/
|
|
26
|
+
destination: PublicUserPayout.Destination;
|
|
27
|
+
status: 'paid' | 'pending' | 'failed';
|
|
28
|
+
createdAt?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Any key-value pairs, which will be stored to the object. See
|
|
31
|
+
* [here](https://docs.getivy.de/reference/metadata) for more info.
|
|
32
|
+
*/
|
|
33
|
+
metadata?: Record<string, unknown>;
|
|
34
|
+
updatedAt?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace PublicUserPayout {
|
|
37
|
+
/**
|
|
38
|
+
* The validation logic is based on the "type" field. For example, if "type" is set
|
|
39
|
+
* to "iban", the "iban" object must be filled out.
|
|
40
|
+
*/
|
|
41
|
+
interface Destination {
|
|
42
|
+
/**
|
|
43
|
+
* The type of the financial address. The actual destination is determined by this
|
|
44
|
+
* field which can be either "iban", "sortCode", "bankCode", or "bban". The
|
|
45
|
+
* validation will fail if you set e.g. type="iban", but then not fill any values
|
|
46
|
+
* in the "iban" object.
|
|
47
|
+
*
|
|
48
|
+
* - iban: The IBAN of the account
|
|
49
|
+
* - sort_code: The sort code of the account
|
|
50
|
+
* - bank_code: The bank code of the account
|
|
51
|
+
* - bban: The BBAN of the account
|
|
52
|
+
*/
|
|
53
|
+
type: string;
|
|
54
|
+
bankCode?: Destination.BankCode;
|
|
55
|
+
bban?: Destination.Bban;
|
|
56
|
+
iban?: Destination.Iban;
|
|
57
|
+
sortCode?: Destination.SortCode;
|
|
58
|
+
}
|
|
59
|
+
namespace Destination {
|
|
60
|
+
interface BankCode {
|
|
61
|
+
/**
|
|
62
|
+
* The name of the account holder.
|
|
63
|
+
*/
|
|
64
|
+
accountHolderName: string;
|
|
65
|
+
accountNumber: string;
|
|
66
|
+
code: string;
|
|
67
|
+
}
|
|
68
|
+
interface Bban {
|
|
69
|
+
/**
|
|
70
|
+
* The name of the account holder.
|
|
71
|
+
*/
|
|
72
|
+
accountHolderName: string;
|
|
73
|
+
bban: string;
|
|
74
|
+
bic?: string;
|
|
75
|
+
}
|
|
76
|
+
interface Iban {
|
|
77
|
+
/**
|
|
78
|
+
* The name of the account holder.
|
|
79
|
+
*/
|
|
80
|
+
accountHolderName: string;
|
|
81
|
+
iban: string;
|
|
82
|
+
bic?: string;
|
|
83
|
+
}
|
|
84
|
+
interface SortCode {
|
|
85
|
+
/**
|
|
86
|
+
* The name of the account holder.
|
|
87
|
+
*/
|
|
88
|
+
accountHolderName: string;
|
|
89
|
+
accountNumber: string;
|
|
90
|
+
sortCode: string;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
export interface PayoutListResponse {
|
|
95
|
+
/**
|
|
96
|
+
* The total number of items
|
|
97
|
+
*/
|
|
98
|
+
count: number;
|
|
99
|
+
/**
|
|
100
|
+
* Whether there are more items to retrieve
|
|
101
|
+
*/
|
|
102
|
+
hasNext: boolean;
|
|
103
|
+
items: Array<PublicUserPayout>;
|
|
104
|
+
/**
|
|
105
|
+
* The number of items skipped
|
|
106
|
+
*/
|
|
107
|
+
skip: number;
|
|
108
|
+
}
|
|
109
|
+
export interface PayoutCreateParams {
|
|
110
|
+
/**
|
|
111
|
+
* The amount of the customer payout
|
|
112
|
+
*/
|
|
113
|
+
amount: number;
|
|
114
|
+
/**
|
|
115
|
+
* The currency of the customer payout
|
|
116
|
+
*/
|
|
117
|
+
currency: 'EUR' | 'GBP' | 'PLN';
|
|
118
|
+
/**
|
|
119
|
+
* The destination of the customer payout.
|
|
120
|
+
*/
|
|
121
|
+
destination: PayoutCreateParams.Destination;
|
|
122
|
+
/**
|
|
123
|
+
* The metadata of the customer payout
|
|
124
|
+
*/
|
|
125
|
+
metadata?: Record<string, unknown>;
|
|
126
|
+
/**
|
|
127
|
+
* The payment reference of the customer payout. The customer will see this
|
|
128
|
+
* reference in their bank statement.
|
|
129
|
+
*/
|
|
130
|
+
paymentReference?: string;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace PayoutCreateParams {
|
|
133
|
+
/**
|
|
134
|
+
* The destination of the customer payout.
|
|
135
|
+
*/
|
|
136
|
+
interface Destination {
|
|
137
|
+
/**
|
|
138
|
+
* Used for open-loop customer payouts. Disabled by default for merchants.
|
|
139
|
+
*/
|
|
140
|
+
financialAddress?: Destination.FinancialAddress;
|
|
141
|
+
/**
|
|
142
|
+
* For closed-loop customer payouts. The destination account will be taken from the
|
|
143
|
+
* payer of this order.
|
|
144
|
+
*/
|
|
145
|
+
orderId?: string;
|
|
146
|
+
}
|
|
147
|
+
namespace Destination {
|
|
148
|
+
/**
|
|
149
|
+
* Used for open-loop customer payouts. Disabled by default for merchants.
|
|
150
|
+
*/
|
|
151
|
+
interface FinancialAddress {
|
|
152
|
+
/**
|
|
153
|
+
* The type of the financial address. The actual destination is determined by this
|
|
154
|
+
* field which can be either "iban", "sortCode", "bankCode", or "bban". The
|
|
155
|
+
* validation will fail if you set e.g. type="iban", but then not fill any values
|
|
156
|
+
* in the "iban" object.
|
|
157
|
+
*
|
|
158
|
+
* - iban: The IBAN of the account
|
|
159
|
+
* - sort_code: The sort code of the account
|
|
160
|
+
* - bank_code: The bank code of the account
|
|
161
|
+
* - bban: The BBAN of the account
|
|
162
|
+
*/
|
|
163
|
+
type: string;
|
|
164
|
+
bankCode?: FinancialAddress.BankCode;
|
|
165
|
+
bban?: FinancialAddress.Bban;
|
|
166
|
+
iban?: FinancialAddress.Iban;
|
|
167
|
+
sortCode?: FinancialAddress.SortCode;
|
|
168
|
+
}
|
|
169
|
+
namespace FinancialAddress {
|
|
170
|
+
interface BankCode {
|
|
171
|
+
/**
|
|
172
|
+
* The name of the account holder.
|
|
173
|
+
*/
|
|
174
|
+
accountHolderName: string;
|
|
175
|
+
accountNumber: string;
|
|
176
|
+
code: string;
|
|
177
|
+
}
|
|
178
|
+
interface Bban {
|
|
179
|
+
/**
|
|
180
|
+
* The name of the account holder.
|
|
181
|
+
*/
|
|
182
|
+
accountHolderName: string;
|
|
183
|
+
bban: string;
|
|
184
|
+
bic?: string;
|
|
185
|
+
}
|
|
186
|
+
interface Iban {
|
|
187
|
+
/**
|
|
188
|
+
* The name of the account holder.
|
|
189
|
+
*/
|
|
190
|
+
accountHolderName: string;
|
|
191
|
+
iban: string;
|
|
192
|
+
bic?: string;
|
|
193
|
+
}
|
|
194
|
+
interface SortCode {
|
|
195
|
+
/**
|
|
196
|
+
* The name of the account holder.
|
|
197
|
+
*/
|
|
198
|
+
accountHolderName: string;
|
|
199
|
+
accountNumber: string;
|
|
200
|
+
sortCode: string;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
export interface PayoutRetrieveParams {
|
|
206
|
+
/**
|
|
207
|
+
* The unique identifier of the Customer Payout
|
|
208
|
+
*/
|
|
209
|
+
id: string;
|
|
210
|
+
}
|
|
211
|
+
export interface PayoutListParams {
|
|
212
|
+
/**
|
|
213
|
+
* The number of items to retrieve
|
|
214
|
+
*/
|
|
215
|
+
limit?: number;
|
|
216
|
+
/**
|
|
217
|
+
* The number of items to skip
|
|
218
|
+
*/
|
|
219
|
+
skip?: number;
|
|
220
|
+
}
|
|
221
|
+
export declare namespace Payouts {
|
|
222
|
+
export { type PublicUserPayout as PublicUserPayout, type PayoutListResponse as PayoutListResponse, type PayoutCreateParams as PayoutCreateParams, type PayoutRetrieveParams as PayoutRetrieveParams, type PayoutListParams as PayoutListParams, };
|
|
223
|
+
}
|
|
224
|
+
//# sourceMappingURL=payouts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payouts.d.ts","sourceRoot":"","sources":["../src/resources/payouts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IAIlG;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IAItG;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;CAGjG;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEhC;;;OAGG;IACH,WAAW,EAA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CAAC,EAAE,MAAM,CAAC;aACd;YAED,UAAiB,IAAI;gBACnB;;mBAEG;gBACH,iBAAiB,EAAE,MAAM,CAAC;gBAE1B,IAAI,EAAE,MAAM,CAAC;gBAEb,GAAG,CAAC,EAAE,MAAM,CAAC;aACd;YAED,UAAiB,QAAQ;gBACvB;;mBAEG;gBACH,iBAAiB,EAAE,MAAM,CAAC;gBAE1B,aAAa,EAAE,MAAM,CAAC;gBAEtB,QAAQ,EAAE,MAAM,CAAC;aAClB;SACF;KACF;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Payouts = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
class Payouts extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create a Customer Payout to a customer's bank account for withdrawals or similar
|
|
9
|
+
* purposes.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this._client.post('/api/service/payout/create', { body, ...options });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Retrieve a Customer Payout by id
|
|
16
|
+
*/
|
|
17
|
+
retrieve(body, options) {
|
|
18
|
+
return this._client.post('/api/service/payout/retrieve', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* List all Customer Payouts made by this merchant account.
|
|
22
|
+
*/
|
|
23
|
+
list(body, options) {
|
|
24
|
+
return this._client.post('/api/service/payout/list', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.Payouts = Payouts;
|
|
28
|
+
//# sourceMappingURL=payouts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payouts.js","sourceRoot":"","sources":["../src/resources/payouts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAsB,EAAE,OAA6B;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAtBD,0BAsBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
export class Payouts extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Create a Customer Payout to a customer's bank account for withdrawals or similar
|
|
6
|
+
* purposes.
|
|
7
|
+
*/
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return this._client.post('/api/service/payout/create', { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve a Customer Payout by id
|
|
13
|
+
*/
|
|
14
|
+
retrieve(body, options) {
|
|
15
|
+
return this._client.post('/api/service/payout/retrieve', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* List all Customer Payouts made by this merchant account.
|
|
19
|
+
*/
|
|
20
|
+
list(body, options) {
|
|
21
|
+
return this._client.post('/api/service/payout/list', { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=payouts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payouts.mjs","sourceRoot":"","sources":["../src/resources/payouts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAsB,EAAE,OAA6B;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import * as RefundsAPI from "./refunds.js";
|
|
4
|
+
export declare class Refunds extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Initiates a refund for the specified order. The order can be specified either by
|
|
7
|
+
* Ivy\'s internal `orderId` or by the `referenceId` provided by the merchant
|
|
8
|
+
* during checkout creation. If the refund should only be partial, you can specifiy
|
|
9
|
+
* this with the `amount` parameter.
|
|
10
|
+
*/
|
|
11
|
+
create(body: RefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<RefundResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Initiates a batch refund for all provided orders. The orders can be specified
|
|
14
|
+
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
15
|
+
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
16
|
+
* can be set with the "amount" parameter. Additional information regarding the
|
|
17
|
+
* refund can be provided through the "description" parameter.
|
|
18
|
+
*/
|
|
19
|
+
batch(body: RefundBatchParams, options?: Core.RequestOptions): Core.APIPromise<RefundBatchResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface RefundResponse {
|
|
22
|
+
/**
|
|
23
|
+
* The internal Ivy id of the order.
|
|
24
|
+
*/
|
|
25
|
+
orderId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The order status. This status symbolises the state of the user's payment
|
|
28
|
+
* attempt. See [the guide](https://docs.getivy.de/docs/payment-status) for more
|
|
29
|
+
* information.
|
|
30
|
+
*/
|
|
31
|
+
orderStatus: 'failed' | 'canceled' | 'processing' | 'waiting_for_payment' | 'paid' | 'in_refund' | 'refunded' | 'refund_failed' | 'partially_refunded' | 'in_dispute' | 'disputed' | 'refused';
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier for the newly created refund. You can use this id to
|
|
34
|
+
* retrieve the refund from the order object.
|
|
35
|
+
*/
|
|
36
|
+
referenceId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The status of the refund. Always use the status of the order as your source of
|
|
39
|
+
* truth to trigger actions in your dashboard.
|
|
40
|
+
*/
|
|
41
|
+
refundStatus: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
|
|
42
|
+
}
|
|
43
|
+
export interface RefundBatchResponse {
|
|
44
|
+
/**
|
|
45
|
+
* An array of refund responses.
|
|
46
|
+
*/
|
|
47
|
+
requestedRefunds: Array<RefundBatchResponse.RequestedRefund>;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace RefundBatchResponse {
|
|
50
|
+
interface RequestedRefund extends RefundsAPI.RefundResponse {
|
|
51
|
+
/**
|
|
52
|
+
* The Ivy id of the corresponding order.
|
|
53
|
+
*/
|
|
54
|
+
orderId: string;
|
|
55
|
+
/**
|
|
56
|
+
* The error message why the refund failed.
|
|
57
|
+
*/
|
|
58
|
+
error?: string;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export interface RefundCreateParams {
|
|
62
|
+
/**
|
|
63
|
+
* The amount to refund in decimals, e.g. 10.23 for EUR 10.23. If not specified,
|
|
64
|
+
* the full order amount will be refunded.
|
|
65
|
+
*/
|
|
66
|
+
amount?: number;
|
|
67
|
+
/**
|
|
68
|
+
* A description for the refund. This will be retrievable in the API and in the Ivy
|
|
69
|
+
* dashboard.
|
|
70
|
+
*/
|
|
71
|
+
description?: string;
|
|
72
|
+
/**
|
|
73
|
+
* An optional custom text that will be shown on the customer's payment reference.
|
|
74
|
+
* Input has to be maximum 16 alpha-numeric characters. If not provided, a default
|
|
75
|
+
* Ivy refund referenceId will be shown.
|
|
76
|
+
*/
|
|
77
|
+
displayedPaymentReference?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The email of the customer. If provided, Ivy may use this email to contact the
|
|
80
|
+
* customer directly in case of issues or need for clarification regarding the
|
|
81
|
+
* refund. If not provided, Ivy will contact the merchant in such cases. However,
|
|
82
|
+
* this is a rare occurrence.
|
|
83
|
+
*/
|
|
84
|
+
email?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The internal Ivy id of the order.
|
|
87
|
+
*/
|
|
88
|
+
orderId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The external id set by the merchant during checkout creation.
|
|
91
|
+
*/
|
|
92
|
+
referenceId?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface RefundBatchParams {
|
|
95
|
+
/**
|
|
96
|
+
* An array of refunds to be triggered.
|
|
97
|
+
*/
|
|
98
|
+
requestedRefunds: Array<RefundBatchParams.RequestedRefund>;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace RefundBatchParams {
|
|
101
|
+
interface RequestedRefund {
|
|
102
|
+
/**
|
|
103
|
+
* The amount to refund in decimals, e.g. 10.23 for EUR 10.23. If not specified,
|
|
104
|
+
* the full order amount will be refunded.
|
|
105
|
+
*/
|
|
106
|
+
amount?: number;
|
|
107
|
+
/**
|
|
108
|
+
* A description for the refund. This will be retrievable in the API and in the Ivy
|
|
109
|
+
* dashboard.
|
|
110
|
+
*/
|
|
111
|
+
description?: string;
|
|
112
|
+
/**
|
|
113
|
+
* An optional custom text that will be shown on the customer's payment reference.
|
|
114
|
+
* Input has to be maximum 16 alpha-numeric characters. If not provided, a default
|
|
115
|
+
* Ivy refund referenceId will be shown.
|
|
116
|
+
*/
|
|
117
|
+
displayedPaymentReference?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The email of the customer. If provided, Ivy may use this email to contact the
|
|
120
|
+
* customer directly in case of issues or need for clarification regarding the
|
|
121
|
+
* refund. If not provided, Ivy will contact the merchant in such cases. However,
|
|
122
|
+
* this is a rare occurrence.
|
|
123
|
+
*/
|
|
124
|
+
email?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The internal Ivy id of the order.
|
|
127
|
+
*/
|
|
128
|
+
orderId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The external id set by the merchant during checkout creation.
|
|
131
|
+
*/
|
|
132
|
+
referenceId?: string;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
export declare namespace Refunds {
|
|
136
|
+
export { type RefundResponse as RefundResponse, type RefundBatchResponse as RefundBatchResponse, type RefundCreateParams as RefundCreateParams, type RefundBatchParams as RefundBatchParams, };
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=refunds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refunds.d.ts","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AAExC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC;IAIhG;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAGpG;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,WAAW,EACP,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,qBAAqB,GACrB,MAAM,GACN,WAAW,GACX,UAAU,GACV,eAAe,GACf,oBAAoB,GACpB,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IAEd;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,YAAY,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;CAC7F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,gBAAgB,EAAE,KAAK,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;CAC9D;AAED,yBAAiB,mBAAmB,CAAC;IACnC,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ec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Refunds = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
class Refunds extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Initiates a refund for the specified order. The order can be specified either by
|
|
9
|
+
* Ivy\'s internal `orderId` or by the `referenceId` provided by the merchant
|
|
10
|
+
* during checkout creation. If the refund should only be partial, you can specifiy
|
|
11
|
+
* this with the `amount` parameter.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/api/service/merchant/payment/refund', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Initiates a batch refund for all provided orders. The orders can be specified
|
|
18
|
+
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
19
|
+
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
20
|
+
* can be set with the "amount" parameter. Additional information regarding the
|
|
21
|
+
* refund can be provided through the "description" parameter.
|
|
22
|
+
*/
|
|
23
|
+
batch(body, options) {
|
|
24
|
+
return this._client.post('/api/service/merchant/payment/refund/batch', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.Refunds = Refunds;
|
|
28
|
+
//# sourceMappingURL=refunds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refunds.js","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAI1C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAuB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AArBD,0BAqBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
export class Refunds extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Initiates a refund for the specified order. The order can be specified either by
|
|
6
|
+
* Ivy\'s internal `orderId` or by the `referenceId` provided by the merchant
|
|
7
|
+
* during checkout creation. If the refund should only be partial, you can specifiy
|
|
8
|
+
* this with the `amount` parameter.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/api/service/merchant/payment/refund', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Initiates a batch refund for all provided orders. The orders can be specified
|
|
15
|
+
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
16
|
+
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
17
|
+
* can be set with the "amount" parameter. Additional information regarding the
|
|
18
|
+
* refund can be provided through the "description" parameter.
|
|
19
|
+
*/
|
|
20
|
+
batch(body, options) {
|
|
21
|
+
return this._client.post('/api/service/merchant/payment/refund/batch', { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=refunds.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refunds.mjs","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAuB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
|