Skip to main content
This endpoint is only available to merchants who do not pass in the mchid.
Merchants can use this API to attach remarks to a completed transaction. These remarks will be visible in the Merchant Portal and transaction reports.

API Endpoint

URL: /trade/v1/add_note
Method: POST
Content-Type: application/x-www-form-urlencoded

Request Parameters

AttributeMandatoryTypeDescription
codeYesString(32)Merchant app code provided by QFPay
syssnYesString(40)QFPay transaction number (from original transaction)
noteYesString(200)Remark content to be added (max 200 characters)

Request Sample

POST /trade/v1/add_note
Content-Type: application/x-www-form-urlencoded
X-QF-APPCODE: D5589D2A1F2E42A9A60C37**********
X-QF-SIGN: 6FB43AC29175B4602FF95F8332028F19

code=A6A49A6******DFE94EA95032&note=add_note&syssn=20190722000200020081075691

Response Parameters

AttributeTypeDescription
resperrString(128)Transaction result message
respmsgString(128)Error message
respcdString(4)Return code (0000 = Interface call successful)
syssnString(40)QFPay transaction number

Response Sample

{
  "resperr": "Success",
  "respcd": "0000",
  "respmsg": "",
  "data": {
    "syssn": "20190722000200020081084545"
  }
}