Record a payment received outside PayGood
Records money the merchant collected directly — cash, check, Zelle, and similar. There is no processor to wait on, so the allocation is applied and the invoice balance moves in the same request: a partial amount leaves the invoice partially_paid, and the full remaining balance marks it paid. Note that effectiveAt drives the invoice paidAt, so back-dating a cash payment back-dates the paid date. The recording actor is taken from the authenticated principal and is never accepted in the body. Idempotent by idempotency key per invoice.
Authorizations
Merchant API key bearer token. Legacy wire prefixes api_key_ and api_ are also accepted.
Path Parameters
Invoice TypeID (inv_...) the payment applies to.
"inv_01hxy8m1nqk9g3x3y3p0azq2va"
Body
Out-of-band payload with idempotency key, merchant scope, method, and optional amount, effective date, and reference.
Idempotency key for safe retries of the recording per invoice.
1Merchant TypeID (mer_...) used for authorization scope.
How the money was received outside PayGood.
cash, check, bank_transfer, wire, zelle, venmo, cash_app, paypal, other Minor-unit amount received. Defaults to the full remaining balance. Must not exceed it.
0 < x <= 9007199254740991When the money actually arrived. Defaults to now, cannot be in the future, and drives the invoice paidAt — so back-dating a cash payment back-dates the paid date.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Check number, Zelle confirmation, or free-form note. Required when method is other.
1 - 500