Skip to main content

Create Deposit (Korea)

Create a Koreaese Dong (KRW) deposit order interface.

Request Information

  • Request URL: /gateway/api/v2/payments
  • Request Method: POST
  • Content-Type: application/json;charset=utf-8

Request Parameters

ParameterRequiredTypeDescription
platform_idYesString(6)Merchant ID
service_idYesString(7)Service ID
payment_cl_idYesString(64)Merchant Order Number
amountYesInteger(10)Amount (cents)
notify_urlYesString(256)Transaction result notification URL
request_timeYesInteger(10)Request time (seconds)
signYesString(32)Order Signature

Request Example

{
"amount": "50000000",
"notify_url": "https://xxx.xx/notification",
"payment_cl_id": "DEVPM00014581",
"platform_id": "PF0002",
"request_time": "1595504136",
"service_id": "SVC0015",
"sign": "c81634c1769044eac9e9628a2292f557"
}

Response Example

Success Response

{
"error_code": "0000",
"data": {
"link": "https://pay.example.com/cashier/DEMOPM0123456",
"payment_id": "DEMOPM0123456",
"payment_cl_id": "order_20260112001",
"amount": 5001000,
"qr_code_content": "00020101021238600010A000000727013000069704480",
"token": "fabdzannfa",
"card_name": "NGUYEN VAN A",
"card_number": "0110100007725008",
"bank_name": "Asia Commercial Bank",
"bank_code": "ACB",
}
}

Error Response Example

{
"error_code": "0004",
"error_msg": "Signature verification failed!"
}

Response Parameters

ParameterTypeDescription
error_codeStringError code
error_msgStringError message (returned when error_code is not "0000")
linkStringOrder cashier page URL
payment_idStringDiamond Pay order number
payment_cl_idStringMerchant order number
amountIntOrder amount
tokenStringTransfer reference
qr_code_contentStringQR code content
card_nameStringPayee name
card_numberStringBank card number
bank_nameStringBank name
bank_codeStringBank code

Notes

  • Merchant ID is a unique identifier assigned by the system. If you haven't obtained one, please contact system personnel
  • Service ID options:
    • SVC0015 Bank Card (Korea channel)
    • SVC0016 Bank Direct (Korea channel)
    • SVC0017 QR Code (Korea channel)
    • Refer to service_id list
  • Transaction amount unit is Koreaese Dong (cents), please multiply by 100. For example, to collect 10000.00, pass the value 1000000
  • Request time uses Unix timestamp in seconds
  • Transaction results will be notified to notify_url. Please provide a publicly accessible complete URL (only http and https protocols are supported). For parameter specifications, see Transaction Result Notification