Skip to main content
POST
/
api
/
v1
/
subscription
/
redemption
/
redeem
兑换兑换码
curl --request POST \
  --url https://end-api.shallow.ink/api/v1/subscription/redemption/redeem \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "code": "<string>",
  "cap_token": "<string>"
}
'

Authorizations

X-API-Key
string
header
required

第三方开发者 API Key(格式:sk_xxx)

Body

application/json
code
string
required

兑换码

cap_token
string
required

Cap PoW 验证 Token

Response

200

兑换成功