POST
/
merchants
/
{merchant_id}
/
documents
curl --request POST \
  --url https://api-sandbox.cashfree.com/partners/merchants/{merchant_id}/documents \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-partner-apikey: <x-partner-apikey>' \
  --form 'document_type=<string>'
{
  "document_type": "bank_statement",
  "uploaded_on": "2006-01-02T15:04:05-0700"
}

Headers

x-partner-apikey
string
required

Partner API Key

x-api-version
string
default:2023-01-01

API version to be used

Path Parameters

merchant_id
string
required

Unique identifier for the merchant

Body

multipart/form-data
document_type
string
file
file

Response

200
application/json
OK
document_type
string

Enter the valid document type as given

uploaded_on
string

time when document was uploaded