Documents API

Securely send dispute-related documents to Razorpay using the Documents API.


Use the Documents APIs to securely upload and share documents with Razorpay.

The Documents entity has the following fields:

id

string The unique identifier of the document uploaded.

entity

string Indicates the type of entity. In this case, it is document.

purpose

string The reason you are uploading this document. Here, it is dispute_evidence.

size

integer Indicates the size of the document in bytes.

mime_type

string Indicates the nature and format in which the document is uploaded. Possible values include:

  • image/jpg
  • image/jpeg
  • image/png
  • application/pdf

created_at

integer Unix timestamp at which the document was uploaded.


Was this page helpful?