Full Integration Flow

White-Label supports two integration methods: the Payment Checkout (UI) method and the Server API (Non-UI) method.


Choosing an Integration Method

MethodDescriptionBest For
Payment Checkout (UI)Invoke the standard payment checkout provided by Hecto FinancialFast integration without building a custom payment UI
Server API (Non-UI)Call the payment API directly from the merchant serverMerchants that build their own payment UI

Method 1: Payment Checkout (UI) Integration Flow

Customer
Merchant Frontend
Merchant Server
Hecto Financial
11. Payment request
22. Request order info and hash value
33. Return order number + pktHash
44. Open payment checkout (POST /whitelabel/main.do)
55. Display payment checkout
66. Enter payment information
77. Send payment result (notiUrl)
88. Respond OK
99. Payment complete (nextUrl)

Payment Checkout Server Information

EnvironmentDomain
Sandboxtbwl.settlebank.co.kr
Productionwl.settlebank.co.kr

pktHash Signature Composition (Payment Checkout)

Payment Checkout Signature GenerationpktHash

필드명파라미터
Merchant IDmchtId
Payment methodmethod
Merchant order numbermchtTrdNo
Request datetrdDt
Request timetrdTm
Transaction amount (plaintext)trdAmt
Hash keyhashKey
SHA256(mchtId + method + mchtTrdNo + trdDt + trdTm + trdAmt(plaintext) + hashKey)

Method 2: Server API (Non-UI) Integration Flow

Customer
Merchant Frontend
Merchant Server
Hecto Financial
11. Payment request
22. Forward payment request
33. Call payment API (POST /whitelabel/v1/pay_confirm.do)
44. Return payment result
55. Process payment completion
66. Display result

API Server Information

EnvironmentDomain
Sandboxtbapi.settlebank.co.kr
Productionapi.settlebank.co.kr

pktHash Signature Composition (Payment/Void APIs)

Payment/Void API Signature GenerationpktHash

필드명파라미터
Request datetrdDt
Request timetrdTm
Merchant IDmchtId
Merchant order numbermchtTrdNo
Transaction amount (plaintext)trdAmt
Hash keyhashKey
SHA256(trdDt + trdTm + mchtId + mchtTrdNo + trdAmt(plaintext) + hashKey)

Common Response Codes

FieldSuccessFailure
outStatCd00210031
outRsltCd0000Error code
💬

Need technical support?