Skip to main content

Download File

Get file download URL by file ID.

HTTP Request

  • GET /api/v3/fiat/downloadFile

Required Permission: P2P Deal Order, P2P Deal Ad

Request Parameters

NameTypeMandatoryDescription
fileIdstringyesFile ID

Response Parameters

NameTypeDescription
fileUrlstringFile download URL

Special Code Notes

CodeDescriptionAction
0SuccessUse fileUrl normally
80014File not yet security scannedRetry after 10 seconds
80015File security scan in progressRetry after 10 seconds
80016File unsafeFile blocked; cannot download

Response

{
"msg": "success",
"code": 0,
"data": {
"fileUrl": "https://public.mocortech.com/banner/F202606111154155770Y69T5nuSFc5Tg.png"
}
}