@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
61 lines (60 loc) • 2.26 kB
TypeScript
import { Amount } from "./amount";
import { PlatformChargebackLogic } from "./platformChargebackLogic";
import { Split } from "./split";
import { ThreeDSecureData } from "./threeDSecureData";
export declare class RefundRequest {
/**
* This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.
*/
"additionalData"?: {
[]: string;
};
/**
* The merchant account that is used to process the payment.
*/
"merchantAccount": string;
"modificationAmount": Amount;
"mpiData"?: ThreeDSecureData | null;
/**
* The original merchant reference to cancel.
*/
"originalMerchantReference"?: string;
/**
* The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification
*/
"originalReference": string;
"platformChargebackLogic"?: PlatformChargebackLogic | null;
/**
* Your reference for the payment modification. This reference is visible in Customer Area and in reports. 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 more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).
*/
"splits"?: Array<Split>;
/**
* The transaction reference provided by the PED. For point-of-sale integrations only.
*/
"tenderReference"?: string;
/**
* Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.
*/
"uniqueTerminalId"?: string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: 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();
}