putChargebackDocumentsId
Update a chargebackDocument. A chargebackDocument resource represents a file related to a Chargeback.
In: header
Path Parameters
The ID of this chargeback document.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Chargeback Document Request
Update Chargeback Document Request
The type of the file that holds this chargebackDocument. The value is set when the file is properly integrated, otherwise will be null.
jpg- JPG filejpeg- JPEG filegif- GIF filepng- PNG filepdf- PDF filetiff- TIFF filetif- TIF file
Value in
- "jpg"
- "jpeg"
- "gif"
- "png"
- "pdf"
- "tiff"
- "tif"
The reference of this chargeback document is stored as a text string and must be between 1 and 100 characters long, with the value being set when the file is properly integrated, otherwise it will be null.
The description of this chargebackDocument. This field is stored as a text string and must be between 1 and 100 characters long.
The name of this chargeback document holds the real file name used by the user, stored as a text string and must be between 1 and 100 characters long.
The source of the document.
Value in
- "merchant"
- "issuer"
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X PUT "https://example.com/chargebackDocuments/t1_chd_679a4a2ba49405540af4856" \ -H "Content-Type: application/json" \ -d '{ "chargeback": "t1_chb_679918b34232ae6145ec03e", "ref": "p1_chd_67b31fca23feed2b88d8a59.pdf", "type": "pdf", "name": "Test PDF copy.pdf", "description": "Test PDF copy.pdf", "inactive": 0, "frozen": 0, "documentSource": "merchant" }'{ "response": { "data": [ { "id": "p1_chd_67b31fca23feed2b88d8a59", "created": "2025-02-17 06:38:50.1502", "modified": "2025-02-17 06:38:50.1502", "creator": "t1_log_5d49bbb9bd62b95c1378542", "modifier": "t1_log_5d49bbb9bd62b95c1378542", "chargeback": "t1_chb_679918b34232ae6145ec03e", "ref": "p1_chd_67b31fca23feed2b88d8a59.pdf", "type": "pdf", "name": "Test PDF copy.pdf", "description": "Test PDF copy.pdf", "inactive": 0, "frozen": 0, "status": "created", "documentSource": "merchant" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}