@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
109 lines (108 loc) • 3.69 kB
TypeScript
import { Amount } from "./amount";
import { AmountAdjustment } from "./amountAdjustment";
import { AuthorisationDecisionRequest } from "./authorisationDecisionRequest";
import { BalanceMutation } from "./balanceMutation";
import { MerchantData } from "./merchantData";
import { PaymentInstrument } from "./paymentInstrument";
import { ResourceReference } from "./resourceReference";
import { ThreeDSecure } from "./threeDSecure";
import { TransactionRulesResult } from "./transactionRulesResult";
import { TransactionScoring } from "./transactionScoring";
import { ValidationResult } from "./validationResult";
export declare class RelayedAuthorisationRequest {
"accountHolder"?: ResourceReference | null;
"amount"?: Amount | null;
/**
* The amount adjustments in the transaction.
*/
"amountAdjustments"?: Array<AmountAdjustment>;
/**
* The authorization code for the payment.
*/
"authCode"?: string;
"authorisationDecision"?: AuthorisationDecisionRequest | null;
/**
* The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**
*/
"authorisationType"?: string;
"balanceAccount"?: ResourceReference | null;
/**
* The list of balance mutations per event.
*/
"balanceMutations"?: Array<BalanceMutation>;
/**
* The unique identifier of the balance platform.
*/
"balancePlatform"?: string;
/**
* The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.
*/
"entryMode"?: string;
/**
* The environment from which the webhook originated. Possible values: **test**, **live**.
*/
"environment"?: string;
/**
* The unique identifier of the transfer.
*/
"id"?: string;
"merchantData"?: MerchantData | null;
"originalAmount"?: Amount | null;
"paymentInstrument"?: PaymentInstrument | null;
/**
* The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.
*/
"processingType"?: string;
/**
* The reference of the payment.
*/
"reference"?: string;
/**
* The risk score provided by the card schemes.
*/
"schemeRiskScore"?: number;
/**
* The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.
*/
"schemeTraceId"?: string;
/**
* The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.
*/
"schemeUniqueTransactionId"?: string;
/**
* The list of transaction scores.
*/
"scores"?: Array<TransactionScoring>;
"threeDSecure"?: ThreeDSecure | null;
"transactionRulesResult"?: TransactionRulesResult | null;
/**
* Type of notification.
*/
"type"?: RelayedAuthorisationRequest.TypeEnum;
/**
* Contains the checks that Adyen performed to validate the payment and the result of each.
*/
"validationResult"?: Array<ValidationResult>;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace RelayedAuthorisationRequest {
enum TypeEnum {
BalancePlatformAuthorisationRelayed = "balancePlatform.authorisation.relayed"
}
}