Finance requests use your business API key in the x-api-key header. The base URL is https://api.tradevu.co/v1; the paths below are relative to it. For POST requests on behalf of an authorized sub-business, include optional businessId in the JSON payload. Documents and wallets must belong to the selected business.

Before requesting finance

Submit a bank statement and board resolution first. All four finance types require both documents to exist and be unexpired, including when saving drafts. Payable, receivable, and inventory finance require an existing wallet in the requested currency. Payment finance attempts to create that wallet if it does not already exist. The business must have a configured user. Non-draft payable, receivable, and payment requests are checked against the business’s active-finance limit for the corresponding type (default: one). The inventory route does not perform this limit check.

Submit finance documents

Send both hosted URLs in one JSON request. This endpoint registers the URLs; it does not upload file bytes. You can obtain a hosted URL using the business document upload endpoint.
Submitting again replaces the stored document of each type for the business and resets its expiry. Bank statements expire three months after submission; board resolutions expire two years after submission. HTTP 201 returns message: "Finance documents submitted successfully", error: false, and a data object containing bankStatement and boardResolution. Each document includes its _id, name, url, status, expiryDate, and business ID.

Common request fields

For submitted requests, all four finance types require currency and numeric requestedAmount. Supported currency values are NGN, USD, USDT, USDC, KES, GHS, and CNGN. Payable, receivable, and inventory requests also require managementType: fromLoan or separate. Omit isDraft or set it to false to submit for processing. Set it to true to save a draft.
Drafts skip many submission-only field checks, but still require valid finance documents and wallet setup. Supply currency and requestedAmount for drafts too: wallet operations use currency and the persisted finance record requires requestedAmount. A draft is not a way to bypass these prerequisites.

Payable finance

POST /api/finance/payables
For a non-draft request, purchaseOrderTitle, positive purchaseOrderAmount, purchaseOrderUrl, contractAgreement (a URL string), and financeCategory are required in addition to the common fields. Supply purchase-order details directly; this API does not use purchaseOrderIds. The purchase-order title, amount, and URL are required for all non-draft categories.

Receivable finance

POST /api/finance/receivables
For non-drafts, invoiceTitle, positive invoiceAmount, invoiceUrl, and contractAgreement (a URL string) are required in addition to the common fields. Supply invoice details directly; this API does not use invoiceIds. You may also supply contractEmployer using the contact structure shown above.

Inventory finance

POST /api/finance/inventory
For non-drafts, productCategory, productType, warehouseCountry, warehouseState, buyBackCurrency, numeric buyBackAmount, and numeric buyBackPeriod are required in addition to the common fields.

Payment finance

POST /api/finance/payments
For non-drafts, purposeOfFund, numeric duration, numeric interestRate, disburseMethod, and paymentReferenceType are required in addition to currency and requestedAmount. The current validator enforces a maximum duration of 3 days. Use CreditWallet to select wallet disbursement. Unlike payable and receivable finance, payment finance takes a document object for contractAgreement, rather than a URL string. A SWIFT reference can be sent as:
This is a partial example: include the other required payment fields. A non-draft SWIFT request with contactEmail sends a verification email to that address.

Drawdown payment

POST /api/finance/drawdown-payment Create a payment request against the business’s finance wallet. The wallet balance in the selected currency must cover amount. The request is saved as pending for approval; this call does not execute the payment. It does not require a PIN, a finance ID, or finance-document submission, and does not support drafts.
The required fields are paymentType, numeric amount, and currency. Use one of these payment types: purchase_order, invoice, transaction, freight_payment, or other. A crypto request can use:
HTTP 201 returns the following envelope (record abbreviated):
The full record includes the submitted recipient details, business and user IDs, and timestamps. Related IDs are returned as purchaseOrder and invoice. Insufficient funds returns HTTP 400 with Insufficient finance wallet balance. Missing crypto recipient details returns Address and network are required for USDT, USDC and CNGN payment requests. For other payments, a missing description returns Other payment type value is required when payment type is other.

Finance application responses

The payable, receivable, inventory, and payment finance application routes return HTTP 201 with this envelope:
This abbreviated example shows common fields. The full record includes finance documents and populated details under payableFinance, receivableFinance, inventoryFinance, or paymentFinance, depending on the route. Draft responses use status: "draft" and replace “created successfully” with “saved successfully as a draft”. Submitted requests use status: "pending"; creation does not mean finance has been approved or disbursed. The API finance controller exposes six POST routes and four GET routes. It does not expose draft editing, approval, or repayment routes.

List and retrieve records

All GET routes use x-api-key and return HTTP 200 on success. Add businessId as a query parameter to select an authorized sub-business. Lists and individual lookups are restricted to that business; finance results include records created through either the API or customer app.

List finance records

GET /api/finance/all
Results are sorted newest first. The response message is Finance fetched successfully. Each item includes business details; related finance details and loans remain IDs in this list. Use the detail route to retrieve populated records.

Get a finance record

GET /api/finance/{id} Replace {id} with the finance record’s 24-character hexadecimal ID returned by creation or listing.
The response contains message: "Finance fetched successfully", error: false, and the finance record under data, including populated business, finance details, and loans. Drafts can be retrieved by ID. An invalid ID returns HTTP 400. A missing record or a record belonging to another business returns HTTP 404 with Finance not found.

List drawdown payment requests

GET /api/finance/drawdown-payment
Accepts page (default 1), limit (default 10), businessId, currency, and these filters: Results are sorted newest first and include populated business, invoice, and purchaseOrder details when present. The response message is Drawdown payment requests fetched successfully. This route does not accept the finance list’s date or financeType filters.

Pagination response

Both list routes return arrays under data and pagination details under meta. An empty finance list looks like:

Get a drawdown payment request

GET /api/finance/drawdown-payment/{id}
The response wraps the payment record under data.pay and includes the current finance-wallet balance under data.walletBalance, in the payment’s currency. The backend gets or creates that finance wallet during lookup.
This abbreviated record omits recipient details and populated business, invoice, and purchaseOrder fields. Invalid IDs return HTTP 400. A missing request or one belonging to another business also returns HTTP 400, with Payment not found.

Errors

See Errors for the error envelope and the Finance group in the API Reference for request and response schemas.