Points (REST)
Endpoint
Authentication
Example
curl -X 'POST' \
'{endpoint}/nlp/issue' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0MTExQGRzdGEuY29tIiwicm9sZSI6IlJPTEVfU1RPUkUiLCJleHAiOjE2NDgyMDc1OTIsImlhdCI6MTY0ODEyMTE5Mn0.AYNcBLhKqtqwzxNm7kOREEUH0_3gFevOXxI94TBORao' \
-H 'Content-Type: application/json' \
-d '{
"tokenAmount": "10"
}'API References
Issue
Token name (nlp or nuri)
Token amount
Store TID
Points issued successfully
Reward ID
Token symbol (NLP or NURI)
Token amount
Contract address for token
Issued Date, for example, 20220325151440+0900
Points issued successfully
Example
Accumulate
Token name (nlp or nuri)
Reward ID
Token amount
User wallet address to accumulate
Points are accumulated successfully
User wallet address to accumulate
Token symbol (NLP or NURI)
Token amount
Contract address for token
Points are accumulated successfully
Example
Status
Token name (nlp or nuri)
Reward ID
Return successfully
User wallet address if accumulated, otherwise null
Is points accumulated
Token symbol (NLP or NURI)
Contract address for token
Return successfully
Example
Cancel
Token name (nlp or nuri)
Reward ID
Token amount
Canceled successfully
User wallet address or null
Token symbol
Token amount
Contract address for token
Canceled successfully
Example
Error Codes (resCode)
Last updated
