Credit packs and prices
One-off credit packs. Needs a valid API key.
Prices are quoted in currency, which defaults to USD and is set by the query parameter. Each pack has a price in every supported currency, so this returns one currency's prices, not all of them. A currency Kawaa cannot price is a 400, not a silent fallback to USD: quoting dollar amounts under another currency's label is how a buyer ends up comparing the wrong numbers.
Request
- Base URL: https://api.kawaa.com
- URL: https://api.kawaa.com/v1/billing/credit-packages
- Auth: one of:
- API key in header X-Api-Key
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.kawaa.com/oauth/authorize, token URL https://api.kawaa.com/oauth/token, scopes: billing:read)
Query parameters
Quote the packs in this currency: BRL, EUR, GBP, INR, USD. Genuinely case-insensitive: the value is upper-cased before it is checked, so usd, USD and Usd are the same request. Expressed as a case-insensitive pattern rather than an enum on purpose: an enum can only list casings, and listing USD and usd still made a generated validator refuse Usd, which the API accepts. The response echoes the code lower-case. Anything else is 400.
Response
The packs, priced in the requested currency.
Example response
{
"data": {
"packages": [
{
"package_id": "credits_10000",
"name": "10,000 Credits"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.