Payment Information
Function Description
[BO-only] Processes refund completion for mileage payment cancellations in refund-received status.
Detailed Description
A feature to request a re-refund for payments that failed to be refunded due to an error during the mileage refund process.
Applies to entries in refund-received status among the refund data in the base payment table.
Order No., order media code, payment No., parent payment No., claim No., requested refund amount, payment amount, member No., and payment method code are required request conditions.
Once the refund succeeds, the refund-received status is changed to refund-completed status.
Access Token
Mileage Refund DTO
Payment Date (Start)
2023-01-01Payment Date (End)
2023-01-31Order No.
20230808O007404OM012 (Payment Type Code) 10: Payment ,20: Refund
10Possible values: OM014 (Payment Status Code) 11: Payment Pending ,12: Payment Completed ,13: Payment Cancelled ,21: Refund Requested ,22: Refund Completed ,23: Refund Request Cancelled
11Possible values: Order Channel Code (OM007) 10 : Phone Consultation (CC) , 20 : PC , 30 : Mobile Web , 40 : Android App , 50 : iOS App , 60 : Subscription Order
20Possible values: Payment Number
2Parent Payment No.
1OM003(Order Detail Type Code) 10: Regular Order , 11: Order Cancellation , 20: Regular Return , 21: Return Cancellation , 30: Exchange Order , 31: Exchange Cancellation , 40: Exchange Return
10Possible values: Claim No.
20230801C008072Refund Request Amount
1000Payment Amount
1000Member No.
100001311OM013 (Payment Method Code) 11: Credit Card ,12: Real-time Account Transfer ,13: Virtual Account (Bankless Deposit) ,14: Naver Pay ,15: Kakao Pay ,16: Payco ,17: Samsung Pay ,18: Apple Pay ,19: LPAY ,20: Toss Pay ,21: SSG Pay ,32: Mileage
11Possible values: OK
No content
POST /api/order/v1/payment/refundMileagePayment HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 272
[
{
"searchStartDt": "2023-01-01",
"searchEndDt": "2023-01-31",
"ordNo": "20230808O007404",
"payGbCd": "10",
"payStatCd": "11",
"ordMediaCd": "20",
"payNo": "2",
"uprPayNo": "1",
"ordDtlGbCd": "10",
"claimNo": "20230801C008072",
"rfdAmt": 1000,
"payAmt": 1000,
"mbrNo": "100001311",
"payWayCd": "11"
}
]OK
No content
Function Description
Looks up merchant information for PG payment.
Detailed Description
PG classification code (OM030), system classification code (OM051), and merchant miscellaneous classification code (OM052) are required parameters.
Looks up merchants registered in BO admin > Payment Management > Payment Method Management > Merchant Management.
PG payment is not possible if no lookup result is found.
Revision History
Release v2.00_240425: Added site search condition for merchant information lookup
Access Token
Search Merchant Info DTO
Site No.
1OM030 (PG Type Code) 10: INICIS ,20: TOSS
10Possible values: System Type Code (OM051)
20Merchant Other Type Code (OM052)
99Merchant Retrieved Successfully
Search Merchant DTO
Merchant Number
1Terminal ID
INIPayTestPG Classification Code (OM030)
10Merchant Other Type Code (OM052)
99Point Usage Status
NInterest-Free Installment Usage Status
NUsage Status
YSystem Type Code (OM051)
20Business processing error details
POST /api/order/v1/payment/pgMerchant HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"siteNo": "1",
"pgGbCd": "10",
"sysGbCd": "20",
"mersEtcGbCd": "99"
}{
"mersNo": "1",
"termlId": "INIPayTest",
"pgGbCd": "10",
"mersEtcGbCd": "99",
"pointUseYn": "N",
"nintUseYn": "N",
"useYn": "Y",
"sysGbCd": "20"
}Access Token
DTO for Generating Toss Billing Key Issuance Request Parameters
Member No.
10001234Terminal ID
TossPayTestSuccess
Toss Billing Key Issuance Request Conversion Result DTO
Timestamp [TimeInMillis (Long type)]
1697762894911SHA256 Hash Value (Target: mid, orderid, timestamp)
422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192Business processing error details
POST /api/order/v1/payment/getTossAuthProperties HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"mbrNo": "10001234",
"termlId": "TossPayTest"
}{
"timestamp": "1697762894911",
"hashData": "422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192"
}Function Description
Looks up PG information using the payment method code.
Detailed Description
Looks up PG information where the connection status matching the payment method code is Y and the usage status is Y.
Revision History
Release v2.00_240627: Added site condition to look up the payment method matching the site and payment method code
Access Token
Success
Business processing error details
POST /api/order/v1/payment/getPgInfo HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
][
{
"pgGbCd": "text",
"payWayCd": "text",
"payWayCdNm": "text"
}
]Access Token
Search Merchant Info DTO
Site No.
1OM030 (PG Type Code) 10: INICIS ,20: TOSS
10Possible values: System Type Code (OM051)
20Merchant Other Type Code (OM052)
99Success
Business processing error details
POST /api/order/v1/payment/getPgGbCdBySiteNo HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"siteNo": "1",
"pgGbCd": "10",
"sysGbCd": "20",
"mersEtcGbCd": "99"
}textAccess Token
Search Payment Method Connection Status DTO
OM013 (Payment Method Code) 11: Credit Card ,12: Real-time Account Transfer ,13: Virtual Account (Bankless Deposit) ,14: Naver Pay ,15: Kakao Pay ,16: Payco ,17: Samsung Pay ,18: Apple Pay ,19: LPAY ,20: Toss Pay ,21: SSG Pay ,32: Mileage
11Possible values: OM030 (PG Type Code) 10: INICIS ,20: TOSS
10Possible values: Success
Payment Method Connection Status DTO
OM013 (Payment Method Code) 11: Credit Card ,12: Real-time Account Transfer ,13: Virtual Account (Bankless Deposit) ,14: Naver Pay ,15: Kakao Pay ,16: Payco ,17: Samsung Pay ,18: Apple Pay ,19: LPAY ,20: Toss Pay ,21: SSG Pay ,32: Mileage
11Possible values: Payment Method Name
신용카드OM030 (PG Type Code) 10: INICIS ,20: TOSS
10Possible values: Linked Status
YBusiness processing error details
POST /api/order/v1/payment/getPayWayLinkYn HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"payWayCd": "11",
"pgGbCd": "10"
}{
"payWayCd": "11",
"payWayNm": "신용카드",
"pgGbCd": "10",
"linkYn": "Y"
}Access Token
Success
Payment Allocation Sequence No.
1Order No.
20230809O007055Order Sequence No.
1Order Processing Sequence No.
1Parent Payment Allocation Sequence No.
1Allocation Type Code (OM073)
10Additional Cost Occurrence Classification Code (OM017)
10Order Cost Type Code (OM043)
10Delivery Fee Policy No.
10000000Merchant No.
1000000Claim No.
20240812C000041Selling Price
10000Order Quantity
1Cancellation Quantity
0Order Amount
10000Credit Card Allocation Amount
8000Point Allocation Amount
2000Real-Time Account Transfer Allocation Amount
0Virtual Account Transfer Allocation Amount
0Delivery No.
100000003Tax/Duty-Free Classification Code (PR007)
01Additional Payment Status
NItem Name
상품ATax/Duty-Free Classification Code (PR007)
01Business processing error details
POST /api/order/v1/payment/getPayDivInfo HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 1222
{
"adminOrdAmtProcTypCd": "text",
"totalAmt": 1,
"crdtCardAmt": 1,
"milgAmt": 1,
"rltmActnTrsfAmt": 1,
"virActnTrsfAmt": 1,
"opOrdAdtnCostList": [
{
"ordAdtnSn": "100001315",
"ordNo": "20231231O000001",
"claimNo": "20231231C000001",
"deliNo": "100000001",
"uprOrdAdtnSn": "100000842",
"entrNo": "1000002",
"adtnOcurGbCd": "10",
"ordCostGbCd": "10",
"stdAdtnAmt": 100000,
"aplyAdtnAmt": 0,
"cnclAdtnAmt": 0,
"fvrAdtnAmt": 0,
"deliPolcNo": "10000431",
"dlexTypCd": "30",
"dlexCnclCausCd": "10",
"dlexAmt": 3000,
"adtnBassNo": "C1001182",
"adtnDtlBassNo": "105962",
"fvrPolcTypCd": "00",
"fvrPolcAplyVal": 0,
"fvrMinBuyAmt": 0,
"fvrMaxDcAmt": 0,
"entrChrgRate": 0,
"entrChrgAmt": 0,
"ourChrgRate": 100,
"ourChrgAmt": 0,
"promoNm": "무료배송쿠폰"
}
],
"opOrdPayDivInfoList": [
{
"payDivSeq": "1",
"ordNo": "20230809O007055",
"ordSeq": 1,
"ordProcSeq": 1,
"uprPayDivSeq": "1",
"divGbCd": "10",
"adtnOcurGbCd": "10",
"ordCostGbCd": "10",
"deliPolcNo": "10000000",
"entrNo": "1000000",
"claimNo": "20240812C000041",
"salePrc": 10000,
"ordQty": 1,
"cnclQty": 0,
"ordAmt": 10000,
"crdtCardDivAmt": 8000,
"milgDivAmt": 2000,
"rltmActnTrsfDivAmt": 0,
"virActnTrsfDivAmt": 0,
"deliNo": "100000003",
"taxGbCd": "01",
"addPayYn": "N",
"itemNm": "상품A",
"taxGbCdNm": "01",
"occurTaxFree": true,
"cancelTaxFree": true,
"addPayDeliFee": true
}
],
"addPay": true
}[
{
"payDivSeq": "1",
"ordNo": "20230809O007055",
"ordSeq": 1,
"ordProcSeq": 1,
"uprPayDivSeq": "1",
"divGbCd": "10",
"adtnOcurGbCd": "10",
"ordCostGbCd": "10",
"deliPolcNo": "10000000",
"entrNo": "1000000",
"claimNo": "20240812C000041",
"salePrc": 10000,
"ordQty": 1,
"cnclQty": 0,
"ordAmt": 10000,
"crdtCardDivAmt": 8000,
"milgDivAmt": 2000,
"rltmActnTrsfDivAmt": 0,
"virActnTrsfDivAmt": 0,
"deliNo": "100000003",
"taxGbCd": "01",
"addPayYn": "N",
"itemNm": "상품A",
"taxGbCdNm": "01",
"occurTaxFree": true,
"cancelTaxFree": true,
"addPayDeliFee": true
}
]Access Token
DTO for Generating INICIS PC Payment Authentication Parameters
Order No.
20230101O000000Order Amount
10000Success
INICIS PC Payment Request Conversion Result DTO
Timestamp [TimeInMillis (Long type)]
1697762894911SHA256 Hash Value (Target: oid, price, timestamp)
422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192SHA256 Hash Value (Target: oid, price, signKey, timestamp)
05c6b90795860660a8490afc659cc0bee4d5c771f2386e1cb272b90e02250bedBusiness processing error details
POST /api/order/v1/payment/getInicisPcAuthProperties HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"ordNo": "20230101O000000",
"payAmt": 10000
}{
"timestamp": "1697762894911",
"signature": "422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192",
"verification": "05c6b90795860660a8490afc659cc0bee4d5c771f2386e1cb272b90e02250bed",
"mkey": "text"
}Access Token
DTO for Generating INICIS MO Billing Key Issuance Request Parameters
Order No.
20230101O000000Terminal ID
INIPayTestSuccess
INICIS MO Billing Key Issuance Request Conversion Result DTO
Timestamp [TimeInMillis (Long type)]
1697762894911SHA256 Hash Value (Target: mid, orderid, timestamp, INILitekey)
422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192Business processing error details
POST /api/order/v1/payment/getInicisMoAuthProperties HTTP/1.1
Host: api-order.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"ordNo": "20230101O000000",
"termlId": "INIPayTest"
}{
"timestamp": "1697762894911",
"hashData": "422a0e78529b419d9412d6e344c6e138584d9174c691da6cd91d4330240b9192"
}Access Token
Success
Interest-Free Installment Guide No.
242Purchasing Company Code (OM028)
121Acquirer Name
국민카드Application Start Date/Time
2023-07-05 09:02:00Application End Date/Time
2023-07-05 09:02:00Interest-Free Installment Name
국민카드 무이자할부 안내Interest-Free Installment Eligible Details
적용대상내용Interest-Free Installment Excluded Details
제외대상내용Partial Interest-Free Status
NPG Type Code (OM030)
10PG Company Name
이니시스Business processing error details
GET /api/order/v1/payment/getInterestFreeList HTTP/1.1
Host: api-order.x2bee.com/
Accept: */*
[
{
"nintInstGdNo": "242",
"acqrCd": "121",
"acqrNm": "국민카드",
"aplyStrDtm": "2023-07-05 09:02:00",
"aplyEndDtm": "2023-07-05 09:02:00",
"nintInstNm": "국민카드 무이자할부 안내",
"nintAplyTgtCont": "적용대상내용",
"nintExcpTgtCont": "제외대상내용",
"sctnNintYn": "N",
"pgGbCd": "10",
"pgGbNm": "이니시스",
"monthList": [
{
"tgtAmt": 1000000,
"nint1MonYn": "N",
"nint2MonYn": "N",
"nint3MonYn": "N",
"nint4MonYn": "N",
"nint5MonYn": "Y",
"nint6MonYn": "N",
"nint7MonYn": "N",
"nint8MonYn": "N",
"nint9MonYn": "N",
"nint10MonYn": "N",
"nint11MonYn": "N",
"nint12MonYn": "N"
}
]
}
]Access Token
Success
TESTMIDBusiness processing error details
GET /api/order/v1/payment/accountCertiMid HTTP/1.1
Host: api-order.x2bee.com/
Accept: */*
TESTMIDLast updated