Record transaction
Records a payment you received outside Streamlined (a check, a bank transfer, cash, or a card taken elsewhere), a credit note, or a debit note. Nothing is charged or collected.
A payment is applied to the invoices you list in the same request. The amounts have to come to the whole payment, and none can be more than its invoice owes. If they don’t, nothing is recorded. A credit note can’t be more than its invoice owes. A debit note adds to what the invoice owes.
This changes what your customer owes, and it’s final. The invoices’ balances change at once, and the transaction goes to QuickBooks, NetSuite, Shopify, or HubSpot if you’ve connected them. It can’t be undone from the API or the Streamlined app.
Send an Idempotency-Key. A retry with the same key within 24 hours returns the first
transaction with 200 instead of recording it twice. If the first request ended in 409
with payment_not_applied, the retry gets that 409 again. See
Record and apply payments for every error code.
Authorizations
Headers
Your own unique value for this transaction, up to 255 characters. Retrying with the same key
within 24 hours returns the transaction the first request recorded, rather than recording
another. If the first request ended in 409 with payment_not_applied, the retry gets that
409 again.
255Body
Response
A retry with an Idempotency-Key already used. Returns the transaction the first request recorded.
Returned by GET /transactions/:id, Record transaction, and Apply payment to invoices. Note:
this returns the transaction object directly, not wrapped in a transaction key. This
differs from /orders, /invoices, /customers etc, which wrap their resource. Kept this way
for v1 backwards compatibility.