Chargebacks

Dispute documentation

If the merchant decides to dispute the chargeback, they must submit the corresponding documentation. For this purpose, the following API is available.

Request

To use the evidence API, you must point to the following endpoint:

PUT https://api.stage.bamboopayment.com/v2/api/purchase/{purchaseId}/chargeback/{chargebackId}/evidence

📘

Remember to include your merchant’s Private Key in the request headers.

Example of the request

{
  "fileName": "file-4.jpg",
  "description": "Bamboo test",
  "content": "base64 content",
}

ParameterTypeMandatory?Description
fileNamestringYesFile name to upload.
descriptionstringYesFile description.
contentstringYesFile in Base64 format.

Requirements

  • The allowed formats are PDF, JPEG and JPG.
  • The file must be uploaded in Base64 format.
  • The maximum file size per upload is 1MB.
  • Only one file can be uploaded per API call.