檔案上傳
此 API 有以下頻次限制:
- 單個 IP 1秒內最多請求 100 次,達到限制會block 該 IP 1 分鐘。
- 同個平台特店 1 秒內最多請求 20 次,超出的請求會被攔截。
介面路徑
| 請求方式 | API 路徑 |
|---|---|
| POST | 生產環境: file-api.shoplinepayments.com/api/v1/kyc/file/upload 沙盒環境: file-api-sandbox.shoplinepayments.com/api/v1/kyc/file/upload |
請求電文
Http.header 參數
Content-TypeString必填
固定值:multipart/form-data
platformIdString必填
SLP 平台 ID,平台特店必填
merchantIdString必填
SLP 特店 ID
Http.form
filefile必填
需上傳的檔案,最大支援 10 MB
回應電文
處理結果 http.statusCode
* 500 /429 /400:處理異常
* 200:處理成功
fileIdString必填
SLP 分配的檔案 ID