Skip to main content
POST
Chargeback file upload

Headers

X-API-KEY
string
required

API key assigned by Waffo. The key must be allowed to call the Chargeback update API

X-SIGNATURE
string
required

Signature of the meta string: sign its UTF-8 bytes with your RSA private key using SHA256withRSA, then Base64-encode the result. Same key pair and algorithm as the other APIs

Body

multipart/form-data

multipart/form-data request of the Chargeback file upload API

meta
object
required

File metadata as a JSON string. X-SIGNATURE is computed over this string, so send it exactly as signed

file
file
required

The binary data of the evidence file. Supported formats: JPG, JPEG, PNG and PDF. Maximum size: 10 MB

Response

200 - */*

OK

response data

code
string
Example:

0

msg
string
Example:

"success"

data
object

Chargeback file upload response