Merge pull request #722 from Adyen/PW-5177/update_modifications_api

Pw 5177/update modifications api
This commit is contained in:
Wouter Boereboom
2021-08-02 16:44:24 +02:00
committed by GitHub
171 changed files with 5094 additions and 4333 deletions

19
package-lock.json generated
View File

@@ -2,7 +2,6 @@
"name": "@adyen/api-library",
"version": "8.2.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.10.4",
@@ -6920,6 +6919,15 @@
"integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=",
"dev": true
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dev": true,
"requires": {
"safe-buffer": "~5.2.0"
}
},
"string-length": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-3.1.0.tgz",
@@ -6952,15 +6960,6 @@
}
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dev": true,
"requires": {
"safe-buffer": "~5.2.0"
}
},
"strip-ansi": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -31,6 +31,7 @@ import Checkout from "../services/checkout";
import HttpClientException from "../httpClient/httpClientException";
import {
Amount,
CardDetails,
CheckoutBalanceCheckRequest,
CheckoutBalanceCheckResponse,
CheckoutCancelOrderResponse,
@@ -70,7 +71,7 @@ function createPaymentsDetailsRequest(): DetailsRequest {
export function createPaymentsCheckoutRequest(): PaymentRequest {
const paymentMethodDetails = {
type: "scheme",
type: CardDetails.TypeEnum.Scheme,
encryptedCardNumber: "test_4111111111111111",
encryptedExpiryMonth: "test_03",
encryptedExpiryYear: "test_2030",

View File

@@ -12,20 +12,26 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
import nock from "nock";
import { createClient } from "../__mocks__/base";
import {createClient} from "../__mocks__/base";
import Modification from "../services/modification";
import Client from "../client";
const modificationResult: IPayouts.ModifyResponse = {
pspReference: "1234567890987654",
response: "[refund-received]"
};
import {
CreatePaymentAmountUpdateRequest,
CreatePaymentCancelRequest,
CreatePaymentCaptureRequest,
CreatePaymentRefundRequest, CreatePaymentReversalRequest,
CreateStandalonePaymentCancelRequest,
PaymentAmountUpdateResource,
PaymentCancelResource,
PaymentCaptureResource, PaymentRefundResource, PaymentReversalResource,
StandalonePaymentCancelResource
} from "../typings/checkout/models";
const invalidModificationResult = {
"status": 422,
@@ -34,45 +40,138 @@ const invalidModificationResult = {
"errorType": "validation"
};
const createModificationRequest = (): IPayments.ModificationRequest => {
const createAmountUpdateRequest = (): CreatePaymentAmountUpdateRequest => {
return {
reference: "863620292981235A",
merchantAccount: process.env.ADYEN_MERCHANT!,
amount: {
currency: "EUR",
value: 420
},
reason: CreatePaymentAmountUpdateRequest.ReasonEnum.DelayedCharge
};
};
const createAmountUpdateResponse = (): PaymentAmountUpdateResource => {
return {
paymentPspReference: "863620292981235A",
pspReference: "863620292981235B",
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
amount: {
currency: "EUR",
value: 420,
},
reason: CreatePaymentAmountUpdateRequest.ReasonEnum.DelayedCharge,
status: PaymentAmountUpdateResource.StatusEnum.Received,
};
};
const createCancelsRequest = (): CreatePaymentCancelRequest => {
return {
reference: "863620292981235B",
merchantAccount: process.env.ADYEN_MERCHANT!,
};
};
const createCancelsResponse = (): PaymentCancelResource => {
return {
merchantAccount: process.env.ADYEN_MERCHANT!,
originalReference: "863620292981235A",
modificationAmount: {
value: 500 ,
currency: "EUR"
pspReference: "863620292981235B",
paymentPspReference: "863620292981235A",
status: PaymentCancelResource.StatusEnum.Received,
};
};
const createStandaloneCancelsRequest = (): CreateStandalonePaymentCancelRequest => {
return {
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
paymentReference: "863620292981235B",
};
};
const createStandaloneCancelsResponse = (): StandalonePaymentCancelResource => {
return {
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
paymentReference: "863620292981235B",
pspReference: "863620292981235A",
status: StandalonePaymentCancelResource.StatusEnum.Received,
};
};
const createCapturesRequest = (): CreatePaymentCaptureRequest => {
return {
merchantAccount: process.env.ADYEN_MERCHANT!,
amount: {
currency: "EUR",
value: 420,
}
};
};
const createInvalidModificationRequest = (): IPayments.ModificationRequest => {
function createCapturesResponse(): PaymentCaptureResource {
return {
paymentPspReference: "863620292981235A",
pspReference: "863620292981235B",
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
amount: {
currency: "EUR",
value: 420,
},
status: PaymentCaptureResource.StatusEnum.Received,
};
}
const createRefundsRequest = (): CreatePaymentRefundRequest => {
return {
merchantAccount: process.env.ADYEN_MERCHANT!,
originalReference: "invalidPspReference",
modificationAmount: {
value: 500 ,
currency: "EUR"
amount: {
currency: "EUR",
value: 420,
}
};
};
const createCancelRequest = (): IPayments.ModificationRequest => {
const createRefundsResponse = (): PaymentRefundResource => {
return {
paymentPspReference: "863620292981235A",
pspReference: "863620292981235B",
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
originalReference: "862615382016087C"
amount: {
currency: "EUR",
value: 420,
},
status: PaymentRefundResource.StatusEnum.Received,
};
};
const createInvalidCancelRequest = (): IPayments.ModificationRequest => {
const createReversalsRequest = (): CreatePaymentReversalRequest => {
return {
merchantAccount: process.env.ADYEN_MERCHANT!,
originalReference: "invalidPspReference"
merchantAccount: process.env.ADYEN_MERCHANT!
};
};
const createReversalsResponse = (): PaymentReversalResource => {
return {
paymentPspReference: "863620292981235A",
pspReference: "863620292981235B",
reference: "reference",
merchantAccount: process.env.ADYEN_MERCHANT!,
status: PaymentRefundResource.StatusEnum.Received,
};
};
let client: Client;
let modification: Modification;
let scope: nock.Scope;
const paymentPspReference = "863620292981235A";
const invalidPaymentPspReference = "invalid_psp_reference";
const isCI = process.env.CI === "true" || (typeof process.env.CI === "boolean" && process.env.CI);
beforeEach((): void => {
if (!nock.isActive()) {
@@ -80,7 +179,7 @@ beforeEach((): void => {
}
client = createClient();
modification = new Modification(client);
scope = nock(`${client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}`);
scope = nock(`${client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}`);
});
afterEach(() => {
@@ -88,174 +187,149 @@ afterEach(() => {
});
describe("Modification", (): void => {
test.each([false, true])("should perform a refund, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform an amount update request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/refund")
.reply(200, modificationResult);
const request = createModificationRequest();
const request = createAmountUpdateRequest();
scope.post(`/payments/${paymentPspReference}/amountUpdates`)
.reply(200, createAmountUpdateResponse());
try {
const result = await modification.refund(request);
const result = await modification.amountUpdates(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a refund, isMock: %p", async (isMock): Promise<void> => {
test.each([false, true])("should fail to perform an amount update request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/refund")
const request = createAmountUpdateRequest();
scope.post(`/payments/${invalidPaymentPspReference}/amountUpdates`)
.reply(422, invalidModificationResult);
const request = createInvalidModificationRequest();
try {
await modification.refund(request);
await modification.amountUpdates(invalidPaymentPspReference, request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
test.each([false, true])("should perform a capture, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform a cancels request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/capture")
.reply(200, modificationResult);
const request = createModificationRequest();
const request = createCancelsRequest();
scope.post(`/payments/${paymentPspReference}/cancels`)
.reply(200, createCancelsResponse());
try {
const result = await modification.capture(request);
const result = await modification.cancels(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a capture, isMock: %p", async (isMock): Promise<void> => {
test.each([false, true])("should fail to perform a cancels request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/capture")
const request = createCancelsRequest();
scope.post(`/payments/${invalidPaymentPspReference}/cancels`)
.reply(422, invalidModificationResult);
const request = createInvalidModificationRequest();
try {
await modification.capture(request);
await modification.cancels(invalidPaymentPspReference, request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
test.each([false, true])("should perform a cancelOrRefund, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform a standalone cancels request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/cancelOrRefund")
.reply(200, modificationResult);
const request = createCancelRequest();
const request = createStandaloneCancelsRequest();
scope.post("/cancels")
.reply(200, createStandaloneCancelsResponse());
try {
const result = await modification.cancelOrRefund(request);
const result = await modification.cancelsStandalone(request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a cancelOrRefund, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform a captures request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
const request = createCapturesRequest();
scope.post(`/payments/${paymentPspReference}/captures`)
.reply(200, createCapturesResponse());
try {
const result = await modification.captures(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a captures request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/cancelOrRefund")
const request = createCapturesRequest();
scope.post(`/payments/${invalidPaymentPspReference}/captures`)
.reply(422, invalidModificationResult);
const request = createInvalidCancelRequest();
try {
await modification.cancelOrRefund(request);
await modification.captures(invalidPaymentPspReference, request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
test.each([false, true])("should perform a cancel, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform a refunds request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/cancel")
.reply(200, modificationResult);
const request = createCancelRequest();
const request = createRefundsRequest();
scope.post(`/payments/${paymentPspReference}/refunds`)
.reply(200, createRefundsResponse());
try {
const result = await modification.cancel(request);
const result = await modification.refunds(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a cancel, isMock: %p", async (isMock): Promise<void> => {
test.each([false, true])("should fail to perform a refunds request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/cancel")
const request = createRefundsRequest();
scope.post(`/payments/${invalidPaymentPspReference}/refunds`)
.reply(422, invalidModificationResult);
const request = createInvalidCancelRequest();
try {
await modification.cancel(request);
await modification.refunds(invalidPaymentPspReference, request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
test.each([false, true])("should perform a technicalCancel, isMock: %p", async (isMock): Promise<void> => {
test.each([isCI, true])("should perform a reversals request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/technicalCancel")
.reply(200, modificationResult);
const request = createCancelRequest();
const request = createReversalsRequest();
scope.post(`/payments/${paymentPspReference}/reversals`)
.reply(200, createReversalsResponse());
try {
const result = await modification.technicalCancel(request);
const result = await modification.reversals(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a technicalCancel, isMock: %p", async (isMock): Promise<void> => {
test.each([false, true])("should fail to perform a reversals request, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/technicalCancel")
const request = createReversalsRequest();
scope.post(`/payments/${invalidPaymentPspReference}/reversals`)
.reply(422, invalidModificationResult);
const request = createInvalidCancelRequest();
try {
await modification.technicalCancel(request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
test.each([false, true])("should perform a adjustAuthorisation, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
scope.post("/adjustAuthorisation")
.reply(200, modificationResult);
const request = createModificationRequest();
try {
const result = await modification.adjustAuthorisation(request);
expect(result).toBeTruthy();
} catch (e) {
fail(e.message);
}
});
test.each([false, true])("should fail to perform a adjustAuthorisation, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
expect.assertions(2);
scope.post("/adjustAuthorisation")
.reply(422, invalidModificationResult);
const request = createInvalidModificationRequest();
try {
await modification.adjustAuthorisation(request);
await modification.reversals(invalidPaymentPspReference, request);
} catch (e) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");

View File

@@ -12,107 +12,115 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
import Client from "../client";
import getJsonResponse from "../helpers/getJsonResponse";
import Service from "../service";
import AdjustAuthorisation from "./resource/modification/adjustAuthorisation";
import Cancel from "./resource/modification/cancel";
import CancelOrRefund from "./resource/modification/cancelOrRefund";
import Capture from "./resource/modification/capture";
import Refund from "./resource/modification/refund";
import TechnicalCancel from "./resource/modification/technicalCancel";
import setApplicationInfo from "../helpers/setApplicationInfo";
import { ApplicationInfo } from "../typings/applicationInfo";
import { IRequest } from "../typings/requestOptions";
import AmountUpdates from "./resource/modification/amountUpdates";
import Cancels from "./resource/modification/cancels";
import Captures from "./resource/modification/captures";
import Refunds from "./resource/modification/refunds";
import Reversals from "./resource/modification/reversals";
import CancelsStandalone from "./resource/modification/cancelsStandalone";
import {
CreatePaymentAmountUpdateRequest,
CreatePaymentCancelRequest,
CreatePaymentCaptureRequest,
CreatePaymentRefundRequest, CreatePaymentReversalRequest,
CreateStandalonePaymentCancelRequest,
PaymentAmountUpdateResource,
PaymentCancelResource,
PaymentCaptureResource, PaymentRefundResource, PaymentReversalResource,
StandalonePaymentCancelResource
} from "../typings/checkout/models";
interface AppInfo { applicationInfo?: ApplicationInfo }
type GenericRequest<T> = T & AppInfo;
class Modification extends Service {
private readonly _cancelOrRefund: CancelOrRefund;
private readonly _cancel: Cancel;
private readonly _capture: Capture;
private readonly _refund: Refund;
private readonly _adjustAuthorisation: AdjustAuthorisation;
private readonly _technicalCancel: TechnicalCancel;
public constructor(client: Client) {
super(client);
this._capture = new Capture(this);
this._cancelOrRefund = new CancelOrRefund(this);
this._cancel = new Cancel(this);
this._refund = new Refund(this);
this._adjustAuthorisation = new AdjustAuthorisation(this);
this._technicalCancel = new TechnicalCancel(this);
}
public capture(
captureRequest: GenericRequest<IPayments.ModificationRequest>,
public amountUpdates(
paymentPspReference: string,
amountUpdatesRequest: GenericRequest<CreatePaymentAmountUpdateRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._capture,
setApplicationInfo(captureRequest),
requestOptions,
): Promise<PaymentAmountUpdateResource> {
const amountUpdates = new AmountUpdates(this, paymentPspReference);
return getJsonResponse<CreatePaymentAmountUpdateRequest, PaymentAmountUpdateResource>(
amountUpdates,
amountUpdatesRequest,
requestOptions
);
}
public cancelOrRefund(
cancelOrRefundRequest: GenericRequest<IPayments.ModificationRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._cancelOrRefund,
setApplicationInfo(cancelOrRefundRequest),
requestOptions,
public cancelsStandalone(
cancelsStandaloneRequest: GenericRequest<CreateStandalonePaymentCancelRequest>,
requestOptions?: IRequest.Options
): Promise<StandalonePaymentCancelResource> {
const cancelsStandalone = new CancelsStandalone(this);
return getJsonResponse<CreateStandalonePaymentCancelRequest, StandalonePaymentCancelResource>(
cancelsStandalone,
cancelsStandaloneRequest,
requestOptions
);
}
public refund(
refundRequest: GenericRequest<IPayments.ModificationRequest>,
public cancels(
paymentPspReference: string,
cancelsRequest: GenericRequest<CreatePaymentCancelRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._refund,
setApplicationInfo(refundRequest),
requestOptions,
): Promise<PaymentCancelResource> {
const cancels = new Cancels(this, paymentPspReference);
return getJsonResponse<CreatePaymentCancelRequest, PaymentCancelResource>(
cancels,
cancelsRequest,
requestOptions
);
}
public cancel(
cancelRequest: GenericRequest<IPayments.ModificationRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._cancel,
setApplicationInfo(cancelRequest),
requestOptions,
public captures(
paymentPspReference: string,
capturesRequest: GenericRequest<CreatePaymentCaptureRequest>,
requestOptions?: IRequest.Options
): Promise<PaymentCaptureResource> {
const captures = new Captures(this, paymentPspReference);
return getJsonResponse<CreatePaymentCaptureRequest, PaymentCaptureResource>(
captures,
capturesRequest,
requestOptions
);
}
public technicalCancel(
technicalCancelRequest: GenericRequest<IPayments.ModificationRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._technicalCancel,
setApplicationInfo(technicalCancelRequest),
requestOptions,
public refunds(
paymentPspReference: string,
refundsRequest: GenericRequest<CreatePaymentRefundRequest>,
requestOptions?: IRequest.Options
): Promise<PaymentRefundResource> {
const refunds = new Refunds(this, paymentPspReference);
return getJsonResponse<CreatePaymentRefundRequest, PaymentRefundResource>(
refunds,
refundsRequest,
requestOptions
);
}
public adjustAuthorisation(
adjustAuthorisationRequest: GenericRequest<IPayments.ModificationRequest>,
requestOptions?: IRequest.Options,
): Promise<IPayments.ModificationResult> {
return getJsonResponse<IPayments.ModificationRequest, IPayments.ModificationResult>(
this._adjustAuthorisation,
setApplicationInfo(adjustAuthorisationRequest),
requestOptions,
public reversals(
paymentPspReference: string,
reversalsRequest: GenericRequest<CreatePaymentReversalRequest>,
requestOptions?: IRequest.Options
): Promise<PaymentReversalResource> {
const refunds = new Reversals(this, paymentPspReference);
return getJsonResponse<CreatePaymentReversalRequest, PaymentReversalResource>(
refunds,
reversalsRequest,
requestOptions
);
}
}

View File

@@ -0,0 +1,32 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class AmountUpdates extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/amountUpdates`,
);
}
}
export default AmountUpdates;

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -20,13 +20,13 @@ import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class AdjustAuthorisation extends Resource {
public constructor(service: Service) {
class Cancels extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/adjustAuthorisation`,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/cancels`
);
}
}
export default AdjustAuthorisation;
export default Cancels;

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -20,13 +20,13 @@ import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class Refund extends Resource {
class CancelsStandalone extends Resource {
public constructor(service: Service) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/refund`,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/cancels`
);
}
}
export default Refund;
export default CancelsStandalone;

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -20,13 +20,13 @@ import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class CancelOrRefund extends Resource {
public constructor(service: Service) {
class Captures extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/cancelOrRefund`,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/captures`,
);
}
}
export default CancelOrRefund;
export default Captures;

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -20,13 +20,13 @@ import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class Cancel extends Resource {
public constructor(service: Service) {
class Refunds extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/cancel`,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/refunds`,
);
}
}
export default Cancel;
export default Refunds;

View File

@@ -12,7 +12,7 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
@@ -20,13 +20,13 @@ import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class Capture extends Resource {
public constructor(service: Service) {
class Reversals extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/capture`,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/reversals`,
);
}
}
export default Capture;
export default Reversals;

View File

@@ -1,32 +0,0 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
import Resource from "../../resource";
import Client from "../../../client";
import Service from "../../../service";
class TechnicalCancel extends Resource {
public constructor(service: Service) {
super(
service,
`${service.client.config.endpoint}/pal/servlet/Payment/${Client.API_VERSION}/technicalCancel`,
);
}
}
export default TechnicalCancel;

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,256 +33,256 @@ export class AdditionalDataAirline {
/**
* Reference number for the invoice, issued by the agency. * minLength: 1 * maxLength: 6
*/
'airlineAgencyInvoiceNumber'?: string;
'airline_agency_invoice_number'?: string;
/**
* 2-letter agency plan identifier; alphabetical. * minLength: 2 * maxLength: 2
*/
'airlineAgencyPlanName'?: string;
'airline_agency_plan_name'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX); numeric. It identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 * maxLength: 3
*/
'airlineAirlineCode'?: string;
'airline_airline_code'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2
*/
'airlineAirlineDesignatorCode'?: string;
'airline_airline_designator_code'?: string;
/**
* Chargeable amount for boarding the plane. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 18
*/
'airlineBoardingFee'?: string;
'airline_boarding_fee'?: string;
/**
* The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Format: alphanumeric. * minLength: 4 * maxLength: 4
*/
'airlineComputerizedReservationSystem'?: string;
'airline_computerized_reservation_system'?: string;
/**
* Reference number; alphanumeric. * minLength: 0 * maxLength: 20
*/
'airlineCustomerReferenceNumber'?: string;
'airline_customer_reference_number'?: string;
/**
* Optional 2-digit code; alphanumeric. It identifies the type of product of the transaction. The description of the code may appear on credit card statements. * Format: 2-digit code * Example: Passenger ticket = 01 * minLength: 2 * maxLength: 2
*/
'airlineDocumentType'?: string;
'airline_document_type'?: string;
/**
* Flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 * maxLength: 16
*/
'airlineFlightDate'?: string;
'airline_flight_date'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. This field is required/mandatory if the airline data includes leg details. * Format: IATA 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2
*/
'airlineLegCarrierCode'?: string;
'airline_leg_carrier_code'?: string;
/**
* 1-letter travel class identifier; alphabetical. There is no standard; however, the following codes are used rather consistently: * F: first class * J: business class * Y: economy class * W: premium economy Limitations: * minLength: 1 * maxLength: 1
*/
'airlineLegClassOfTravel'?: string;
'airline_leg_class_of_travel'?: string;
/**
* Date and time of travel. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-compliant. * Format: `yyyy-MM-dd HH:mm` * minLength: 16 * maxLength: 16
*/
'airlineLegDateOfTravel'?: string;
'airline_leg_date_of_travel'?: string;
/**
* Alphabetical identifier of the departure airport. This field is required if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3
*/
'airlineLegDepartAirport'?: string;
'airline_leg_depart_airport'?: string;
/**
* [Departure tax](https://en.wikipedia.org/wiki/Departure_tax). Amount charged by a country to an individual upon their leaving. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 12
*/
'airlineLegDepartTax'?: string;
'airline_leg_depart_tax'?: string;
/**
* Alphabetical identifier of the destination/arrival airport. This field is required/mandatory if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3
*/
'airlineLegDestinationCode'?: string;
'airline_leg_destination_code'?: string;
/**
* [Fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code); alphanumeric. * minLength: 1 * maxLength: 7
*/
'airlineLegFareBaseCode'?: string;
'airline_leg_fare_base_code'?: string;
/**
* The flight identifier. * minLength: 1 * maxLength: 5
*/
'airlineLegFlightNumber'?: string;
'airline_leg_flight_number'?: string;
/**
* 1-letter code that indicates whether the passenger is entitled to make a stopover. Only two types of characters are allowed: * O: Stopover allowed * X: Stopover not allowed Limitations: * minLength: 1 * maxLength: 1
*/
'airlineLegStopOverCode'?: string;
'airline_leg_stop_over_code'?: string;
/**
* Date of birth of the passenger. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10
*/
'airlinePassengerDateOfBirth'?: string;
'airline_passenger_date_of_birth'?: string;
/**
* Passenger first name/given name. > This field is required/mandatory if the airline data includes passenger details or leg details.
*/
'airlinePassengerFirstName'?: string;
'airline_passenger_first_name'?: string;
/**
* Passenger last name/family name. > This field is required/mandatory if the airline data includes passenger details or leg details.
*/
'airlinePassengerLastName'?: string;
'airline_passenger_last_name'?: string;
/**
* Telephone number of the passenger, including country code. This is an alphanumeric field that can include the \'+\' and \'-\' signs. * minLength: 3 * maxLength: 30
*/
'airlinePassengerTelephoneNumber'?: string;
'airline_passenger_telephone_number'?: string;
/**
* Passenger type code (PTC). IATA PTC values are 3-letter alphabetical. Example: ADT, SRC, CNN, INS. However, several carriers use non-standard codes that can be up to 5 alphanumeric characters. * minLength: 3 * maxLength: 6
*/
'airlinePassengerTravellerType'?: string;
'airline_passenger_traveller_type'?: string;
/**
* Passenger name, initials, and a title. * Format: last name + first name or initials + title. * Example: *FLYER / MARY MS*. * minLength: 1 * maxLength: 49
*/
'airlinePassengerName': string;
'airline_passenger_name': string;
/**
* Address of the place/agency that issued the ticket. * minLength: 0 * maxLength: 16
*/
'airlineTicketIssueAddress'?: string;
'airline_ticket_issue_address'?: string;
/**
* The ticket\'s unique identifier. * minLength: 1 * maxLength: 150
*/
'airlineTicketNumber'?: string;
'airline_ticket_number'?: string;
/**
* IATA number, also ARC number or ARC/IATA number. Unique identifier number for travel agencies. * minLength: 1 * maxLength: 8
*/
'airlineTravelAgencyCode'?: string;
'airline_travel_agency_code'?: string;
/**
* The name of the travel agency. * minLength: 1 * maxLength: 25
*/
'airlineTravelAgencyName'?: string;
'airline_travel_agency_name'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "airlineAgencyInvoiceNumber",
"name": "airline_agency_invoice_number",
"baseName": "airline.agency_invoice_number",
"type": "string"
},
{
"name": "airlineAgencyPlanName",
"name": "airline_agency_plan_name",
"baseName": "airline.agency_plan_name",
"type": "string"
},
{
"name": "airlineAirlineCode",
"name": "airline_airline_code",
"baseName": "airline.airline_code",
"type": "string"
},
{
"name": "airlineAirlineDesignatorCode",
"name": "airline_airline_designator_code",
"baseName": "airline.airline_designator_code",
"type": "string"
},
{
"name": "airlineBoardingFee",
"name": "airline_boarding_fee",
"baseName": "airline.boarding_fee",
"type": "string"
},
{
"name": "airlineComputerizedReservationSystem",
"name": "airline_computerized_reservation_system",
"baseName": "airline.computerized_reservation_system",
"type": "string"
},
{
"name": "airlineCustomerReferenceNumber",
"name": "airline_customer_reference_number",
"baseName": "airline.customer_reference_number",
"type": "string"
},
{
"name": "airlineDocumentType",
"name": "airline_document_type",
"baseName": "airline.document_type",
"type": "string"
},
{
"name": "airlineFlightDate",
"name": "airline_flight_date",
"baseName": "airline.flight_date",
"type": "string"
},
{
"name": "airlineLegCarrierCode",
"name": "airline_leg_carrier_code",
"baseName": "airline.leg.carrier_code",
"type": "string"
},
{
"name": "airlineLegClassOfTravel",
"name": "airline_leg_class_of_travel",
"baseName": "airline.leg.class_of_travel",
"type": "string"
},
{
"name": "airlineLegDateOfTravel",
"name": "airline_leg_date_of_travel",
"baseName": "airline.leg.date_of_travel",
"type": "string"
},
{
"name": "airlineLegDepartAirport",
"name": "airline_leg_depart_airport",
"baseName": "airline.leg.depart_airport",
"type": "string"
},
{
"name": "airlineLegDepartTax",
"name": "airline_leg_depart_tax",
"baseName": "airline.leg.depart_tax",
"type": "string"
},
{
"name": "airlineLegDestinationCode",
"name": "airline_leg_destination_code",
"baseName": "airline.leg.destination_code",
"type": "string"
},
{
"name": "airlineLegFareBaseCode",
"name": "airline_leg_fare_base_code",
"baseName": "airline.leg.fare_base_code",
"type": "string"
},
{
"name": "airlineLegFlightNumber",
"name": "airline_leg_flight_number",
"baseName": "airline.leg.flight_number",
"type": "string"
},
{
"name": "airlineLegStopOverCode",
"name": "airline_leg_stop_over_code",
"baseName": "airline.leg.stop_over_code",
"type": "string"
},
{
"name": "airlinePassengerDateOfBirth",
"name": "airline_passenger_date_of_birth",
"baseName": "airline.passenger.date_of_birth",
"type": "string"
},
{
"name": "airlinePassengerFirstName",
"name": "airline_passenger_first_name",
"baseName": "airline.passenger.first_name",
"type": "string"
},
{
"name": "airlinePassengerLastName",
"name": "airline_passenger_last_name",
"baseName": "airline.passenger.last_name",
"type": "string"
},
{
"name": "airlinePassengerTelephoneNumber",
"name": "airline_passenger_telephone_number",
"baseName": "airline.passenger.telephone_number",
"type": "string"
},
{
"name": "airlinePassengerTravellerType",
"name": "airline_passenger_traveller_type",
"baseName": "airline.passenger.traveller_type",
"type": "string"
},
{
"name": "airlinePassengerName",
"name": "airline_passenger_name",
"baseName": "airline.passenger_name",
"type": "string"
},
{
"name": "airlineTicketIssueAddress",
"name": "airline_ticket_issue_address",
"baseName": "airline.ticket_issue_address",
"type": "string"
},
{
"name": "airlineTicketNumber",
"name": "airline_ticket_number",
"baseName": "airline.ticket_number",
"type": "string"
},
{
"name": "airlineTravelAgencyCode",
"name": "airline_travel_agency_code",
"baseName": "airline.travel_agency_code",
"type": "string"
},
{
"name": "airlineTravelAgencyName",
"name": "airline_travel_agency_name",
"baseName": "airline.travel_agency_name",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,211 +33,211 @@ export class AdditionalDataCarRental {
/**
* Pick-up date. * Date format: `yyyyMMdd`
*/
'carRentalCheckOutDate'?: string;
'carRental_checkOutDate'?: string;
/**
* The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17
*/
'carRentalCustomerServiceTollFreeNumber'?: string;
'carRental_customerServiceTollFreeNumber'?: string;
/**
* Number of days for which the car is being rented. * Format: Numeric * maxLength: 19
*/
'carRentalDaysRented'?: string;
'carRental_daysRented'?: string;
/**
* Any fuel charges associated with the rental. * Format: Numeric * maxLength: 12
*/
'carRentalFuelCharges'?: string;
'carRental_fuelCharges'?: string;
/**
* Any insurance charges associated with the rental. * Format: Numeric * maxLength: 12
*/
'carRentalInsuranceCharges'?: string;
'carRental_insuranceCharges'?: string;
/**
* The city from which the car is rented. * Format: Alphanumeric * maxLength: 18
*/
'carRentalLocationCity'?: string;
'carRental_locationCity'?: string;
/**
* The country from which the car is rented. * Format: Alphanumeric * maxLength: 2
*/
'carRentalLocationCountry'?: string;
'carRental_locationCountry'?: string;
/**
* The state or province from where the car is rented. * Format: Alphanumeric * maxLength: 3
*/
'carRentalLocationStateProvince'?: string;
'carRental_locationStateProvince'?: string;
/**
* Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). * Y - Customer was a no show. * N - Not applicable.
*/
'carRentalNoShowIndicator'?: string;
'carRental_noShowIndicator'?: string;
/**
* Charge associated with not returning a vehicle to the original rental location.
*/
'carRentalOneWayDropOffCharges'?: string;
'carRental_oneWayDropOffCharges'?: string;
/**
* Daily rental rate. * Format: Alphanumeric * maxLength: 12
*/
'carRentalRate'?: string;
'carRental_rate'?: string;
/**
* Specifies whether the given rate is applied daily or weekly. * D - Daily rate. * W - Weekly rate.
*/
'carRentalRateIndicator'?: string;
'carRental_rateIndicator'?: string;
/**
* The rental agreement number associated with this car rental. * Format: Alphanumeric * maxLength: 9
*/
'carRentalRentalAgreementNumber'?: string;
'carRental_rentalAgreementNumber'?: string;
/**
* Daily rental rate. * Format: Alphanumeric * maxLength: 12
*/
'carRentalRentalClassId'?: string;
'carRental_rentalClassId'?: string;
/**
* The name of the person renting the car. * Format: Alphanumeric * maxLength: 26
*/
'carRentalRenterName'?: string;
'carRental_renterName'?: string;
/**
* The city where the car must be returned. * Format: Alphanumeric * maxLength: 18
*/
'carRentalReturnCity'?: string;
'carRental_returnCity'?: string;
/**
* The country where the car must be returned. * Format: Alphanumeric * maxLength: 2
*/
'carRentalReturnCountry'?: string;
'carRental_returnCountry'?: string;
/**
* The last date to return the car by. * Date format: `yyyyMMdd`
*/
'carRentalReturnDate'?: string;
'carRental_returnDate'?: string;
/**
* Agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10
*/
'carRentalReturnLocationId'?: string;
'carRental_returnLocationId'?: string;
/**
* The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3
*/
'carRentalReturnStateProvince'?: string;
'carRental_returnStateProvince'?: string;
/**
* Indicates whether the goods or services were tax-exempt, or tax was not collected. Values: * Y - Goods or services were tax exempt * N - Tax was not collected
*/
'carRentalTaxExemptIndicator'?: string;
'carRental_taxExemptIndicator'?: string;
/**
* Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2
*/
'travelEntertainmentAuthDataDuration'?: string;
'travelEntertainmentAuthData_duration'?: string;
/**
* Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"A\" for Car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1
*/
'travelEntertainmentAuthDataMarket'?: string;
'travelEntertainmentAuthData_market'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "carRentalCheckOutDate",
"name": "carRental_checkOutDate",
"baseName": "carRental.checkOutDate",
"type": "string"
},
{
"name": "carRentalCustomerServiceTollFreeNumber",
"name": "carRental_customerServiceTollFreeNumber",
"baseName": "carRental.customerServiceTollFreeNumber",
"type": "string"
},
{
"name": "carRentalDaysRented",
"name": "carRental_daysRented",
"baseName": "carRental.daysRented",
"type": "string"
},
{
"name": "carRentalFuelCharges",
"name": "carRental_fuelCharges",
"baseName": "carRental.fuelCharges",
"type": "string"
},
{
"name": "carRentalInsuranceCharges",
"name": "carRental_insuranceCharges",
"baseName": "carRental.insuranceCharges",
"type": "string"
},
{
"name": "carRentalLocationCity",
"name": "carRental_locationCity",
"baseName": "carRental.locationCity",
"type": "string"
},
{
"name": "carRentalLocationCountry",
"name": "carRental_locationCountry",
"baseName": "carRental.locationCountry",
"type": "string"
},
{
"name": "carRentalLocationStateProvince",
"name": "carRental_locationStateProvince",
"baseName": "carRental.locationStateProvince",
"type": "string"
},
{
"name": "carRentalNoShowIndicator",
"name": "carRental_noShowIndicator",
"baseName": "carRental.noShowIndicator",
"type": "string"
},
{
"name": "carRentalOneWayDropOffCharges",
"name": "carRental_oneWayDropOffCharges",
"baseName": "carRental.oneWayDropOffCharges",
"type": "string"
},
{
"name": "carRentalRate",
"name": "carRental_rate",
"baseName": "carRental.rate",
"type": "string"
},
{
"name": "carRentalRateIndicator",
"name": "carRental_rateIndicator",
"baseName": "carRental.rateIndicator",
"type": "string"
},
{
"name": "carRentalRentalAgreementNumber",
"name": "carRental_rentalAgreementNumber",
"baseName": "carRental.rentalAgreementNumber",
"type": "string"
},
{
"name": "carRentalRentalClassId",
"name": "carRental_rentalClassId",
"baseName": "carRental.rentalClassId",
"type": "string"
},
{
"name": "carRentalRenterName",
"name": "carRental_renterName",
"baseName": "carRental.renterName",
"type": "string"
},
{
"name": "carRentalReturnCity",
"name": "carRental_returnCity",
"baseName": "carRental.returnCity",
"type": "string"
},
{
"name": "carRentalReturnCountry",
"name": "carRental_returnCountry",
"baseName": "carRental.returnCountry",
"type": "string"
},
{
"name": "carRentalReturnDate",
"name": "carRental_returnDate",
"baseName": "carRental.returnDate",
"type": "string"
},
{
"name": "carRentalReturnLocationId",
"name": "carRental_returnLocationId",
"baseName": "carRental.returnLocationId",
"type": "string"
},
{
"name": "carRentalReturnStateProvince",
"name": "carRental_returnStateProvince",
"baseName": "carRental.returnStateProvince",
"type": "string"
},
{
"name": "carRentalTaxExemptIndicator",
"name": "carRental_taxExemptIndicator",
"baseName": "carRental.taxExemptIndicator",
"type": "string"
},
{
"name": "travelEntertainmentAuthDataDuration",
"name": "travelEntertainmentAuthData_duration",
"baseName": "travelEntertainmentAuthData.duration",
"type": "string"
},
{
"name": "travelEntertainmentAuthDataMarket",
"name": "travelEntertainmentAuthData_market",
"baseName": "travelEntertainmentAuthData.market",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,7 +33,7 @@ export class AdditionalDataCommon {
/**
* Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** There wasn\'t a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response.
*/
'requestedTestErrorResponseCode'?: string;
'RequestedTestErrorResponseCode'?: string;
/**
* Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** flags the payment request to be handled as a pre-authorisation. * **FinalAuth** flags the payment request to be handled as a final authorisation.
*/
@@ -72,7 +91,7 @@ export class AdditionalDataCommon {
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "requestedTestErrorResponseCode",
"name": "RequestedTestErrorResponseCode",
"baseName": "RequestedTestErrorResponseCode",
"type": "string"
},

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,157 +33,157 @@ export class AdditionalDataLevel23 {
/**
* Customer code, if supplied by a customer. Encoding: ASCII. Max length: 25 characters. > Required for Level 2 and Level 3 data.
*/
'enhancedSchemeDataCustomerReference'?: string;
'enhancedSchemeData_customerReference'?: string;
/**
* Destination country code. Encoding: ASCII. Max length: 3 characters.
*/
'enhancedSchemeDataDestinationCountryCode'?: string;
'enhancedSchemeData_destinationCountryCode'?: string;
/**
* The postal code of a destination address. Encoding: ASCII. Max length: 10 characters. > Required for American Express.
*/
'enhancedSchemeDataDestinationPostalCode'?: string;
'enhancedSchemeData_destinationPostalCode'?: string;
/**
* Destination state or province code. Encoding: ASCII.Max length: 3 characters.
*/
'enhancedSchemeDataDestinationStateProvinceCode'?: string;
'enhancedSchemeData_destinationStateProvinceCode'?: string;
/**
* Duty amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeDataDutyAmount'?: string;
'enhancedSchemeData_dutyAmount'?: string;
/**
* Shipping amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeDataFreightAmount'?: string;
'enhancedSchemeData_freightAmount'?: string;
/**
* Item commodity code. Encoding: ASCII. Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrCommodityCode'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_commodityCode'?: string;
/**
* Item description. Encoding: ASCII. Max length: 26 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrDescription'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_description'?: string;
/**
* Discount amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrDiscountAmount'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_discountAmount'?: string;
/**
* Product code. Encoding: ASCII. Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrProductCode'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_productCode'?: string;
/**
* Quantity, specified as an integer value. Value must be greater than 0. Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrQuantity'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_quantity'?: string;
/**
* Total amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrTotalAmount'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_totalAmount'?: string;
/**
* Item unit of measurement. Encoding: ASCII. Max length: 3 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure'?: string;
/**
* Unit price, specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). Max length: 12 characters.
*/
'enhancedSchemeDataItemDetailLineItemNrUnitPrice'?: string;
'enhancedSchemeData_itemDetailLine_itemNr_unitPrice'?: string;
/**
* Order date. * Format: `ddMMyy` Encoding: ASCII. Max length: 6 characters.
*/
'enhancedSchemeDataOrderDate'?: string;
'enhancedSchemeData_orderDate'?: string;
/**
* The postal code of a \"ship-from\" address. Encoding: ASCII. Max length: 10 characters.
*/
'enhancedSchemeDataShipFromPostalCode'?: string;
'enhancedSchemeData_shipFromPostalCode'?: string;
/**
* Total tax amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. > Required for Level 2 and Level 3 data.
*/
'enhancedSchemeDataTotalTaxAmount'?: string;
'enhancedSchemeData_totalTaxAmount'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "enhancedSchemeDataCustomerReference",
"name": "enhancedSchemeData_customerReference",
"baseName": "enhancedSchemeData.customerReference",
"type": "string"
},
{
"name": "enhancedSchemeDataDestinationCountryCode",
"name": "enhancedSchemeData_destinationCountryCode",
"baseName": "enhancedSchemeData.destinationCountryCode",
"type": "string"
},
{
"name": "enhancedSchemeDataDestinationPostalCode",
"name": "enhancedSchemeData_destinationPostalCode",
"baseName": "enhancedSchemeData.destinationPostalCode",
"type": "string"
},
{
"name": "enhancedSchemeDataDestinationStateProvinceCode",
"name": "enhancedSchemeData_destinationStateProvinceCode",
"baseName": "enhancedSchemeData.destinationStateProvinceCode",
"type": "string"
},
{
"name": "enhancedSchemeDataDutyAmount",
"name": "enhancedSchemeData_dutyAmount",
"baseName": "enhancedSchemeData.dutyAmount",
"type": "string"
},
{
"name": "enhancedSchemeDataFreightAmount",
"name": "enhancedSchemeData_freightAmount",
"baseName": "enhancedSchemeData.freightAmount",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrCommodityCode",
"name": "enhancedSchemeData_itemDetailLine_itemNr_commodityCode",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].commodityCode",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrDescription",
"name": "enhancedSchemeData_itemDetailLine_itemNr_description",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].description",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrDiscountAmount",
"name": "enhancedSchemeData_itemDetailLine_itemNr_discountAmount",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].discountAmount",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrProductCode",
"name": "enhancedSchemeData_itemDetailLine_itemNr_productCode",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].productCode",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrQuantity",
"name": "enhancedSchemeData_itemDetailLine_itemNr_quantity",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].quantity",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrTotalAmount",
"name": "enhancedSchemeData_itemDetailLine_itemNr_totalAmount",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].totalAmount",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure",
"name": "enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitOfMeasure",
"type": "string"
},
{
"name": "enhancedSchemeDataItemDetailLineItemNrUnitPrice",
"name": "enhancedSchemeData_itemDetailLine_itemNr_unitPrice",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitPrice",
"type": "string"
},
{
"name": "enhancedSchemeDataOrderDate",
"name": "enhancedSchemeData_orderDate",
"baseName": "enhancedSchemeData.orderDate",
"type": "string"
},
{
"name": "enhancedSchemeDataShipFromPostalCode",
"name": "enhancedSchemeData_shipFromPostalCode",
"baseName": "enhancedSchemeData.shipFromPostalCode",
"type": "string"
},
{
"name": "enhancedSchemeDataTotalTaxAmount",
"name": "enhancedSchemeData_totalTaxAmount",
"baseName": "enhancedSchemeData.totalTaxAmount",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,157 +33,157 @@ export class AdditionalDataLodging {
/**
* The arrival date. * Date format: `yyyyMMdd`
*/
'lodgingCheckInDate'?: string;
'lodging_checkInDate'?: string;
/**
* The departure date. * Date format: `yyyyMMdd`
*/
'lodgingCheckOutDate'?: string;
'lodging_checkOutDate'?: string;
/**
* The toll free phone number for the hotel/lodgings. * Format: Alphanumeric * maxLength: 17
*/
'lodgingCustomerServiceTollFreeNumber'?: string;
'lodging_customerServiceTollFreeNumber'?: string;
/**
* Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: \'Y\' or \'N\'. * Format: Alphabetic * maxLength: 1
*/
'lodgingFireSafetyActIndicator'?: string;
'lodging_fireSafetyActIndicator'?: string;
/**
* The folio cash advances. * Format: Numeric * maxLength: 12
*/
'lodgingFolioCashAdvances'?: string;
'lodging_folioCashAdvances'?: string;
/**
* Card acceptors internal invoice or billing ID reference number. * Format: Alphanumeric * maxLength: 25
*/
'lodgingFolioNumber'?: string;
'lodging_folioNumber'?: string;
/**
* Any charges for food and beverages associated with the booking. * Format: Numeric * maxLength: 12
*/
'lodgingFoodBeverageCharges'?: string;
'lodging_foodBeverageCharges'?: string;
/**
* Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). Value should be Y or N. * Format: Numeric * maxLength: 1
*/
'lodgingNoShowIndicator'?: string;
'lodging_noShowIndicator'?: string;
/**
* Prepaid expenses for the booking. * Format: Numeric * maxLength: 12
*/
'lodgingPrepaidExpenses'?: string;
'lodging_prepaidExpenses'?: string;
/**
* Identifies specific lodging property location by its local phone number. * Format: Alphanumeric * maxLength: 17
*/
'lodgingPropertyPhoneNumber'?: string;
'lodging_propertyPhoneNumber'?: string;
/**
* Total number of nights the room will be rented. * Format: Numeric * maxLength: 4
*/
'lodgingRoom1NumberOfNights'?: string;
'lodging_room1_numberOfNights'?: string;
/**
* The rate of the room. * Format: Numeric * maxLength: 12
*/
'lodgingRoom1Rate'?: string;
'lodging_room1_rate'?: string;
/**
* The total amount of tax to be paid. * Format: Numeric * maxLength: 12
*/
'lodgingRoom1Tax'?: string;
'lodging_room1_tax'?: string;
/**
* Total room tax amount. * Format: Numeric * maxLength: 12
*/
'lodgingTotalRoomTax'?: string;
'lodging_totalRoomTax'?: string;
/**
* Total tax amount. * Format: Numeric * maxLength: 12
*/
'lodgingTotalTax'?: string;
'lodging_totalTax'?: string;
/**
* Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2
*/
'travelEntertainmentAuthDataDuration'?: string;
'travelEntertainmentAuthData_duration'?: string;
/**
* Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1
*/
'travelEntertainmentAuthDataMarket'?: string;
'travelEntertainmentAuthData_market'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "lodgingCheckInDate",
"name": "lodging_checkInDate",
"baseName": "lodging.checkInDate",
"type": "string"
},
{
"name": "lodgingCheckOutDate",
"name": "lodging_checkOutDate",
"baseName": "lodging.checkOutDate",
"type": "string"
},
{
"name": "lodgingCustomerServiceTollFreeNumber",
"name": "lodging_customerServiceTollFreeNumber",
"baseName": "lodging.customerServiceTollFreeNumber",
"type": "string"
},
{
"name": "lodgingFireSafetyActIndicator",
"name": "lodging_fireSafetyActIndicator",
"baseName": "lodging.fireSafetyActIndicator",
"type": "string"
},
{
"name": "lodgingFolioCashAdvances",
"name": "lodging_folioCashAdvances",
"baseName": "lodging.folioCashAdvances",
"type": "string"
},
{
"name": "lodgingFolioNumber",
"name": "lodging_folioNumber",
"baseName": "lodging.folioNumber",
"type": "string"
},
{
"name": "lodgingFoodBeverageCharges",
"name": "lodging_foodBeverageCharges",
"baseName": "lodging.foodBeverageCharges",
"type": "string"
},
{
"name": "lodgingNoShowIndicator",
"name": "lodging_noShowIndicator",
"baseName": "lodging.noShowIndicator",
"type": "string"
},
{
"name": "lodgingPrepaidExpenses",
"name": "lodging_prepaidExpenses",
"baseName": "lodging.prepaidExpenses",
"type": "string"
},
{
"name": "lodgingPropertyPhoneNumber",
"name": "lodging_propertyPhoneNumber",
"baseName": "lodging.propertyPhoneNumber",
"type": "string"
},
{
"name": "lodgingRoom1NumberOfNights",
"name": "lodging_room1_numberOfNights",
"baseName": "lodging.room1.numberOfNights",
"type": "string"
},
{
"name": "lodgingRoom1Rate",
"name": "lodging_room1_rate",
"baseName": "lodging.room1.rate",
"type": "string"
},
{
"name": "lodgingRoom1Tax",
"name": "lodging_room1_tax",
"baseName": "lodging.room1.tax",
"type": "string"
},
{
"name": "lodgingTotalRoomTax",
"name": "lodging_totalRoomTax",
"baseName": "lodging.totalRoomTax",
"type": "string"
},
{
"name": "lodgingTotalTax",
"name": "lodging_totalTax",
"baseName": "lodging.totalTax",
"type": "string"
},
{
"name": "travelEntertainmentAuthDataDuration",
"name": "travelEntertainmentAuthData_duration",
"baseName": "travelEntertainmentAuthData.duration",
"type": "string"
},
{
"name": "travelEntertainmentAuthDataMarket",
"name": "travelEntertainmentAuthData_market",
"baseName": "travelEntertainmentAuthData.market",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,157 +33,157 @@ export class AdditionalDataOpenInvoice {
/**
* Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it\'s not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string.
*/
'openinvoicedataMerchantData'?: string;
'openinvoicedata_merchantData'?: string;
/**
* The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1.
*/
'openinvoicedataNumberOfLines'?: string;
'openinvoicedata_numberOfLines'?: string;
/**
* The three-character ISO currency code.
*/
'openinvoicedataLineItemNrCurrencyCode'?: string;
'openinvoicedataLine_itemNr_currencyCode'?: string;
/**
* A text description of the product the invoice line refers to.
*/
'openinvoicedataLineItemNrDescription'?: string;
'openinvoicedataLine_itemNr_description'?: string;
/**
* The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded.
*/
'openinvoicedataLineItemNrItemAmount'?: string;
'openinvoicedataLine_itemNr_itemAmount'?: string;
/**
* A unique id for this item. Required for RatePay if the description of each item is not unique.
*/
'openinvoicedataLineItemNrItemId'?: string;
'openinvoicedataLine_itemNr_itemId'?: string;
/**
* The VAT due for one item in the invoice line, represented in minor units.
*/
'openinvoicedataLineItemNrItemVatAmount'?: string;
'openinvoicedataLine_itemNr_itemVatAmount'?: string;
/**
* The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900.
*/
'openinvoicedataLineItemNrItemVatPercentage'?: string;
'openinvoicedataLine_itemNr_itemVatPercentage'?: string;
/**
* The number of units purchased of a specific product.
*/
'openinvoicedataLineItemNrNumberOfItems'?: string;
'openinvoicedataLine_itemNr_numberOfItems'?: string;
/**
* Name of the shipping company handling the the return shipment.
*/
'openinvoicedataLineItemNrReturnShippingCompany'?: string;
'openinvoicedataLine_itemNr_returnShippingCompany'?: string;
/**
* The tracking number for the return of the shipment.
*/
'openinvoicedataLineItemNrReturnTrackingNumber'?: string;
'openinvoicedataLine_itemNr_returnTrackingNumber'?: string;
/**
* URI where the customer can track the return of their shipment.
*/
'openinvoicedataLineItemNrReturnTrackingUri'?: string;
'openinvoicedataLine_itemNr_returnTrackingUri'?: string;
/**
* Name of the shipping company handling the delivery.
*/
'openinvoicedataLineItemNrShippingCompany'?: string;
'openinvoicedataLine_itemNr_shippingCompany'?: string;
/**
* Shipping method.
*/
'openinvoicedataLineItemNrShippingMethod'?: string;
'openinvoicedataLine_itemNr_shippingMethod'?: string;
/**
* The tracking number for the shipment.
*/
'openinvoicedataLineItemNrTrackingNumber'?: string;
'openinvoicedataLine_itemNr_trackingNumber'?: string;
/**
* URI where the customer can track their shipment.
*/
'openinvoicedataLineItemNrTrackingUri'?: string;
'openinvoicedataLine_itemNr_trackingUri'?: string;
/**
* Required for AfterPay. The country-specific VAT category a product falls under. Allowed values: * High * Low * None.
*/
'openinvoicedataLineItemNrVatCategory'?: string;
'openinvoicedataLine_itemNr_vatCategory'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "openinvoicedataMerchantData",
"name": "openinvoicedata_merchantData",
"baseName": "openinvoicedata.merchantData",
"type": "string"
},
{
"name": "openinvoicedataNumberOfLines",
"name": "openinvoicedata_numberOfLines",
"baseName": "openinvoicedata.numberOfLines",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrCurrencyCode",
"name": "openinvoicedataLine_itemNr_currencyCode",
"baseName": "openinvoicedataLine[itemNr].currencyCode",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrDescription",
"name": "openinvoicedataLine_itemNr_description",
"baseName": "openinvoicedataLine[itemNr].description",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrItemAmount",
"name": "openinvoicedataLine_itemNr_itemAmount",
"baseName": "openinvoicedataLine[itemNr].itemAmount",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrItemId",
"name": "openinvoicedataLine_itemNr_itemId",
"baseName": "openinvoicedataLine[itemNr].itemId",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrItemVatAmount",
"name": "openinvoicedataLine_itemNr_itemVatAmount",
"baseName": "openinvoicedataLine[itemNr].itemVatAmount",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrItemVatPercentage",
"name": "openinvoicedataLine_itemNr_itemVatPercentage",
"baseName": "openinvoicedataLine[itemNr].itemVatPercentage",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrNumberOfItems",
"name": "openinvoicedataLine_itemNr_numberOfItems",
"baseName": "openinvoicedataLine[itemNr].numberOfItems",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrReturnShippingCompany",
"name": "openinvoicedataLine_itemNr_returnShippingCompany",
"baseName": "openinvoicedataLine[itemNr].returnShippingCompany",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrReturnTrackingNumber",
"name": "openinvoicedataLine_itemNr_returnTrackingNumber",
"baseName": "openinvoicedataLine[itemNr].returnTrackingNumber",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrReturnTrackingUri",
"name": "openinvoicedataLine_itemNr_returnTrackingUri",
"baseName": "openinvoicedataLine[itemNr].returnTrackingUri",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrShippingCompany",
"name": "openinvoicedataLine_itemNr_shippingCompany",
"baseName": "openinvoicedataLine[itemNr].shippingCompany",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrShippingMethod",
"name": "openinvoicedataLine_itemNr_shippingMethod",
"baseName": "openinvoicedataLine[itemNr].shippingMethod",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrTrackingNumber",
"name": "openinvoicedataLine_itemNr_trackingNumber",
"baseName": "openinvoicedataLine[itemNr].trackingNumber",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrTrackingUri",
"name": "openinvoicedataLine_itemNr_trackingUri",
"baseName": "openinvoicedataLine[itemNr].trackingUri",
"type": "string"
},
{
"name": "openinvoicedataLineItemNrVatCategory",
"name": "openinvoicedataLine_itemNr_vatCategory",
"baseName": "openinvoicedataLine[itemNr].vatCategory",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,13 +33,13 @@ export class AdditionalDataOpi {
/**
* Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).
*/
'opiIncludeTransToken'?: string;
'opi_includeTransToken'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "opiIncludeTransToken",
"name": "opi_includeTransToken",
"baseName": "opi.includeTransToken",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,76 +33,76 @@ export class AdditionalDataRatepay {
/**
* Amount the customer has to pay each month.
*/
'ratepayInstallmentAmount'?: string;
'ratepay_installmentAmount'?: string;
/**
* Interest rate of this installment.
*/
'ratepayInterestRate'?: string;
'ratepay_interestRate'?: string;
/**
* Amount of the last installment.
*/
'ratepayLastInstallmentAmount'?: string;
'ratepay_lastInstallmentAmount'?: string;
/**
* Calendar day of the first payment.
*/
'ratepayPaymentFirstday'?: string;
'ratepay_paymentFirstday'?: string;
/**
* Date the merchant delivered the goods to the customer.
*/
'ratepaydataDeliveryDate'?: string;
'ratepaydata_deliveryDate'?: string;
/**
* Date by which the customer must settle the payment.
*/
'ratepaydataDueDate'?: string;
'ratepaydata_dueDate'?: string;
/**
* Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.
*/
'ratepaydataInvoiceDate'?: string;
'ratepaydata_invoiceDate'?: string;
/**
* Identification name or number for the invoice, defined by the merchant.
*/
'ratepaydataInvoiceId'?: string;
'ratepaydata_invoiceId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "ratepayInstallmentAmount",
"name": "ratepay_installmentAmount",
"baseName": "ratepay.installmentAmount",
"type": "string"
},
{
"name": "ratepayInterestRate",
"name": "ratepay_interestRate",
"baseName": "ratepay.interestRate",
"type": "string"
},
{
"name": "ratepayLastInstallmentAmount",
"name": "ratepay_lastInstallmentAmount",
"baseName": "ratepay.lastInstallmentAmount",
"type": "string"
},
{
"name": "ratepayPaymentFirstday",
"name": "ratepay_paymentFirstday",
"baseName": "ratepay.paymentFirstday",
"type": "string"
},
{
"name": "ratepaydataDeliveryDate",
"name": "ratepaydata_deliveryDate",
"baseName": "ratepaydata.deliveryDate",
"type": "string"
},
{
"name": "ratepaydataDueDate",
"name": "ratepaydata_dueDate",
"baseName": "ratepaydata.dueDate",
"type": "string"
},
{
"name": "ratepaydataInvoiceDate",
"name": "ratepaydata_invoiceDate",
"baseName": "ratepaydata.invoiceDate",
"type": "string"
},
{
"name": "ratepaydataInvoiceId",
"name": "ratepaydata_invoiceId",
"baseName": "ratepaydata.invoiceId",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,31 +33,31 @@ export class AdditionalDataRetry {
/**
* The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retryChainAttemptNumber'?: string;
'retry_chainAttemptNumber'?: string;
/**
* The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retryOrderAttemptNumber'?: string;
'retry_orderAttemptNumber'?: string;
/**
* The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retrySkipRetry'?: string;
'retry_skipRetry'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "retryChainAttemptNumber",
"name": "retry_chainAttemptNumber",
"baseName": "retry.chainAttemptNumber",
"type": "string"
},
{
"name": "retryOrderAttemptNumber",
"name": "retry_orderAttemptNumber",
"baseName": "retry.orderAttemptNumber",
"type": "string"
},
{
"name": "retrySkipRetry",
"name": "retry_skipRetry",
"baseName": "retry.skipRetry",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,184 +33,184 @@ export class AdditionalDataRisk {
/**
* The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
*/
'riskdataCustomFieldName'?: string;
'riskdata__customFieldName'?: string;
/**
* The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
'riskdataBasketItemItemNrAmountPerItem'?: string;
'riskdata_basket_item_itemNr_amountPerItem'?: string;
/**
* Brand of the item.
*/
'riskdataBasketItemItemNrBrand'?: string;
'riskdata_basket_item_itemNr_brand'?: string;
/**
* Category of the item.
*/
'riskdataBasketItemItemNrCategory'?: string;
'riskdata_basket_item_itemNr_category'?: string;
/**
* Color of the item.
*/
'riskdataBasketItemItemNrColor'?: string;
'riskdata_basket_item_itemNr_color'?: string;
/**
* The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
*/
'riskdataBasketItemItemNrCurrency'?: string;
'riskdata_basket_item_itemNr_currency'?: string;
/**
* ID of the item.
*/
'riskdataBasketItemItemNrItemID'?: string;
'riskdata_basket_item_itemNr_itemID'?: string;
/**
* Manufacturer of the item.
*/
'riskdataBasketItemItemNrManufacturer'?: string;
'riskdata_basket_item_itemNr_manufacturer'?: string;
/**
* A text description of the product the invoice line refers to.
*/
'riskdataBasketItemItemNrProductTitle'?: string;
'riskdata_basket_item_itemNr_productTitle'?: string;
/**
* Quantity of the item purchased.
*/
'riskdataBasketItemItemNrQuantity'?: string;
'riskdata_basket_item_itemNr_quantity'?: string;
/**
* Email associated with the given product in the basket (usually in electronic gift cards).
*/
'riskdataBasketItemItemNrReceiverEmail'?: string;
'riskdata_basket_item_itemNr_receiverEmail'?: string;
/**
* Size of the item.
*/
'riskdataBasketItemItemNrSize'?: string;
'riskdata_basket_item_itemNr_size'?: string;
/**
* [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
*/
'riskdataBasketItemItemNrSku'?: string;
'riskdata_basket_item_itemNr_sku'?: string;
/**
* [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
*/
'riskdataBasketItemItemNrUpc'?: string;
'riskdata_basket_item_itemNr_upc'?: string;
/**
* Code of the promotion.
*/
'riskdataPromotionsPromotionItemNrPromotionCode'?: string;
'riskdata_promotions_promotion_itemNr_promotionCode'?: string;
/**
* The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
'riskdataPromotionsPromotionItemNrPromotionDiscountAmount'?: string;
'riskdata_promotions_promotion_itemNr_promotionDiscountAmount'?: string;
/**
* The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
*/
'riskdataPromotionsPromotionItemNrPromotionDiscountCurrency'?: string;
'riskdata_promotions_promotion_itemNr_promotionDiscountCurrency'?: string;
/**
* Promotion\'s percentage discount. It is represented in percentage value and there is no need to include the \'%\' sign. e.g. for a promotion discount of 30%, the value of the field should be 30.
*/
'riskdataPromotionsPromotionItemNrPromotionDiscountPercentage'?: string;
'riskdata_promotions_promotion_itemNr_promotionDiscountPercentage'?: string;
/**
* Name of the promotion.
*/
'riskdataPromotionsPromotionItemNrPromotionName'?: string;
'riskdata_promotions_promotion_itemNr_promotionName'?: string;
/**
* Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account\'s default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
*/
'riskdataRiskProfileReference'?: string;
'riskdata_riskProfileReference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "riskdataCustomFieldName",
"name": "riskdata__customFieldName",
"baseName": "riskdata.[customFieldName]",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrAmountPerItem",
"name": "riskdata_basket_item_itemNr_amountPerItem",
"baseName": "riskdata.basket.item[itemNr].amountPerItem",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrBrand",
"name": "riskdata_basket_item_itemNr_brand",
"baseName": "riskdata.basket.item[itemNr].brand",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrCategory",
"name": "riskdata_basket_item_itemNr_category",
"baseName": "riskdata.basket.item[itemNr].category",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrColor",
"name": "riskdata_basket_item_itemNr_color",
"baseName": "riskdata.basket.item[itemNr].color",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrCurrency",
"name": "riskdata_basket_item_itemNr_currency",
"baseName": "riskdata.basket.item[itemNr].currency",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrItemID",
"name": "riskdata_basket_item_itemNr_itemID",
"baseName": "riskdata.basket.item[itemNr].itemID",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrManufacturer",
"name": "riskdata_basket_item_itemNr_manufacturer",
"baseName": "riskdata.basket.item[itemNr].manufacturer",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrProductTitle",
"name": "riskdata_basket_item_itemNr_productTitle",
"baseName": "riskdata.basket.item[itemNr].productTitle",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrQuantity",
"name": "riskdata_basket_item_itemNr_quantity",
"baseName": "riskdata.basket.item[itemNr].quantity",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrReceiverEmail",
"name": "riskdata_basket_item_itemNr_receiverEmail",
"baseName": "riskdata.basket.item[itemNr].receiverEmail",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrSize",
"name": "riskdata_basket_item_itemNr_size",
"baseName": "riskdata.basket.item[itemNr].size",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrSku",
"name": "riskdata_basket_item_itemNr_sku",
"baseName": "riskdata.basket.item[itemNr].sku",
"type": "string"
},
{
"name": "riskdataBasketItemItemNrUpc",
"name": "riskdata_basket_item_itemNr_upc",
"baseName": "riskdata.basket.item[itemNr].upc",
"type": "string"
},
{
"name": "riskdataPromotionsPromotionItemNrPromotionCode",
"name": "riskdata_promotions_promotion_itemNr_promotionCode",
"baseName": "riskdata.promotions.promotion[itemNr].promotionCode",
"type": "string"
},
{
"name": "riskdataPromotionsPromotionItemNrPromotionDiscountAmount",
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountAmount",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountAmount",
"type": "string"
},
{
"name": "riskdataPromotionsPromotionItemNrPromotionDiscountCurrency",
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountCurrency",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountCurrency",
"type": "string"
},
{
"name": "riskdataPromotionsPromotionItemNrPromotionDiscountPercentage",
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountPercentage",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountPercentage",
"type": "string"
},
{
"name": "riskdataPromotionsPromotionItemNrPromotionName",
"name": "riskdata_promotions_promotion_itemNr_promotionName",
"baseName": "riskdata.promotions.promotion[itemNr].promotionName",
"type": "string"
},
{
"name": "riskdataRiskProfileReference",
"name": "riskdata_riskProfileReference",
"baseName": "riskdata.riskProfileReference",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,35 +33,35 @@ export class AdditionalDataRiskStandalone {
/**
* Shopper\'s country of residence in the form of ISO standard 3166 2-character country codes.
*/
'payPalCountryCode'?: string;
'PayPal_CountryCode'?: string;
/**
* Shopper\'s email.
*/
'payPalEmailId'?: string;
'PayPal_EmailId'?: string;
/**
* Shopper\'s first name.
*/
'payPalFirstName'?: string;
'PayPal_FirstName'?: string;
/**
* Shopper\'s last name.
*/
'payPalLastName'?: string;
'PayPal_LastName'?: string;
/**
* Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
*/
'payPalPayerId'?: string;
'PayPal_PayerId'?: string;
/**
* Shopper\'s phone number.
*/
'payPalPhone'?: string;
'PayPal_Phone'?: string;
/**
* Allowed values: * **Eligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy.
*/
'payPalProtectionEligibility'?: string;
'PayPal_ProtectionEligibility'?: string;
/**
* Unique transaction ID of the payment.
*/
'payPalTransactionId'?: string;
'PayPal_TransactionId'?: string;
/**
* Raw AVS result received from the acquirer, where available. Example: D
*/
@@ -76,42 +95,42 @@ export class AdditionalDataRiskStandalone {
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "payPalCountryCode",
"name": "PayPal_CountryCode",
"baseName": "PayPal.CountryCode",
"type": "string"
},
{
"name": "payPalEmailId",
"name": "PayPal_EmailId",
"baseName": "PayPal.EmailId",
"type": "string"
},
{
"name": "payPalFirstName",
"name": "PayPal_FirstName",
"baseName": "PayPal.FirstName",
"type": "string"
},
{
"name": "payPalLastName",
"name": "PayPal_LastName",
"baseName": "PayPal.LastName",
"type": "string"
},
{
"name": "payPalPayerId",
"name": "PayPal_PayerId",
"baseName": "PayPal.PayerId",
"type": "string"
},
{
"name": "payPalPhone",
"name": "PayPal_Phone",
"baseName": "PayPal.Phone",
"type": "string"
},
{
"name": "payPalProtectionEligibility",
"name": "PayPal_ProtectionEligibility",
"baseName": "PayPal.ProtectionEligibility",
"type": "string"
},
{
"name": "payPalTransactionId",
"name": "PayPal_TransactionId",
"baseName": "PayPal.TransactionId",
"type": "string"
},

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,166 +33,94 @@ export class AdditionalDataSubMerchant {
/**
* Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.
*/
'subMerchantNumberOfSubSellers'?: string;
'subMerchant_numberOfSubSellers'?: string;
/**
* Required for transactions performed by registered payment facilitators. The city of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 13 characters
*/
'subMerchantSubSellerSubSellerNrCity'?: string;
'subMerchant_subSeller_subSellerNr_city'?: string;
/**
* Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant\'s address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
*/
'subMerchantSubSellerSubSellerNrCountry'?: string;
/**
* The sub-merchant\'s bank account number with the check digit number and without punctuations or dashes. * Format: Numeric * Maximum length: 12 digits
*/
'subMerchantSubSellerSubSellerNrCreditSettlementAccount'?: string;
/**
* A two-letter indicator of the type of the sub-merchant\'s bank account. Possible values: - **CC** - Checking account - **CD** - Deposit account - **PG** - Payments account - **PP** - Savings account
*/
'subMerchantSubSellerSubSellerNrCreditSettlementAccountType'?: string;
/**
* The four-digit branch code of the sub-merchant\'s bank, without the check digit, slashes, or dashes. * Format: Numeric * Fixed length: 4 digits
*/
'subMerchantSubSellerSubSellerNrCreditSettlementAgency'?: string;
/**
* The identifier of the sub-merchant\'s bank. In Brazil, this is the three-digit bank number format specified by the Central Bank of Brazil (BACEN). * Format: Numeric * Fixed length: 3 digits
*/
'subMerchantSubSellerSubSellerNrCreditSettlementBank'?: string;
/**
* The sub-merchant\'s bank account number with the check digit number and without punctuations or dashes. * Format: Numeric * Maximum length: 12 digits
*/
'subMerchantSubSellerSubSellerNrDebitSettlementAccount'?: string;
/**
* A two-letter indicator of the type of the sub-merchant\'s bank account. Possible values: - **CC** - Checking account - **CD** - Deposit account - **PG** - Payments account - **PP** - Savings account
*/
'subMerchantSubSellerSubSellerNrDebitSettlementAccountType'?: string;
/**
* The four-digit branch code of the sub-merchant\'s bank, without the check digit, slashes, or dashes. * Format: Numeric * Fixed length: 4 digits
*/
'subMerchantSubSellerSubSellerNrDebitSettlementAgency'?: string;
/**
* The identifier of the sub-merchant\'s bank. In Brazil, this is the three-digit bank number format specified by the Central Bank of Brazil (BACEN). * Format: Numeric * Fixed length: 3 digits
*/
'subMerchantSubSellerSubSellerNrDebitSettlementBank'?: string;
'subMerchant_subSeller_subSellerNr_country'?: string;
/**
* Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters
*/
'subMerchantSubSellerSubSellerNrId'?: string;
'subMerchant_subSeller_subSellerNr_id'?: string;
/**
* Required for transactions performed by registered payment facilitators. The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
*/
'subMerchantSubSellerSubSellerNrMcc'?: string;
'subMerchant_subSeller_subSellerNr_mcc'?: string;
/**
* Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters
*/
'subMerchantSubSellerSubSellerNrName'?: string;
'subMerchant_subSeller_subSellerNr_name'?: string;
/**
* Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant\'s address, without dashes. * Format: Numeric * Fixed length: 8 digits
*/
'subMerchantSubSellerSubSellerNrPostalCode'?: string;
'subMerchant_subSeller_subSellerNr_postalCode'?: string;
/**
* Required for transactions performed by registered payment facilitators. The state code of the sub-merchant\'s address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters
*/
'subMerchantSubSellerSubSellerNrState'?: string;
'subMerchant_subSeller_subSellerNr_state'?: string;
/**
* Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 60 characters
*/
'subMerchantSubSellerSubSellerNrStreet'?: string;
'subMerchant_subSeller_subSellerNr_street'?: string;
/**
* Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
*/
'subMerchantSubSellerSubSellerNrTaxId'?: string;
'subMerchant_subSeller_subSellerNr_taxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "subMerchantNumberOfSubSellers",
"name": "subMerchant_numberOfSubSellers",
"baseName": "subMerchant.numberOfSubSellers",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCity",
"name": "subMerchant_subSeller_subSellerNr_city",
"baseName": "subMerchant.subSeller[subSellerNr].city",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCountry",
"name": "subMerchant_subSeller_subSellerNr_country",
"baseName": "subMerchant.subSeller[subSellerNr].country",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCreditSettlementAccount",
"baseName": "subMerchant.subSeller[subSellerNr].creditSettlementAccount",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCreditSettlementAccountType",
"baseName": "subMerchant.subSeller[subSellerNr].creditSettlementAccountType",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCreditSettlementAgency",
"baseName": "subMerchant.subSeller[subSellerNr].creditSettlementAgency",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrCreditSettlementBank",
"baseName": "subMerchant.subSeller[subSellerNr].creditSettlementBank",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrDebitSettlementAccount",
"baseName": "subMerchant.subSeller[subSellerNr].debitSettlementAccount",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrDebitSettlementAccountType",
"baseName": "subMerchant.subSeller[subSellerNr].debitSettlementAccountType",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrDebitSettlementAgency",
"baseName": "subMerchant.subSeller[subSellerNr].debitSettlementAgency",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrDebitSettlementBank",
"baseName": "subMerchant.subSeller[subSellerNr].debitSettlementBank",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrId",
"name": "subMerchant_subSeller_subSellerNr_id",
"baseName": "subMerchant.subSeller[subSellerNr].id",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrMcc",
"name": "subMerchant_subSeller_subSellerNr_mcc",
"baseName": "subMerchant.subSeller[subSellerNr].mcc",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrName",
"name": "subMerchant_subSeller_subSellerNr_name",
"baseName": "subMerchant.subSeller[subSellerNr].name",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrPostalCode",
"name": "subMerchant_subSeller_subSellerNr_postalCode",
"baseName": "subMerchant.subSeller[subSellerNr].postalCode",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrState",
"name": "subMerchant_subSeller_subSellerNr_state",
"baseName": "subMerchant.subSeller[subSellerNr].state",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrStreet",
"name": "subMerchant_subSeller_subSellerNr_street",
"baseName": "subMerchant.subSeller[subSellerNr].street",
"type": "string"
},
{
"name": "subMerchantSubSellerSubSellerNrTaxId",
"name": "subMerchant_subSeller_subSellerNr_taxId",
"baseName": "subMerchant.subSeller[subSellerNr].taxId",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,85 +33,85 @@ export class AdditionalDataTemporaryServices {
/**
* Customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25
*/
'enhancedSchemeDataCustomerReference'?: string;
'enhancedSchemeData_customerReference'?: string;
/**
* Name or ID associated with the individual working in a temporary capacity. * maxLength: 40
*/
'enhancedSchemeDataEmployeeName'?: string;
'enhancedSchemeData_employeeName'?: string;
/**
* Description of the job or task of the individual working in a temporary capacity. * maxLength: 40
*/
'enhancedSchemeDataJobDescription'?: string;
'enhancedSchemeData_jobDescription'?: string;
/**
* Amount paid per regular hours worked, minor units. * maxLength: 7
*/
'enhancedSchemeDataRegularHoursRate'?: string;
'enhancedSchemeData_regularHoursRate'?: string;
/**
* Amount of time worked during a normal operation for the task or job. * maxLength: 7
*/
'enhancedSchemeDataRegularHoursWorked'?: string;
'enhancedSchemeData_regularHoursWorked'?: string;
/**
* Name of the individual requesting temporary services. * maxLength: 40
*/
'enhancedSchemeDataRequestName'?: string;
'enhancedSchemeData_requestName'?: string;
/**
* Date for the beginning of the pay period. * Format: ddMMyy * maxLength: 6
*/
'enhancedSchemeDataTempStartDate'?: string;
'enhancedSchemeData_tempStartDate'?: string;
/**
* Date of the end of the billing cycle. * Format: ddMMyy * maxLength: 6
*/
'enhancedSchemeDataTempWeekEnding'?: string;
'enhancedSchemeData_tempWeekEnding'?: string;
/**
* Total tax amount, in minor units. For example, 2000 means USD 20.00 * maxLength: 12
*/
'enhancedSchemeDataTotalTaxAmount'?: string;
'enhancedSchemeData_totalTaxAmount'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "enhancedSchemeDataCustomerReference",
"name": "enhancedSchemeData_customerReference",
"baseName": "enhancedSchemeData.customerReference",
"type": "string"
},
{
"name": "enhancedSchemeDataEmployeeName",
"name": "enhancedSchemeData_employeeName",
"baseName": "enhancedSchemeData.employeeName",
"type": "string"
},
{
"name": "enhancedSchemeDataJobDescription",
"name": "enhancedSchemeData_jobDescription",
"baseName": "enhancedSchemeData.jobDescription",
"type": "string"
},
{
"name": "enhancedSchemeDataRegularHoursRate",
"name": "enhancedSchemeData_regularHoursRate",
"baseName": "enhancedSchemeData.regularHoursRate",
"type": "string"
},
{
"name": "enhancedSchemeDataRegularHoursWorked",
"name": "enhancedSchemeData_regularHoursWorked",
"baseName": "enhancedSchemeData.regularHoursWorked",
"type": "string"
},
{
"name": "enhancedSchemeDataRequestName",
"name": "enhancedSchemeData_requestName",
"baseName": "enhancedSchemeData.requestName",
"type": "string"
},
{
"name": "enhancedSchemeDataTempStartDate",
"name": "enhancedSchemeData_tempStartDate",
"baseName": "enhancedSchemeData.tempStartDate",
"type": "string"
},
{
"name": "enhancedSchemeDataTempWeekEnding",
"name": "enhancedSchemeData_tempWeekEnding",
"baseName": "enhancedSchemeData.tempWeekEnding",
"type": "string"
},
{
"name": "enhancedSchemeDataTotalTaxAmount",
"name": "enhancedSchemeData_totalTaxAmount",
"baseName": "enhancedSchemeData.totalTaxAmount",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -14,58 +33,58 @@ export class AdditionalDataWallets {
/**
* The Android Pay token retrieved from the SDK.
*/
'androidpayToken'?: string;
'androidpay_token'?: string;
/**
* The Mastercard Masterpass Transaction ID retrieved from the SDK.
*/
'masterpassTransactionId'?: string;
'masterpass_transactionId'?: string;
/**
* The Apple Pay token retrieved from the SDK.
*/
'paymentToken'?: string;
'payment_token'?: string;
/**
* The Google Pay token retrieved from the SDK.
*/
'paywithgoogleToken'?: string;
'paywithgoogle_token'?: string;
/**
* The Samsung Pay token retrieved from the SDK.
*/
'samsungpayToken'?: string;
'samsungpay_token'?: string;
/**
* The Visa Checkout Call ID retrieved from the SDK.
*/
'visacheckoutCallId'?: string;
'visacheckout_callId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "androidpayToken",
"name": "androidpay_token",
"baseName": "androidpay.token",
"type": "string"
},
{
"name": "masterpassTransactionId",
"name": "masterpass_transactionId",
"baseName": "masterpass.transactionId",
"type": "string"
},
{
"name": "paymentToken",
"name": "payment_token",
"baseName": "payment.token",
"type": "string"
},
{
"name": "paywithgoogleToken",
"name": "paywithgoogle_token",
"baseName": "paywithgoogle.token",
"type": "string"
},
{
"name": "samsungpayToken",
"name": "samsungpay_token",
"baseName": "samsungpay.token",
"type": "string"
},
{
"name": "visacheckoutCallId",
"name": "visacheckout_callId",
"baseName": "visacheckout.callId",
"type": "string"
} ];

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -12,7 +31,7 @@
export class Address {
/**
* The name of the city.
* The name of the city. Maximum length: 3000 characters.
*/
'city': string;
/**
@@ -20,7 +39,7 @@ export class Address {
*/
'country': string;
/**
* The number or name of the house.
* The number or name of the house. Maximum length: 3000 characters.
*/
'houseNumberOrName': string;
/**
@@ -32,7 +51,7 @@ export class Address {
*/
'stateOrProvince'?: string;
/**
* The name of the street. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.
* The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.
*/
'street': string;

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -11,7 +30,7 @@
*/
export class CardDetails {
'cupsecureplusSmscode'?: string;
'cupsecureplus_smscode'?: string;
/**
* The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
*/
@@ -19,15 +38,15 @@ export class CardDetails {
/**
* The encrypted card number.
*/
'encryptedCardNumber'?: string;
'encryptedCardNumber': string;
/**
* The encrypted card expiry month.
*/
'encryptedExpiryMonth'?: string;
'encryptedExpiryMonth': string;
/**
* The encrypted card expiry year.
*/
'encryptedExpiryYear'?: string;
'encryptedExpiryYear': string;
/**
* The encrypted card verification code.
*/
@@ -57,19 +76,27 @@ export class CardDetails {
*/
'recurringDetailReference'?: string;
/**
* The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
*/
'shopperNotificationReference'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'storedPaymentMethodId'?: string;
/**
* Version of the 3D Secure 2 mobile SDK.
*/
'threeDS2SdkVersion'?: string;
/**
* Default payment method details. Common for scheme payment methods, and for simple payment method details.
*/
'type'?: string;
'type'?: CardDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cupsecureplusSmscode",
"name": "cupsecureplus_smscode",
"baseName": "cupsecureplus.smscode",
"type": "string"
},
@@ -128,11 +155,21 @@ export class CardDetails {
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "shopperNotificationReference",
"baseName": "shopperNotificationReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "threeDS2SdkVersion",
"baseName": "threeDS2SdkVersion",
"type": "string"
},
{
"name": "type",
"baseName": "type",
@@ -148,4 +185,27 @@ export namespace CardDetails {
export enum FundingSourceEnum {
Debit = <any> 'debit'
}
export enum TypeEnum {
Scheme = <any> 'scheme',
NetworkToken = <any> 'networkToken',
Giftcard = <any> 'giftcard',
Alliancedata = <any> 'alliancedata',
Card = <any> 'card',
Moneybookers = <any> 'moneybookers',
AlipayHk = <any> 'alipay_hk',
AlipayHkWap = <any> 'alipay_hk_wap',
AlipayHkWeb = <any> 'alipay_hk_web',
AlipayWap = <any> 'alipay_wap',
KcpNaverpay = <any> 'kcp_naverpay',
Upi = <any> 'upi',
PrimeiropayBoleto = <any> 'primeiropay_boleto',
GopayWallet = <any> 'gopay_wallet',
Poli = <any> 'poli',
Mada = <any> 'mada',
Naps = <any> 'naps',
Benefit = <any> 'benefit',
Knet = <any> 'knet',
Fawry = <any> 'fawry',
Omannet = <any> 'omannet'
}
}

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -125,7 +144,7 @@ export class CheckoutBalanceCheckRequest {
*/
'shopperReference'?: string;
/**
* The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 25 characters, otherwise banks might truncate the string.
* The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string.
*/
'shopperStatement'?: string;
/**
@@ -137,7 +156,7 @@ export class CheckoutBalanceCheckRequest {
*/
'splits'?: Array<Split>;
/**
* The physical store, for which this payment is processed.
* The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms.
*/
'store'?: string;
/**

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -11,7 +30,7 @@
*/
import { Avs } from './avs';
import { Installments2 } from './installments2';
import { InstallmentsNumber } from './installmentsNumber';
import { ShopperInput } from './shopperInput';
export class Configuration {
@@ -20,7 +39,7 @@ export class Configuration {
* Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED
*/
'cardHolderName'?: Configuration.CardHolderNameEnum;
'installments'?: Installments2;
'installments'?: InstallmentsNumber;
'shopperInput'?: ShopperInput;
static discriminator: string | undefined = undefined;
@@ -39,7 +58,7 @@ export class Configuration {
{
"name": "installments",
"baseName": "installments",
"type": "Installments2"
"type": "InstallmentsNumber"
},
{
"name": "shopperInput",

View File

@@ -0,0 +1,93 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { Split } from './split';
export class CreatePaymentAmountUpdateRequest {
'amount': Amount;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* The reason for the amount update. Possible values: * **delayedCharge** * **noShow**
*/
'reason'?: CreatePaymentAmountUpdateRequest.ReasonEnum;
/**
* Your reference for the amount update request. Maximum length: 80 characters.
*/
'reference'?: string;
/**
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "CreatePaymentAmountUpdateRequest.ReasonEnum"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentAmountUpdateRequest.attributeTypeMap;
}
}
export namespace CreatePaymentAmountUpdateRequest {
export enum ReasonEnum {
DelayedCharge = <any> 'delayedCharge',
NoShow = <any> 'noShow'
}
}

View File

@@ -0,0 +1,60 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CreatePaymentCancelRequest {
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* Your reference for the cancel request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePaymentCancelRequest.attributeTypeMap;
}
}

View File

@@ -0,0 +1,78 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { Split } from './split';
export class CreatePaymentCaptureRequest {
'amount': Amount;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* Your reference for the capture request. Maximum length: 80 characters.
*/
'reference'?: string;
/**
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentCaptureRequest.attributeTypeMap;
}
}

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -65,11 +84,11 @@ export class CreatePaymentLinkRequest {
*/
'merchantOrderReference'?: string;
/**
* Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. When exceeding, the \"178\" error occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Whatever value is present under that key is going to be replaced by the real link id
* Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID.
*/
'metadata'?: { [key: string]: string; };
/**
* Defines a recurring payment type. Allowed values: * `Subscription` A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount.
* Defines a recurring payment type. Possible values: * **Subscription** A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount.
*/
'recurringProcessingModel'?: CreatePaymentLinkRequest.RecurringProcessingModelEnum;
/**
@@ -77,7 +96,7 @@ export class CreatePaymentLinkRequest {
*/
'reference': string;
/**
* The fields that have to be filled in by the shopper before completing the payment. Possible values: * `billingAddress` The address where to send the invoice. * `deliveryAddress` The address where the purchased goods should be delivered. * `shopperEmail` The shopper\'s email address. * `shopperName` The shopper\'s full name. * `telephoneNumber` The shopper\'s phone number.
* List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/online-payments/pay-by-link/api#shopper-information). Possible values: * **billingAddress** The address where to send the invoice. * **deliveryAddress** The address where the purchased goods should be delivered. * **shopperEmail** The shopper\'s email address. * **shopperName** The shopper\'s full name. * **telephoneNumber** The shopper\'s phone number.
*/
'requiredShopperFields'?: Array<CreatePaymentLinkRequest.RequiredShopperFieldsEnum>;
/**
@@ -111,7 +130,7 @@ export class CreatePaymentLinkRequest {
*/
'store'?: string;
/**
* When this is set to **true** and the `shopperReference` is provided, the payment details will be stored.
* When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. From api version 68 use `storePaymentMethodMode` instead.
*/
'storePaymentMethod'?: boolean;

View File

@@ -0,0 +1,78 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { Split } from './split';
export class CreatePaymentRefundRequest {
'amount': Amount;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* Your reference for the refund request. Maximum length: 80 characters.
*/
'reference'?: string;
/**
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentRefundRequest.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CreatePaymentReversalRequest {
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* Your reference for the reversal request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePaymentReversalRequest.attributeTypeMap;
}
}

View File

@@ -0,0 +1,69 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CreateStandalonePaymentCancelRequest {
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
/**
* The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel.
*/
'paymentReference': string;
/**
* Your reference for the cancel request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "paymentReference",
"baseName": "paymentReference",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreateStandalonePaymentCancelRequest.attributeTypeMap;
}
}

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -15,7 +34,7 @@ import { PaymentCompletionDetails } from './paymentCompletionDetails';
export class DetailsRequest {
'details': PaymentCompletionDetails;
/**
* The `paymentData` value from the `/payments` response. Required if the `/payments` response returns this value. In v67 and later, you will always get this value from the Component.
* The `paymentData` value from the `/payments` response. Required if the `/payments` response returns this value.
*/
'paymentData'?: string;
/**

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -28,7 +47,7 @@ export class GooglePayDetails {
*/
'storedPaymentMethodId'?: string;
/**
* **paywithgoogle**
* **googlepay**, **paywithgoogle**
*/
'type'?: GooglePayDetails.TypeEnum;
@@ -71,6 +90,6 @@ export namespace GooglePayDetails {
Debit = <any> 'debit'
}
export enum TypeEnum {
Paywithgoogle = <any> 'paywithgoogle'
Googlepay = <any> 'googlepay'
}
}

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -10,7 +29,7 @@
* Do not edit the class manually.
*/
export class Installments2 {
export class InstallmentsNumber {
/**
* Maximum number of installments
*/
@@ -26,7 +45,7 @@ export class Installments2 {
} ];
static getAttributeTypeMap() {
return Installments2.attributeTypeMap;
return InstallmentsNumber.attributeTypeMap;
}
}

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
@@ -32,6 +51,10 @@ export class LineItem {
*/
'imageUrl'?: string;
/**
* Item category, used by the RatePay payment method.
*/
'itemCategory'?: string;
/**
* Link to the purchased item.
*/
'productUrl'?: string;
@@ -80,6 +103,11 @@ export class LineItem {
"baseName": "imageUrl",
"type": "string"
},
{
"name": "itemCategory",
"baseName": "itemCategory",
"type": "string"
},
{
"name": "productUrl",
"baseName": "productUrl",

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

View File

@@ -1,3 +1,22 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```

Some files were not shown because too many files have changed in this diff Show More