Credits
Besday Credits API: read your brand’s credit balance. Orders are paid from credits; 1 credit = US$1.
Updated · API version 2026-12-03
Orders are paid from your brand’s credits. 1 credit = US$1; credits never expire.
The credit balance object#
Your brand’s credits. Orders are paid from credits; 1 credit = US$1. Credits are bought on besday.com by the owner or an admin.
| Field | Description |
|---|---|
objectstring | Always credit_balance.credit_balance |
balance_creditsnumber | Credits available to spend. |
currencystring | Always credits.credits |
credit_value_usdnumber | Always 1. |
spending_pausedboolean | True when Besday paused spending (for example during a payment dispute). |
can_buyboolean | Whether the key’s team member may buy credits (owner and admins). |
buy_credits_urlstring | Where a person buys credits. |
{
"object": "credit_balance",
"balance_credits": 500,
"currency": "credits",
"credit_value_usd": 1,
"spending_paused": false,
"can_buy": true,
"buy_credits_url": "https://besday.com/app/brands/credits"
}Retrieve the credit balance#
GET/api/v1/creditsscope: read
Returns the brand’s credit balance. Orders are paid from it; 1 credit = US$1.
Request
curl "https://besday.com/api/v1/credits" \
-H "Authorization: Bearer $BESDAY_API_KEY"const res = await fetch("https://besday.com/api/v1/credits", {
headers: {
Authorization: `Bearer ${process.env.BESDAY_API_KEY}`,
},
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);import os, uuid, requests
res = requests.get(
"https://besday.com/api/v1/credits",
headers={
"Authorization": f"Bearer {os.environ['BESDAY_API_KEY']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())Response 200
{
"object": "credit_balance",
"balance_credits": 500,
"currency": "credits",
"credit_value_usd": 1,
"spending_paused": false,
"can_buy": true,
"buy_credits_url": "https://besday.com/app/brands/credits"
}Errors
401 api_key_invalid: The key is malformed, unknown or revoked, or its team member, brand or account is no longer active.
Buying credits#
Credits are bought on besday.com by the brand’s owner or an admin: packs of 100, 250, 500, 1000, 2500 credits, or any amount from 25 to 10,000. Refunds of cancelled orders come back as credits.