Skip to main content
GET
/
v1
/
credits
Retrieve credit balance
curl --request GET \
  --url https://supertoneapi.com/v1/credits \
  --header 'x-sup-api-key: <api-key>'
{
  "balance": 123
}
Supertone PlayとAPIは同じクレジットシステムを使用するため、PlayでチャージしたクレジットはAPIにもそのまま適用されます。

エンドポイント

https://supertoneapi.com/v1/credits

参考事項

  • クレジットは秒単位基準で課金されます。
  • クレジットはPlayとAPIで共有されます。
  • 新規加入時に基本体験クレジットが提供される場合があります。

Authorizations

x-sup-api-key
string
header
required

Response

Credit balance of the user.

balance
number | null
required

Credit balance of the user

I