Invoices
Upload Invoice
This API endpoint allows you to upload a PDF document (e.g. an invoice or bill). In response, it returns a unique invoiceId that serves as a reference to the uploaded document. You can then include this invoiceId in the root level of the payload when creating a Payin or Payout order to associate the uploaded invoice with that transaction.
post/v3/invoices/create
Request
- Base URLhttps://sandbox-api.transfi.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
MIDstring required
Example:SABCDEF_SCT8YW_NA
Merchant or sub-merchant MID
Request body multipart/form-data
Example request
{
"direction": "deposit",
"userId": "UX-12345",
"invoiceType": "invoice"
}Response
Invoice uploaded successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.