Check the Validity of Cwallet ID
Check if the Cwallet User ID is correct and return the nickname
POST https://admin.ccpayment.com/ccpayment/v1/check/user
Headers
Timestamp*
string
Timestamp in seconds (10-digit). The request is valid for two minutes.
Content-Type*
String
application/json; charset=utf-8
Request Body
c_id*
string
Cwallet ID
{
'code': 224083,
'reason': 'ToUserNotFound'
'msg': 'users do not exist'
}As a security measure, we will sign the returned data (and according to this only { code: 10000 } should be signed, but it's signing all the returned body.). Additionally, it will return Appid, Sign, Timestamp in the header of the response. The signature method SHA-256 (appid+appSecret+Timestamp+body).
Please use the data with caution if the signature verification fails. It indicates that the data has been tampered with.
Request Body Example
The body of HTTP is a json string .
Add the content in body of HTTP to the signature. Ensure the body content matches the signature content. As soon as CCPayment receives the request, the body content will be read and the signature will be verified
Last updated