Upload Material Document
Last updated
Last updated
POST
https://rem-api-sandbox.pagsmile.com/remittance/collection/upload-material-document
Name | Type | Description |
---|---|---|
Refer to : common
Biz_data
Name | Type | Description |
---|---|---|
[material_id + file_name] is unique key
Note: 162************38 is pagsmile's test app id for sandbox
Please use your own app_id when testing.
Name | Type | Description |
---|---|---|
Content-Type*
string
application/json; charset=UTF-8
merchant_id*
long
Merchant ID
material_id*
long
Material ID
file_type*
Integer
File Type,
Refer to File Type
file_content*
string
File Content
Base64 encode string
Max size: 1M
file_name*
string
File Name
Supported formats:pdf、jpg、png、doc、docx
for example: xxx.pdf
file_desc
string
File Description
material_id
long
Material ID