Skip to content

Commit ec99338

Browse files
[payment] Automated update from Adyen/adyen-openapi@5d56a31
1 parent f80ccb5 commit ec99338

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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/responseAdditionalDataCommon.ts

Lines changed: 4 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
/**
@@ -662,8 +662,9 @@ export class ResponseAdditionalDataCommon {
662662

663663
export namespace ResponseAdditionalDataCommon {
664664
export enum FraudResultTypeEnum {
665+
Amber = 'AMBER',
665666
Green = 'GREEN',
666-
Fraud = 'FRAUD'
667+
Red = 'RED'
667668
}
668669
export enum FraudRiskLevelEnum {
669670
VeryLow = 'veryLow',

0 commit comments

Comments
 (0)