1. CancelOrRefund
EVO Payment Gateway API
  • Gateway Integration
    • Version Record
    • CardInfoLink Gateway API Integration Guide
      • Online payments scenes
        • DCC
        • Tokenization
        • Payment
        • 3DS Authentication
        • Capture
        • Cancel
        • Refund
        • Merchandise Credit
        • Network token management
        • Cancel or Refund
        • Recapture
        • Recurring
      • Security Requirements and Message Header
        • Message protocol
        • Signature
        • Card Information Encryption
        • PIN Encryption
      • Offline payments scenes
        • Pre-authorization
        • Payment
        • Capture
        • Refund
        • Merchandise Credit
        • Cancel
        • Reversal
        • DCC
        • Recurring
      • Appendix
        • Response code
        • FAQ
        • Mastercard-Merchant Advice Code
        • Product Code
    • Offline API Specification
      • Payment
        • Payment
        • Payment
      • StandaloneCapture
        • StandaloneCapture
        • StandaloneCapture
      • Reversal
        • Reversal
      • MerchandiseCredit
        • MerchandiseCredit
        • MerchandiseCredit
      • Capture
        • Capture
        • Capture
      • TipsAdjustment
        • TipsAdjustment
        • TipsAdjustment
      • Cancel
        • Cancel
        • Cancel
      • MultipleCapture
        • MultipleCapture
        • MultipleCapture
      • FXRateInquiry
        • FXRateInquiry
        • FXRateInquiry
      • Refund
        • Refund
        • Refund
      • DCCToNon-DCC
        • DCCToNon-DCC
        • DCCToNon-DCC
      • ZPK
        • ZPK
      • Notification
        • Asynchronous notification for StandaloneCapture
        • Asynchronous notification for MultipleCapture
        • Asynchronous notification for Payment
        • Asynchronous notification for Capture
        • Asynchronous notification for Refund
        • Asynchronous notification for MerchandiseCredit
        • Asynchronous notification for Cancel
    • Online API Specification
      • PaymentMethod
        • PaymentMethod
        • PaymentMethod
        • PaymentMethod
        • PaymentMethod
      • Payment
        • Payment
        • Payment
        • Payment
      • Refund
        • Refund
        • Refund
      • Cancel
        • Cancel
        • Cancel
      • Capture
        • Capture
        • Capture
      • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
      • MerchandiseCredit
        • MerchandiseCredit
        • MerchandiseCredit
      • CancelOrRefund
        • CancelOrRefund
          POST
        • CancelOrRefund
          GET
      • TransactionHistoryInquiry Copy
        • TransactionHistoryInquiry
      • MultipleCapture
        • MultipleCapture
        • MultipleCapture
      • Cryptogram
        • Cryptogram
        • Cryptogram
      • StandaloneCapture
        • StandaloneCapture
        • StandaloneCapture
      • Recapture
        • Recapture
        • Recapture
      • AsynchronousNotification
        • Asynchronous notification for Multiple Capture
        • Asynchronous notification for PaymentMethod
        • Asynchronous notification for PaymentInstrument
        • Asynchronous notification for Payment
        • Asynchronous notification for Merchandise Credit
        • Asynchronous notification for Refund
        • Asynchronous notification for Capture
        • Asynchronous notification for Cancel
        • Asynchronous notification for Recapture
        • Asynchronous notification for Cryptogram
        • Asynchronous notification for Network Token update
        • Asynchronous notification for Standalone Capture
        • Asynchronous notification for Network Token authentication finished
      • HealthCheck
        • HealthCheck
      • FX Rate inquiry
        • FXRateInquiry
        • FXRateInquiry
  1. CancelOrRefund

CancelOrRefund

GET
/g2/v0/payment/acq/{aid}/evo.e-commerce.cancelOrRefund/{merchantTransID}

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Headers

Bodyapplication/json

Example
{
    "result": {
        "code": "string",
        "message": "string",
        "pspResponseCode": "string",
        "pspMessage": "string"
    },
    "paymentMethod": {
        "paymentAccountReference": "string",
        "type": "string",
        "accountUpdateIndicator": "Y",
        "token": {
            "value": "string",
            "fingerprint": "string",
            "createTime": "2019-08-24T14:15:22.123Z",
            "updateTime": "2019-08-24T14:15:22.123Z"
        },
        "card": {
            "first6No": "string",
            "last4No": "stri",
            "paymentBrand": "string",
            "fundingType": "string",
            "holderName": "string",
            "issuingBank": "string",
            "issuingCountry": "str",
            "issuerCountry": "str",
            "isCommercial": true,
            "updatedCardInfo": "string",
            "cardInfoEncryptMethod": "RSA",
            "creditFlagOrig": "01"
        },
        "networkToken": {
            "tokenRequesterID": "string"
        }
    },
    "pspData": {
        "name": "American_Express",
        "sponsorCode": "string",
        "extra": "string"
    },
    "cancelOrRefund": "Cancel",
    "cancel": {
        "status": "Success",
        "failureCode": "string",
        "failureReason": "string",
        "pspFailureCode": "string",
        "pspFailureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "2019-08-24T14:15:22.123Z",
            "traceNum": "string",
            "retrievalReferenceNum": "string"
        },
        "pspTransInfo": {
            "pspTransID": "string",
            "pspTransTime": "2019-08-24T14:15:22.123Z",
            "authorizationCode": "string",
            "merchantAdviceCode": "01"
        }
    },
    "refund": {
        "status": "string",
        "failureCode": "string",
        "failureReason": "string",
        "pspFailureCode": "string",
        "pspFailureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "2019-08-24T14:15:22.123Z",
            "traceNum": "string",
            "retrievalReferenceNum": "string"
        },
        "pspTransInfo": {
            "pspTransID": "string",
            "pspTransTime": "2019-08-24T14:15:22.123Z",
            "authorizationCode": "string",
            "merchantAdviceCode": "01"
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "string",
            "date": "string",
            "markup": "string",
            "markupCoefficient": "string"
        }
    },
    "payment": {
        "status": "Verifying",
        "failureCode": "string",
        "failureReason": "string",
        "pspFailureCode": "string",
        "pspFailureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "2019-08-24T14:15:22.123Z",
            "traceNum": "string",
            "retrievalReferenceNum": "string"
        },
        "pspTransInfo": {
            "pspTransID": "string",
            "pspTransTime": "2019-08-24T14:15:22.123Z",
            "authorizationCode": "string"
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "string",
            "date": "string",
            "markup": "string",
            "markupCoefficient": "string"
        }
    },
    "metadata": "string"
}
Previous
CancelOrRefund
Next
TransactionHistoryInquiry
Built with