文件上传
Endpoint
Sandbox
POST https://preapi.futurepay-develop.com/api/v1/reference/uploadProduction
POST https://api.futurepay.global/api/v1/reference/uploadContent-Type
multipart/form-dataRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| merchantId | string | Yes | Merchant ID |
| evenType | string | Yes | Upload type (PAYER、EXPAND) |
| file | file | Yes | File to upload |
Request Example
form-data
| Key | Value |
|---|---|
| merchantId | 10000001 |
| evenType | PAYER |
| file | Netbank.png |
Response
| Field | Type | Description |
|---|---|---|
| materialId | string | Material ID |
| name | string | File name |
| path | string | File path |
| evenType | string | Upload type |
Response Example
{
"code": "0",
"msg": "succeeded",
"serverTime": 1755513374696,
"success": true,
"data": {
"materialId": "175551337469126061022",
"name": "Netbank.png",
"path": "business/acount/ee3bc1ced11548818cbba5aa4501803b.png",
"evenType": "PAYER"
}
}Updated about 1 month ago
Did this page help you?