Skip to main content
GET
Use this endpoint to retrieve the details of any document that was uploaded earlier.

Path Parameters

string
required
The unique identifier of the document.

Response Parameters

string
The unique identifier of the document uploaded.
string
Indicates the type of entity. In this case, it is document.
string
The reason you are uploading this document. Here, it is dispute_evidence.
integer
Indicates the size of the document in bytes.
string
Indicates the nature and format in which the document is uploaded. Possible values include:
  • image/jpg
  • image/jpeg
  • image/png
  • application/pdf
integer
Unix timestamp at which the document was uploaded.

Errors

Code: 400The API credentials passed in the API call differ from the ones generated on the Dashboard.
  • Different keys for test mode and live modes.
  • Expired API key.
Solution: The API keys must be active and entered correctly with no whitespace before or after the keys.
Code: 400
  • The id is not 14 characters long.
  • The id is not alphanumeric.
Solution: Use a valid document id.
Code: 400The id does not exist, or it belongs to a different merchant. The API returns the same error for both cases for security reasons (so callers cannot enumerate other merchants’ document ids).Solution: Pass a valid id that was created by this merchant account.