Recurring Billing Info API

Retrieve information for an active recurring billing subscription.


Recurring Billing Info

Retrieve account details and status for an active recurring billing subscription.

API Information

POST/v1/api/regular/info
Content-Typeapplication/json; charset=UTF-8
테스트https://tbnpay.settlebank.co.kr/v1/api/regular/info
운영https://npay.settlebank.co.kr/v1/api/regular/info

Request Parameters

타입 표기법
N숫자A영문H한글AN영문+숫자AHN영문+한글+숫자
예: AN(10) = 영문+숫자, 최대 10byte
└hdInfoAN(50)Alphanumeric, up to 50 bytes*
Message information code.
*Fixed value
└mchtIdAN(8)Alphanumeric, up to 8 bytes*
Merchant ID.
└mchtCustIdAN(100)Alphanumeric, up to 100 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64 (Standard)
Customer ID.
└reqDtAN(8)Alphanumeric, up to 8 bytes*
Request date (yyyyMMdd).
└reqTmAN(6)Alphanumeric, up to 6 bytes*
Request time (HH24MISS).
└rglChrgKeyAN(32)Alphanumeric, up to 32 bytes*
Unique recurring billing key.
└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256(실시간 생성)
SHA-256 HMAC signature.
NOTE

Signature composition

mchtId + mchtCustId + reqDt + reqTm + rglChrgKey + hashKey

Response Parameters

└outStatCdAN(4)Alphanumeric, up to 4 bytes*0021
Transaction status code.
0021: Success 0031: Failure
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*0000
Decline code.
*ST08: If the account is already enrolled, existing account information is returned
└outRsltMsgAN(100)Alphanumeric, up to 100 bytes*Processed successfully.
Result message.
└bankCdAN(3)Alphanumeric, up to 3 bytes011
Bank code.
└bankNmAN(45)Alphanumeric, up to 45 bytes국민은행
Bank name (Korean: 3 bytes per character).
└custAcntNoAN(15)Alphanumeric, up to 15 bytes234*********123
Account number (masked).
└useStDtAN(8)Alphanumeric, up to 8 bytes20210830
Recurring billing start date (yyyyMMdd).
└useEdDtAN(8)Alphanumeric, up to 8 bytes20991231
Recurring billing end date (yyyyMMdd).
└rglPmtAmtN(13)Numeric, up to 13 bytes1000
First recurring billing charge amount.
└pmtAcmAmtN(13)Numeric, up to 13 bytes5000
Cumulative successful billing amount.
└pmtAcmOrdN(13)Numeric, up to 13 bytes5
Number of successful billing cycles.
└unregDtAN(14)Alphanumeric, up to 14 bytes20210830080000
Cancellation datetime (yyyyMMddhhmmss).
└unregStatCdAN(10)Alphanumeric, up to 10 bytes
Cancellation reason code.
EXPORE: Subscription period ended FAIL: Payment failure CANCEL: Merchant cancellation ADMIN: Administrator cancellation

💬

Need technical support?

무엇이든 물어보세요