账户信息
Authorizations
CF-ACCESS-KEYstringRequired
CF-ACCESS-SIGNstringRequired
CF-ACCESS-TIMESTAMPstringRequired
Header parameters
CF-ACCESS-KEYstringRequiredExample:
用于身份验证的 API Key。
your api keyCF-ACCESS-SIGNstringRequiredExample:
使用 HMAC-SHA256 计算并经 Base64 编码的请求签名。生成方式见请求签名说明。
signatureCF-ACCESS-TIMESTAMPstringRequired
请求发起时间,使用 UTC 时间,例如 2008-08-08T08:08:08.888Z。
Responses
200
接口响应。请查看 code 和 msg 判断业务处理结果。
application/json
codeinteger · int32Optional
业务结果码。0 表示接口调用成功,其他值表示错误。
msgstringOptional
结果说明;发生错误时提供错误信息。
sub_codestringOptional
sub_msgstringOptional
get/v1/account
GET /v1/account HTTP/1.1
Host: api.catfee.io
CF-ACCESS-KEY: text
CF-ACCESS-SIGN: text
CF-ACCESS-TIMESTAMP: text
Accept: */*
200
接口响应。请查看 code 和 msg 判断业务处理结果。
{
"code": 1,
"msg": "text",
"sub_code": "text",
"sub_msg": "text",
"data": {
"wallet": "text",
"api_key": "text",
"email": "text",
"telegram_id": 1,
"recharge_address": "text",
"total_recharge": 1,
"total_recharge_usdt": 1,
"whitelist": "text",
"balance": 1,
"balance_usdt": 1
}
}Last updated