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

15 lines (14 loc) 640 B
import type { CancellationReason } from './CancellationReason.js'; import type { FundSplit } from './FundSplit.js'; export interface CancelPaymentRequest { cancellationReason?: CancellationReason; /** * @description Here you can specify the amount that you want to cancel (specified in cents, where single digit currencies * are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. * If left empty, the remaining open amount will be cancelled. * @minimum 1 * @maximum 999999999999 */ amount?: number; fundSplit?: FundSplit; }