Transaction Detail by Merchant Reference API

Retrieves transaction details using the merchant transaction reference number (mTrdNo).


API Information

POST/v1/trade/detail/market
Content-Typeapplication/json;charset=UTF-8
테스트https://tb-mps-api.hectofinancial.co.kr/v1/trade/detail/market
운영https://mps-api.hectofinancial.co.kr/v1/trade/detail/market

Request Parameters

타입 표기법
N숫자A영문H한글AN영문+숫자AHN영문+한글+숫자
예: AN(10) = 영문+숫자, 최대 10byte
custNoAN(20)Alphanumeric, up to 20 bytes*
Prepaid member number.
*Unique prepaid member number assigned by Hecto Financial.
ciAN(255)Alphanumeric, up to 255 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64
Member CI value.
*Customer's unique CI value.
mTrdNoAN(50)Alphanumeric, up to 50 bytes*
Merchant transaction reference number.
*Transaction reference number generated by the merchant.
periodAN(6)Alphanumeric, up to 6 bytes*
Inquiry year-month.
*yyyyMM format.

Response Parameters

타입 표기법
N숫자A영문H한글AN영문+숫자AHN영문+한글+숫자
예: AN(10) = 영문+숫자, 최대 10byte
rsltCdAN(4)Alphanumeric, up to 4 bytes*0000
Result code.
0000: Success
rsltMsgAN(255)Alphanumeric, up to 255 bytes*Success
Result message.
rsltObj.custNoAN(20)Alphanumeric, up to 20 bytes*20240000
Prepaid member number.
*Unique prepaid member number assigned by Hecto Financial.
rsltObj.mTrdNoAN(50)Alphanumeric, up to 50 bytes*ORDER20240716
Merchant transaction reference number.
*Transaction reference number generated by the merchant. No Korean characters.
rsltObj.trdNoAN(50)Alphanumeric, up to 50 bytes*24071616270200002193
Transaction approval number.
*Unique transaction number assigned by Hecto Financial.
rsltObj.orgTrdNoAN(2)Alphanumeric, up to 2 bytesORDER20240715
Original transaction approval number.
*Populated when an original transaction exists (transaction codes UC (Spend void), MC (Money top-up void), PC (Points issuance void)).
rsltObj.reqDtAN(8)Alphanumeric, up to 8 bytes20240717
Request date.
*Merchant request date. yyyyMMdd format.
rsltObj.reqTmAN(6)Alphanumeric, up to 6 bytes190203
Request time.
*Merchant request time. HHmmss format.
rsltObj.trdDtAN(8)Alphanumeric, up to 8 bytes*YYYYMMDD
Transaction date.
*If a void was successful, this is the void transaction date.
rsltObj.trdTmAN(6)Alphanumeric, up to 6 bytes*HHMMSS
Transaction time.
*If a void was successful, this is the void transaction time.
rsltObj.trdDivCdAN(2)Alphanumeric, up to 2 bytes*CU
Transaction code.
CU: Spend UC: Spend void MP: Money top-up MC: Money top-up void MW: Money withdrawal WW: Pending withdrawal MG: Money gift transfer MR: Money received PP: Points issuance PC: Points issuance void
rsltObj.trdDivDtlCdAN(12)Alphanumeric, up to 12 bytes
Transaction division detail code.
*Merchant transaction division detail code (only pre-registered values are used).
rsltObj.chrgMeanCdAN(2)Alphanumeric, up to 2 bytesRA
Top-up method code.
*Applicable only to MP (Money top-up) and PP (Points issuance).
rsltObj.trdSumryAN(100)Alphanumeric, up to 100 bytes987
Transaction summary.
*Issuance reason, issuance void reason, or withdrawal bank account number (last 3 digits).
rsltObj.trdAmtN(7)Numeric, up to 7 bytes*2000
Transaction amount.
rsltObj.mnyAmtN(7)Numeric, up to 7 bytes*1000
Money amount.
rsltObj.pntAmtN(7)Numeric, up to 7 bytes*1000
Points amount.
rsltObj.waitMnyAmtN(7)Numeric, up to 7 bytes1000
Pending Money amount.
rsltObj.mnyBlcN(7)Numeric, up to 7 bytes*1000
Money balance.
rsltObj.pntBlcN(7)Numeric, up to 7 bytes*1000
Points balance.
rsltObj.waitMnyBlcN(7)Numeric, up to 7 bytes*1000
Pending Money balance.
rsltObj.mnyVldPdAN(8)Alphanumeric, up to 8 bytes20240722
Money validity period.
*Applicable when transaction code is MP (Money top-up).
rsltObj.pntVldPdAN(8)Alphanumeric, up to 8 bytes20240722
Points validity period.
*Applicable when transaction code is PP (Points issuance).
rsltObj.cnclYnAN(1)Alphanumeric, up to 1 bytesN
Void flag.
*Applicable to CU (Spend), MP (Money top-up), and PP (Points issuance) transactions that have been voided.
rsltObj.csrcIssReqYnAN(1)Alphanumeric, up to 1 bytesY
Cash receipt request flag.
*Applicable when transaction code is CU (Spend).
rsltObj.csrcIssStatCdAN(1)Alphanumeric, up to 1 bytesY
Cash receipt issuance status.
*Applicable when transaction code is CU (Spend).
rsltObj.csrcAppNoAN(50)Alphanumeric, up to 50 bytes20240722100000
Cash receipt approval number.
*Applicable when transaction code is CU (Spend).
rsltObj.csrcApprDtmAN(14)Alphanumeric, up to 14 bytes
Cash receipt approval datetime.
*Applicable when transaction code is CU (Spend). YYYYMMDDHHMMSS format.
rsltObj.statusAN(1)Alphanumeric, up to 1 bytes
Transaction status.
0: Processing 1: Completed
*Check withdrawal status for transaction codes MW (Money withdrawal), WW (Pending withdrawal), TW (Termination withdrawal).
rsltObj.stlMIdAN(20)Alphanumeric, up to 20 bytes
Settlement merchant ID.
*Merchant ID for settlement target.
rsltObj.storCdAN(20)Alphanumeric, up to 20 bytesHF000001
Store code.
rsltObj.storNmAN(128)Alphanumeric, up to 128 bytesHecto Financial
Store name.
rsltObj.cnclTrdAmtN(7)Numeric, up to 7 bytes1000
Void amount.
*For CU/MP/PP transaction codes, the void amount for the original transaction.
rsltObj.cnclMnyAmtN(7)Numeric, up to 7 bytes1000
Void Money amount.
*For CU/MP/PP transaction codes, the void Money amount for the original transaction.
rsltObj.cnclPntAmtN(7)Numeric, up to 7 bytes1000
Void Points amount.
*For CU/MP/PP transaction codes, the void Points amount for the original transaction.
rsltObj.lastCnclDateN(14)Numeric, up to 14 bytesYYYYMMDDHH24MISS
Last void date.
*For CU/MP/PP transaction codes, the date of the last void for the original transaction.
rsltObj.mResrvField1AN(255)Alphanumeric, up to 255 bytes
Merchant reserve field 1.
*Transmitted in plaintext. Do not include sensitive personal information.
rsltObj.mResrvField2AN(255)Alphanumeric, up to 255 bytes
Merchant reserve field 2.
*Transmitted in plaintext. Do not include sensitive personal information.
rsltObj.mResrvField3AN(255)Alphanumeric, up to 255 bytes
Merchant reserve field 3.
*Transmitted in plaintext. Do not include sensitive personal information.

Important Notes

NOTE

Response Data Format

rsltObj is a response object of LIST (array) type. Since multiple transaction records may match the criteria, each transaction is returned as an element of the array.
💬

Need technical support?