Disputes
Get file information
Retrieve information about a file that was previously uploaded.
get/files/{file_id}
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesdisputes, disputes:view
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
file_idstring required
The file identifier. It is always prefixed by file_.
Response
File information retrieved successfully
Example response
{
"id": "file_6lbss42ezvoufcb2beo76rvwly",
"filename": "receipt.jpg",
"purpose": "dispute_evidence",
"size": 1024,
"uploaded_on": "2019-05-17T16:48:52.0000000+00:00",
"_links": {
"self": {
"href": "https://{prefix}.api.checkout.com/files/file_6lbss42ezvoufcb2beo76rvwly"
},
"download": {
"href": "https://file-bucket.s3.eu-west-1.amazonaws.com/ucdac/ucdac/6lbss42ezvoufcb2beo76rvwly?X-Amz-Expires=3600&x-amz-security-token=FQoDYXdzENL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEa"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.