POST
/
esignature
/
document
curl --request POST \
  --url https://sandbox.cashfree.com/verification/esignature/document \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --form document=DOCUMENT.pdf
{
  "status": "SUCCESS",
  "document_id": 21637861
}

Authorizations

x-client-id
string
header
required

Client ID. You can find your ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Headers

x-cf-signature
string

Send the signature if IP is not whitelisted

Body

multipart/form-data
Find the request parameters to upload the document

Find the request parameters to upload the document that requires an e-signature.

document
file
required

Upload the document that requires an e-sign. Allowed file type - PDF. Max file size allowed - 10MB.

Response

200
application/json
Success response for uploading the document for e-signature

Success response for Upload Document For E-Sign

status
string

It displays the status of the API request. Possible values are: - SUCCESS: File uploaded successfully.

Example:

"SUCCESS"

document_id
integer

It displays the unique ID created by Cashfree Payments to identify the uploaded document.

Example:

14125