Create a payment
Creates a payment against an invoice. Use this for payments collected outside of Salesbricks, such as wire transfers or checks.
Authorizations
API key for authentication
Path Parameters
^([a-zA-Z\d\-]+)$Body
Payment method used for this payment.
WIRE- WireCHECK- CheckACH- Direct debitCREDIT_CARD- Credit Card
WIRE, CHECK, ACH, CREDIT_CARD Amount paid in the smallest currency unit.
Timestamp of the payment. Defaults to the current time.
Proof of payment such as a transaction reference or confirmation number.
Internal memo or notes about this payment.
Response
Unique identifier for the payment
The invoice number this payment was made against, snapshotted from the invoice version current when the payment was recorded — it does not change when the invoice is later regenerated, so it may differ from the invoice's top-level invoice_number. Falls back to the invoice's current number when no version is linked. Join payments to invoices by ID, not by number.
Identifier of the invoice version this payment was made against — the version current when the payment was recorded. Null only when the invoice has no versions (it was never generated).
The amount paid
the date at which this payment was paid
The currency in which the payment is denominated (e.g., USD, EUR)
Any errors that occured during this payment processing