Upload Documents
POST/api/v1/partner-profiles/upload/:accountId
Use this endpoint to upload documents to Splitit (e.g., agreements) for partners or merchants. You can add multiple documents at once. Authentication is by bearer token.
Request
Path Parameters
accountId stringrequired
Id of the added account
- multipart/form-data
Body
Files binary[]
PDF, TIFF, PNG or JPEG format
Responses
- 200
- 404
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
Files
object[]
FileId stringrequired
CreatedOn date-timerequired
FileName stringrequired
FileType stringrequired
FileSize stringrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true,
"Files": [
{
"FileId": "string",
"CreatedOn": "2024-06-06T16:41:09.475Z",
"FileName": "string",
"FileType": "string",
"FileSize": "string"
}
]
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Loading...