文件上传

Endpoint

Sandbox

POST https://preapi.futurepay-develop.com/api/v1/reference/upload

Production

POST https://api.futurepay.global/api/v1/reference/upload

Content-Type

multipart/form-data

Request Parameters

ParameterTypeRequiredDescription
merchantIdstringYesMerchant ID
evenTypestringYesUpload type (PAYEREXPAND)
filefileYesFile to upload

Request Example

form-data

KeyValue
merchantId10000001
evenTypePAYER
fileNetbank.png

Response

FieldTypeDescription
materialIdstringMaterial ID
namestringFile name
pathstringFile path
evenTypestringUpload type

Response Example

{
  "code": "0",
  "msg": "succeeded",
  "serverTime": 1755513374696,
  "success": true,
  "data": {
    "materialId": "175551337469126061022",
    "name": "Netbank.png",
    "path": "business/acount/ee3bc1ced11548818cbba5aa4501803b.png",
    "evenType": "PAYER"
  }
}


Did this page help you?