Skip to main content
PATCH
Upload Merchant Document

Authorizations

X-Client-ID
string
header
required

Client app ID. You can find your app id in the merchant dashboard.

X-Client-Secret
string
header
required

Client secret key. You can find your secret in the merchant dashboard.

Path Parameters

merchant_id
string
required

The ID of the merchant to upload the document for.

Body

multipart/form-data

Document upload request. The body must be multipart/form-data.

file
file
required

The file to upload.

document_type
string
required

Type of document (INVOICE). Only invoice is supported currently.

Response

200 - application/json

Document uploaded successfully.

success
boolean
message
string
data
object