API Documentation
All API
Service
Reservations & Cancellations of Point UseSync
Version: v1
Version: v1
/api/v1/payment/point
Request Headers
Request Parameters
Response Headers
X-KM-Correlation-Id
string
Required
Length : 20
Transaction number for tracking trasncription
- Form : yyMMddHHmiSS-xxxxxxx
- xxxxxxx : 7digit, Hex String
X-KM-Crypto-Key-Id
string
Optional
Length : 32
Data encryption/decryption key ID
- Given ID from creating the service provider's project
- If it is passed as a callback, the first key issued among the keys issued to the service provider is used.
Response Parameters
remainTime
number
Required
Min : 0 , Max : 3600000
Remaining valid time of point use
- Unit : ms
userId
number
Required
Min : 1 , Max : 999999999999999
Member ID
- Member's unique ID given when registering for membership
pointAmount
number
Required
Min : 1 , Max : 1000000000
Point amount to be used/to be canceled
Response Code
Detailed classification and addition of error for unseccessful withfrawal
200
Error code
000_000
Message
Success
Description
Success
400
Error code
000_002
Message
Invalid input parameter.
Description
Invalid input parameter
400
Error code
006_023
Message
Exceed the balance.
Description
Low balance
400
Error code
006_024
Message
Exceed the one time limit.
Description
Exceeding of one-time payment limit
400
Error code
006_025
Message
Exceed the day limit.
Description
Exceeding of daily payment limit
400
Error code
006_026
Message
Exceed the month limit.
Description
Exceeding of monthly payment limit
400
Error code
006_029
Message
Card is not found with the card no.
Description
No card searched with the corresponding card number
Test Data
Request
Response
Click Try It!
to start a Request and see the Response here!