get/refunds/{id}

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/refunds/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

The ID or reference of the refund.

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "authorization": "1441241970",
    "id": "071-R-KATMZP3",
    "amount": 349,
    "refunded": "Approved",
    "message": "Approved",
    "card_holder": "Jim Smith",
    "card_number": "512345XXXXXX2346",
    "card_expiry": "2023-05-31",
    "card_type": "MasterCard",
    "transaction_id": "071-R-KATMZP3",
    "reference": "18280",
    "currency": "USD",
    "successful": true,
    "transaction_date": "2015-09-03T10:59:30+10:00",
    "response_code": "00",
    "settlement_date": "2015-09-04",
    "rrn": "071RKATMZP3"
  },
  "test": true
}

Changes