pcp-server-nodejs-sdk
Version:
[](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [ • 751 B
TypeScript
import type { FundSplit } from './FundSplit.js';
import type { PaymentReferencesForRefund } from './PaymentReferencesForRefund.js';
import type { PositiveAmountOfMoney } from './PositiveAmountOfMoney.js';
import type { ReturnInformation } from './ReturnInformation.js';
/**
* @description Request to refund a payment for a Checkout. It is possible to perform multiple partial refunds by providing an
* amount that is lower than the total captured amount.
* The returnReason can be provided for reporting and reconciliation purposes but is not mandatory.
*/
export interface RefundRequest {
amountOfMoney?: PositiveAmountOfMoney;
references?: PaymentReferencesForRefund;
return?: ReturnInformation;
fundSplit?: FundSplit;
}