Billing
获取 API 额度包付款链接 / Get a checkout link for an API credit pack
余额不足时调用:返回一个 Stripe 付款页链接,用户在浏览器付款后额度自动到账(通常 1 分钟内)。packId:api-10-usd(US$9.9 / 10 次)、api-50-usd(US$39 / 50 次)、api-100(¥300 / 100 次)。
Call when credits run out. Returns a Stripe Checkout URL; after the user pays in a browser the credits are added automatically (usually within a minute).
post/api/billing/api-pack/checkout
Request
- Base URL: https://api.musicsforyou.com
- URL: https://api.musicsforyou.com/api/billing/api-pack/checkout
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://www.musicsforyou.com/oauth/authorize, token URL https://api.musicsforyou.com/oauth/token, scopes: music)
Request body
Response
付款链接 / Checkout link
Changes
No recorded changes to this operation across all 1 revision of this API.