Object

Payment

Usage Example
query {
# Use this type in your queries
someQuery {
amount
amountWithSurcharge
canVoidPayment
client
convertedFromDepositId
}
}

Fields

amountDecimal
amountWithSurchargeDecimal
canVoidPaymentBoolean
clientClient
convertedFromDepositIdID

The deposit this account credit was converted from; null otherwise.

creditReferenceID

The account credit a deposit conversion funded; null unless this row converts a deposit.

dateDate
depositAlteredByPayment

The payment that took this deposit, which carries its method; null unless this row is a deposit.

depositApplicationKindDepositApplicationKind

What a row drawing on a deposit did with the money; null unless this row draws on a deposit.

depositApplications[Payment]

The live applications of a deposit to invoices, and its conversion to client credit, oldest first; null unless this row is a deposit.

depositLastActivityAtNaiveDateTime

When a deposit was last refunded or voided, else when it was taken; null unless this row is a deposit.

depositRemainingBalanceDecimal

What is left of a deposit after drawdowns, refunds and voids; null unless this row is a deposit.

donationDecimal
estimates[Estimate]
hasAlteredDepositBoolean
hasCreditAlteredByPaymentBoolean
hasVoidPaymentBoolean
hasVoidedPaymentBoolean
historicalIdString
idID
insertedAtNaiveDateTime
isAppliedDepositBoolean

Whether this row is a live drawdown: it applies a deposit to an invoice and is not voided.

isMarkAsRefundedRecordBoolean
locationLocation
methodTypeString
notesString
orders[Order!]!required
patientPatient
paymentReasonPaymentReason
providerProvider
referenceString
refundedAmountDecimal
surchargeDecimal
updatedAtNaiveDateTime
voidedBoolean
DEPRECATED: Please use `hasVoidPayment` instead