Chargeback Representment Upload (Coming Soon)

This API allows you to upload representments and the necessary information to challenge transactions easily. This simplifies the process of challenging a shopper's claim of an illegitimate transaction charged to their account.


Request Content

Query Parameters

Parameter Name

Description

Example

chargeback_id

the event ID in CB911

1234

mid

optional, should be sent only if request is being made on behalf of a linked BlueSnap account

1234

Requirements

  • The request should be multipart/form-data
  • In the body part containing the file, the Content-Disposition header should be "representment_file"
  • PDF and TIFF are the accepted file formats
  • The file size limit on production is 10MB
  • The file size limit on sandbox is 0.2MB
  • Multiple files should be uploaded separately, each one in a separate request
  • On production, only one upload is allowed per case

Response Details

If successful, the response HTTP status code is 200 OK.

Back to Top


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/chargeback/upload_representment?chargeback_id=154 \
     --H 'Authorization: Basic QVBJXzE0NDQ2NTAyMDMxNDQ5NDA0MjIzNjU6QkxVRTEyMw==' \
     --H 'Content-Type: multipart/form-data'
     --F '[email protected]' \
     --F 'chargeback_id="154"'
curl -v -X POST https://sandbox.bluesnap.com/services/2/chargeback/upload_representment?chargeback_id=154&mid=256425 \
     --H 'Authorization: Basic QVBJXzE0NDQ2NTAyMDMxNDQ5NDA0MjIzNjU6QkxVRTEyMw==' \
     --H 'Content-Type: multipart/form-data'
     --F '[email protected]' \
     --F 'chargeback_id="154"'