Skip to content

Commit d6eaf23

Browse files
[payment] Automated update from Adyen/adyen-openapi@ec69ba3
1 parent ecc0f79 commit d6eaf23

7 files changed

Lines changed: 38 additions & 7 deletions

File tree

sdk-generation-log/payment.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "payment",
3+
"project": "node",
4+
"generatedAt": "2026-05-01T07:58:28Z",
5+
"openapiCommitSha": "ec69ba3c5e5893b5bff377652eb0a65bdb9bdc24",
6+
"automationCommitSha": "4c065f4314ebb286f05dc38fd80f19058281c63c",
7+
"libraryCommitSha": "ecc0f79b39a3c2103d00600e00aec9cade27ddaf"
8+
}

src/typings/payment/modificationResult.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ export namespace ModificationResult {
6464
DonationReceived = '[donation-received]',
6565
TechnicalCancelReceived = '[technical-cancel-received]',
6666
VoidPendingRefundReceived = '[voidPendingRefund-received]',
67-
Authorised = 'Authorised'
67+
Authorised = 'Authorised',
68+
Refused = 'Refused',
69+
Error = 'Error'
6870
}
6971
}

src/typings/payment/paymentRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class PaymentRequest {
142142
*/
143143
"shopperInteraction"?: PaymentRequest.ShopperInteractionEnum;
144144
/**
145-
* The combination of a language code and a country code to specify the language to be used in the payment.
145+
* The language for the payment. The value combines the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if your front-end global configuration does not set the `locale`.
146146
*/
147147
"shopperLocale"?: string;
148148
"shopperName"?: Name | null;

src/typings/payment/paymentRequest3d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class PaymentRequest3d {
122122
*/
123123
"shopperInteraction"?: PaymentRequest3d.ShopperInteractionEnum;
124124
/**
125-
* The combination of a language code and a country code to specify the language to be used in the payment.
125+
* The language for the payment. The value combines the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if your front-end global configuration does not set the `locale`.
126126
*/
127127
"shopperLocale"?: string;
128128
"shopperName"?: Name | null;

src/typings/payment/paymentRequest3ds2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class PaymentRequest3ds2 {
115115
*/
116116
"shopperInteraction"?: PaymentRequest3ds2.ShopperInteractionEnum;
117117
/**
118-
* The combination of a language code and a country code to specify the language to be used in the payment.
118+
* The language for the payment. The value combines the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if your front-end global configuration does not set the `locale`.
119119
*/
120120
"shopperLocale"?: string;
121121
"shopperName"?: Name | null;

src/typings/payment/responseAdditionalDataCard.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010

1111
export class ResponseAdditionalDataCard {
12+
/**
13+
* This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
14+
*/
15+
"cardAltID"?: string;
1216
/**
1317
* The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234
1418
*/
@@ -51,6 +55,12 @@ export class ResponseAdditionalDataCard {
5155
static readonly mapping: {[index: string]: string} | undefined = undefined;
5256

5357
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
58+
{
59+
"name": "cardAltID",
60+
"baseName": "cardAltID",
61+
"type": "string",
62+
"format": ""
63+
},
5464
{
5565
"name": "cardBin",
5666
"baseName": "cardBin",

src/typings/payment/responseAdditionalDataCommon.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ export class ResponseAdditionalDataCommon {
9898
*/
9999
"fraudManualReview"?: string;
100100
/**
101-
* The fraud result properties of the payment.
101+
* The fraud result properties of the payment. Possible values: * AMBER * GREEN * RED
102102
*/
103103
"fraudResultType"?: ResponseAdditionalDataCommon.FraudResultTypeEnum;
104104
/**
105-
* The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. The possible return values are: * veryLow * low * medium * high * veryHigh
105+
* The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. Possible values: * veryLow * low * medium * high * veryHigh
106106
*/
107107
"fraudRiskLevel"?: ResponseAdditionalDataCommon.FraudRiskLevelEnum;
108108
/**
@@ -142,6 +142,10 @@ export class ResponseAdditionalDataCommon {
142142
*/
143143
"merchantReference"?: string;
144144
/**
145+
* Indicates the processing flow. Possible values: * **sale**: You do not need to separately capture the funds, because capture happens automatically as part of the transaction. * **auth**: If you have not [configured automatic capture for the transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must manually capture the funds.
146+
*/
147+
"networkProcessingMode"?: string;
148+
/**
145149
* Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.
146150
*/
147151
"networkTxReference"?: string;
@@ -471,6 +475,12 @@ export class ResponseAdditionalDataCommon {
471475
"type": "string",
472476
"format": ""
473477
},
478+
{
479+
"name": "networkProcessingMode",
480+
"baseName": "networkProcessingMode",
481+
"type": "string",
482+
"format": ""
483+
},
474484
{
475485
"name": "networkTxReference",
476486
"baseName": "networkTxReference",
@@ -662,8 +672,9 @@ export class ResponseAdditionalDataCommon {
662672

663673
export namespace ResponseAdditionalDataCommon {
664674
export enum FraudResultTypeEnum {
675+
Amber = 'AMBER',
665676
Green = 'GREEN',
666-
Fraud = 'FRAUD'
677+
Red = 'RED'
667678
}
668679
export enum FraudRiskLevelEnum {
669680
VeryLow = 'veryLow',

0 commit comments

Comments
 (0)