Mercury API guide
mercury.com
Prepare Mercury reimbursement drafts with receipts, look up bank accounts, and filter transaction history by date, status, or category.
Actions and inputs
mercury reimbursement-planCheck the receipt file and expense details locally.
Inputs receipt path, amount, currency, date, merchant, category, notes
mercury reimbursement-draftAttach a receipt and prepare a reimbursement draft for review without submitting it.
Inputs receipt path, amount, currency, date, merchant, category, notes
account getLook up a bank account by ID.
Inputs account ID
transactions listList transactions across your accounts with optional filters.
Inputs date range, status, category, pagination cursor
Reimbursement drafts
- Create
Prepare your reimbursement draft, attach the receipt, and stop at Review without submitting.
Inputs Receipt, merchant, expense date, amount, currency, category, business purpose
- Read
Review your draft and compare the receipt with the extracted expense details.
Inputs Open draft, receipt
- Update
Correct receipt extraction errors or revise the business purpose before submission.
Inputs Open draft, corrected fields
- Delete
Cancel your unsubmitted draft using the form’s discard control if available. Do not alter submitted expenses.
Inputs Open draft, confirmation