QorePay logo
QorePay logo

Get a list of all available chargeback reasons

POST

https://gate.qorepay.com/api/v1/purchases/chargeback_reasons

HEADER PARAMS

  • authorization

    String

    required

    Set value to BEARER SECRET_KEY

  • content-type

    String

    required

    Set value to JSON

RESPONSES

  • 200

    OK

  • 400

    Invalid data submitted or request processing error

Query

Javascript


const options = {
  method: 'GET',
  headers: {
    accept: 'application/json',
    'content-type': 'application/json'
  }
};

fetch('https://gate.qorepay.com/api/v1/purchases/chargeback_reasons/', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Sample Response

JSON


[
  {
    "id": "2979e544-fbaf-434a-8f41-c31981c26b1d",
    "card_scheme": "mastercard",
    "reason_name": "No Cardholder Authorization",
    "reason_key": "no_cardholder_authorization",
    "reason_code": "4837",
    "reason_group": "fraud_related"
  },
  {
    "id": "aea9a0dd-99d6-48c5-87f1-b8a2e629ae6f",
    "card_scheme": "visa",
    "reason_name": "No Cardholder Authorization",
    "reason_key": "no_cardholder_authorization",
    "reason_code": "83",
    "reason_group": "fraud_related"
  }
]