Disputes
Upload file
Upload a file to use as evidence in a dispute. Your file must be in either JPEG/JPG, PNG or PDF format, and be no larger than 4MB.
post/files
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesdisputes, disputes:provide-evidence
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"file": "file=@/path/receipt.png;type=image/png",
"purpose": "dispute_evidence"
}Response
File uploaded successfully
Example response
{
"id": "file_6lbss42ezvoufcb2beo76rvwly",
"_links": {
"self": {
"href": "https://{prefix}.api.checkout.com/files/file_6lbss42ezvoufcb2beo76rvwly"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.