Request
Curl
Response
Success
Parameters
id mandatory
: string The unique identifier of the document.
Parameters
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.
Errors
The API “ provided is invalid.- code: 400
- description: The 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
- description: - The id is not 14 characters long.
- The id is not alphanumeric.
- solution: Use a valid document id.