Upload Merchant File
/v3/partner/file/uploadThis endpoint accepts multipart/form-data and requires a file upload.
File upload is not supported in the API Playground. Please use the cURL example or a server-side integration to test this endpoint.
What is this?
Upload a supporting document (such as a business registration document, IC copy, or bank statement) for a merchant under your Partner account.
When to Use
Use this endpoint when:
- A merchant needs to submit required documents during onboarding
- Updating documents for an existing merchant
How to Use
Step 1: Prepare the File
Choose the file you need to upload. Common formats include PDF, JPG, or PNG.
Step 2: Set the File Name
Give the file a descriptive name that indicates its contents.
Step 3: Make the POST Request
Send the file as multipart/form-data with the file and fileName parameters.
Step 4: Review the Response
Check the code field. If "SUCCESS", the file was uploaded and the fileUrl is returned.
Request Parameters
The file to upload.
Name of the file.
Example: "Testing"
Response Parameters
Contains fileName and fileUrl.
Example: (Refer to explanation below)
"SUCCESS" if the file was uploaded. Otherwise returns an error code.
Example: "SUCCESS"
Item object:
Name of the uploaded file.
Example: "testing"
URL where the file is stored.
Example: "https://rm-sandbox-document.oss-ap-southeast-3.aliyuncs.com/...pdf"