UNPKG

pcp-server-nodejs-sdk

Version:

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PAYONE-GmbH_PCP-server-nodeJS-SDK&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [![Coverage](https://sonarcloud.io/api/pr

21 lines (20 loc) 1.03 kB
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; }