Skip to main content

ReversePaymentAllocationsInput

Reverses specific allocations of a payment. The originals are kept and a negative counter-entry is added.

input ReversePaymentAllocationsInput {
allocationIds: [ID!]!
expectedVersion: Int
paymentId: ID!
reason: String
}

Fields​

ReversePaymentAllocationsInput.allocationIds ● [ID!]! non-null scalar​

The IDs of the allocations to reverse. Each reversal is recorded as a counter-entry; the original allocation is never deleted.

ReversePaymentAllocationsInput.expectedVersion ● Int scalar​

The version of the payment you last read. The change is refused if someone else changed it since.

ReversePaymentAllocationsInput.paymentId ● ID! non-null scalar​

The ID of the payment whose allocations to reverse.

ReversePaymentAllocationsInput.reason ● String scalar​

Why the allocations are being reversed.

Member Of​

reversePaymentAllocations mutation