User Manual
Overview
Get Balances
Balance History
Create Deposit Order
Get Deposit Order Detail
Cancel Deposit Order
Create Withdraw Order
Get Withdraw Order Detail
Cancel Withdraw Order
Create Exchange Order
Get Exchange Order Detail
Upload File
Customer Rate
Home/File

Upload File

Last Updated: 2026-05-29
HTTP Request
POST/v1/file

Auth: Signed API key required

Permissions: Valid signed API key required

Signed Location: Query string

Content-Type: multipart/form-data

Upload a file using multipart/form-data and receive its id and file_url.

Headers

Parameter NameRequiredTypeNotes
X-MBX-APIKEYtruestringProvisioned ACCESS_ID. x-access-id is also accepted by the backend, but X-MBX-APIKEY is recommended.

Request Parameters

Parameter NameRequiredTypeNotes
timestamptrueint64Request timestamp in milliseconds. Microseconds are also accepted and normalized by the server.
recvWindowfalseintegerOptional receive window. Default 5000, maximum 60000.
signaturetruestringHMAC-SHA256 signature of the signed payload. RSA and Ed25519 are also supported when provisioned.

Request Body

Parameter NameRequiredTypeNotes
filetruebinarySingle uploaded file in multipart/form-data.

Return Parameters

Parameter NameRequiredTypeNotes
data.idtrueintegerUploaded file id.
data.file_urltruestringFile URL.
Notes
  • Validate the magic header signature before accepting the file.
  • Max size 50MB; images max 25MB; filename max 128 characters.

Request Example

curl -X POST 'https://<host>/v1/file?timestamp=<TIMESTAMP>&recvWindow=5000&signature=<SIGNATURE>' \
  -H 'X-MBX-APIKEY: <ACCESS_ID>' \
  -F 'file=@/path/to/proof.pdf'
About
  • About Us
  • Terms of Service
  • Privacy Policy
Products
  • Deposit
  • Withdrawal
  • Exchange
Developers
  • API Docs
  • API Management
Support
  • Help Center
Community
Theme
    • About Us
    • Terms of Service
    • Privacy Policy
    • Deposit
    • Withdrawal
    • Exchange
    • API Docs
    • API Management
    • Help Center
© 2020-2026 PayAny.com. All rights reserved.