pcp-server-nodejs-sdk
Version:
[](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [ • 1.03 kB
TypeScript
import type { PaymentReferences } from './PaymentReferences.js';
/**
* @description Object that holds all reference properties that are linked to this refund transaction.
* Extends the standard PaymentReferences with an additional captureReference field to support
* scenarios where a Checkout may contain multiple partial captures from different sellers.
*/
export interface PaymentReferencesForRefund extends PaymentReferences {
/**
* @description Merchant-provided reference of the capture that this refund should be applied to.
* A single Checkout can contain multiple partial captures.
* By supplying the captureReference the merchant ensures the refund is allocated to the correct
* capture.
*
* This value must match the merchantReference that was provided in the PaymentReferences of the
* original capture request.
* @example your-order-6372
* @maxLength 20
*/
captureReference?: string;
}