Download Chargeback Evidence

Use this API to get chargeback details for chargeback transactions through the Pay1st Gateway

Used in Gateway Integration

📘

NOTE This API feature is still in a beta state

Overview

Chargeback's Details can be viewed with the Pay1st gateway after a payment has been processed. This API is a GET request returns the details of the chargeback.

Pre Requisites

API Description

HTTP Headers

Header NameDescription
AccessTokenThis is the Access Token field returned from the Authentication - Generate Access Token response. This should be in the format Bearer <AccessToken>

URL Format

https://<payments_url>/pay1st/transactions/chargebacks/<chargeback_reference>/evidences/<upload_reference>/download

Chargeback Status URL Parameters

These are the list of POST parameters that needs to be passed from the Pay1st Partner to the Pay1st Gateway.

ParamFormatMandatoryDescription
chargebackReferenceDecimalYThe chargeback reference
uploadReferenceDecimalYThe upload reference

Success Response

Valid HTTP Success Status Codes:

HTTP Status CodeNameDescription
200SuccessThis indicates that the request has been successful.
400Bad RequestAn invalid AccessTokenmight be used

HTTP Response Body

The response body will be the original uploaded document with the Content-Typeheader set to one of application/pdf, image/jpeg, image/png and the response body containing the bytes of the Content-Type

Error Response

See Handling Error Codes for more details on handling error responses.