Linkpay API
  1. Refund
Linkpay API
  • Guide
    • LinkPay Overview
    • How does LinkPay work
    • Merchant Onboarding
    • How to Integrate with LinkPay
    • Signature and Message Header
    • Customization Service
    • Payment methods list
    • Payment Method Variant list
    • Result Code
    • Version Record
    • Agent Toolkit Overview
    • Agent Toolkit Quick Start
    • LinkPay Copy
  • Guide Copy
    • LinkPay Overview
    • How to Integrate with LinkPay
    • How does LinkPay work
    • Signature and Message Header
    • Customization Service
    • Payment methods list
    • Version Record
    • Result Code
    • Merchant Onboarding
    • Payment Method Variant list
    • Agent Toolkit Overview
    • Agent Toolkit Quick Start
    • LinkPay Copy
  • API
    • LinkPay
      • Result Code
      • LinkPay
    • Retrieve LinkPay
      • Result Code
      • Retrieve LinkPay
    • Refund
      • Result Code
      • Refund
        POST
    • Retrieve LinkPay Refund
      • Result Code
      • Retrieve LinkPay Refund
    • Notification
      • Result Code
      • LinkPay Notification
      • Refund Notification
  1. Refund

Refund

POST
/g2/v0/payment/mer/{sid}/evo.e-commerce.linkpayRefund/{merchantOrderID of LinkPay}
Last modified:2025-06-06 03:20:45

Request

Path Params

Body Params application/json

Example
{
    "merchantTransInfo": {
        "merchantTransID": "T506061749179941202",
        "merchantTransTime": "2025-06-06T11:19:01+08:00"
    },
    "transAmount": {
        "currency": "HKD",
        "value": "1.00"
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/g2/v0/payment/mer//evo.e-commerce.linkpayRefund/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantTransInfo": {
        "merchantTransID": "T506061749179941202",
        "merchantTransTime": "2025-06-06T11:19:01+08:00"
    },
    "transAmount": {
        "currency": "HKD",
        "value": "1.00"
    }
}'

Responses

🟢200成功
application/json
Body

Examples
{
    "merchantOrderInfo": {
        "merchantOrderID": "T506061749179793117",
        "status": "Refunding"
    },
    "result": {
        "code": "S0000",
        "message": "Success"
    },
    "refund": {
        "merchantTransInfo": {
            "merchantTransID": "T506061749179941202",
            "merchantTransTime": "2025-06-06T11:19:01+08:00"
        },
        "evoTransInfo": {
            "evoTransID": "pay_250606111901000156492428",
            "traceNum": "026492",
            "evoTransTime": "2025-06-06T03:19:01Z",
            "retrievalReferenceNum": "515711112333",
            "useInternalApiMapping": false
        },
        "pspTransInfo": {
            "pspTransID": "305157119428192",
            "pspTransTime": "2025-06-06T03:19:01Z",
            "authorizationCode": "006266"
        },
        "transAmount": {
            "currency": "HKD",
            "value": "1.00"
        },
        "status": "Success"
    }
}
Modified at 2025-06-06 03:20:45
Previous
Result Code
Next
Result Code
Built with