Skip to main content

Record Mercury Bank Transaction As Payment

POST 

/api/mercury/bank-transactions/:transaction/record-payment

Records an outgoing transfer as a payment against a bill (bill), purchase invoice (purchase-invoice) or vendor deposit (vendor-deposit), for the transfer amount and dated on the bank date, then matches it. The amount may not exceed what is still unpaid on the document, and the document must be in USD. Under a bill payment approval policy a purchase invoice payment no approval covered is still recorded (the money already moved) and flagged as paid outside approval.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token and the Record bank transactions permission (mercury.record). It records money that has already moved, so it never needs the Pay with Mercury permission (mercury.pay); roles and users that held mercury.pay when mercury.record was introduced were given it automatically.

Request​

Responses​

OK

Response Headers
    Content-Type