1. Coupon Write-off
Merchant Connect API
  • 版本记录
  • Integration Guide
    • EC Payment
      • Merchant API
        • Overview
        • Payment
        • Payment Methods
        • Response code
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
        • Features
          • Account Status Inquiry (ASI)
          • COF
          • Multi-Currency Transaction
          • Recurring
          • Smart Routing
          • Transaction Retry
          • Payout
          • Authentication
            • 3D Secure
            • FIDO Authentication
            • Authentication only
          • Tokenization
            • Gateway Tokenization
            • Create a gateway token
            • Network Tokenization
            • Pay with gateway token
            • Manage token
            • Network Token update notification
            • Card Based Network Token
    • In-store Payment
      • Merchant API (线下卡支付)
        • ZPK
          • ZPK
        • Payment
          • Payment
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
  • API Explorer
    • API Rules
  • PaymentMethod
    • PaymentMethod
      POST
    • PaymentMethod
      PUT
    • PaymentMethod
      GET
    • PaymentMethod
      DELETE
  • FXRateInquiry
    • FXRateInquiry
      POST
    • FXRateInquiry
      GET
  • Payment
    • Payment
      POST
    • Payment
      GET
    • Payment
      PUT
  • Payout
    • Payout
      POST
    • Payout
      GET
  • Capture
    • Capture
      POST
    • Capture
      GET
  • Cancel
    • Cancel
      POST
    • Cancel
      GET
  • Refund
    • Refund
      POST
    • Refund
      GET
  • Cryptogram
    • Cryptogram
    • Cryptogram
  • CancelOrRefund
    • Cancel or Refund
    • Cancel or Refund
  • Notification
    • Notification for PaymentMethod
    • Notification for Payment
    • Notification for Capture
    • Notification for Cancel
    • Notification for Refund
    • Notification for DataSubmission
    • Notification for MPM Static QR Code
    • Notification for Token Status Update
    • Notification for Settlement
    • Notification for Reversal
    • Notification for Cryptogram
    • Notification for Payout
  • HealthCheck
    • HealthCheck
  • ZPK
    • ZPK
  • 附录
    • Result Code
    • Appendix: Payment Method Variant
    • Appendix: Payment Brands
  • Coupon Write-off
    • Coupon Write-off
      POST
  • Coupon Reversal
    • Coupon Reversal
  1. Coupon Write-off

Coupon Write-off

POST
/g2/v1/payment/mer/{sid}/couponWriteoff
券码核销

请求参数

Path 参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "merchantTransInfo": {
        "merchantTransID": "string",
        "merchantTransTime": "string"
    },
    "transInitiator": {
        "terminalID": "string",
        "platform": "string"
    },
    "paymentMethod": {
        "type": "string",
        "card": {
            "cardInfo": {
                "cardNumber": "string"
            }
        }
    },
    "transAmount": {
        "value": "string",
        "currency": "str"
    },
    "discount": {
        "couponInfo": "string"
    }
}

返回响应

🟢200成功
application/json
OK
Bodyapplication/json

示例
{
    "result": {
        "code": "string",
        "message": "string",
        "pspMessage": "string",
        "pspResponseCode": "string"
    },
    "paymentMethod": {
        "card": {
            "first6No": "string",
            "last4No": "stri"
        }
    },
    "couponWriteoff": {
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantTransTime": "string"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "string",
            "retrievalReferenceNum": "string",
            "traceNum": "string"
        },
        "status": "string",
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "discount": {
            "discountInfo": [
                {}
            ],
            "discountAmount": {
                "currency": "str",
                "value": "string"
            },
            "payAmount": {
                "currency": "str",
                "value": "string"
            }
        },
        "pspTransInfo": {
            "pspTransID": "string",
            "pspTransTime": "string",
            "retrievalReferenceNum": "string"
        }
    }
}
上一页
Appendix: Payment Brands
下一页
Coupon Reversal
Built with