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.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 requirecurrency 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.
Payable finance
POST /api/finance/payables
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
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
productCategory, productType, warehouseCountry, warehouseState, buyBackCurrency, numeric buyBackAmount, and numeric buyBackPeriod are required in addition to the common fields.
Payment finance
POST /api/finance/payments
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:
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.
paymentType, numeric amount, and currency. Use one of these payment types: purchase_order, invoice, transaction, freight_payment, or other.
A crypto request can use:
201 returns the following envelope (record abbreviated):
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 HTTP201 with this envelope:
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 usex-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.
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
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 underdata and pagination details under meta. An empty finance list looks like:
Get a drawdown payment request
GET /api/finance/drawdown-payment/{id}
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.
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.