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

16 lines (15 loc) 751 B
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; }