Refund


Endpoint

Method: POST

URI: /refund

Request

Field Description Required
transaction_id Transaction ID from an Auth or Charge response Y
amount Amount to be refunded - Default: Transaction Amount N

Response

{
    "status": "success",
    "code": 200,
    "message": "This transaction has been refunded.",
    "transaction": {
        "id": "C4A09AC4F3B333BC",
        "gateway": "DB5A25FA",
        "amount": "70.71",
        "refunded_amount": "70.71",
        "currency": "USD",
        "status": "refunded",
        "response": "This transaction has been refunded.",
        "is_captured": true
    }
}