GigPaymentPatch
Any subset of writable fields. At least one is required. Unknown or read-only fields are rejected.
- amountType: number | null
Minor units. Fixed when percent_of_total is empty; otherwise computed and returned, never stored.
- dueType: string | nullFormat: date
_at full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- externalType: string | null
_invoice _id The invoice in the band’s books (QuickBooks, Stripe).
- externalType: string | nullFormat: uri
_invoice _url - gigType: string | nullFormat: uuid
_contract _id The contract this payment settles. With percent_of_total, the base is that contract’s total; without a contract, the gig’s. References gig_contracts.id.
- gigType: string | nullFormat: uuid
_id References gigs.id.
- labelType: string | null
"Retainer", "Balance", "Addendum 1".
- methodType: string | nullenumvaluesbankcheckcardothernull
- notesType: string | null
- paidType: string | nullFormat: date
_at full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- percentType: number | null
_of _total 0 to 100. When set, amount is computed from it and follows the total.
- surchargeType: number | null
_percent Added to the amount when paid this way, e.g. 3 for cards.