Account¶
Query your account's credit balance and configured email senders.
Get credits¶
Returns remaining SMS and email credits for your store.
Example¶
Response¶
{
"success": true,
"credits": {
"sms": {
"remaining": 482,
"total": 500,
"rollover": 0
},
"email": {
"remaining": 9840,
"total": 10000,
"rollover": 150
}
}
}
| Field | Type | Description |
|---|---|---|
remaining |
integer | Credits available to use right now (includes active rollover) |
total |
integer | Credits included in your current plan period |
rollover |
integer | Rollover credits from a previous period (included in remaining) |
List senders¶
Returns the verified email senders configured for your store.
Use the id as sender_id in Send Email to control which sender address is used.
Example¶
Response¶
{
"success": true,
"data": [
{
"id": 1,
"name": "Acme Support",
"email": "[email protected]"
},
{
"id": 2,
"name": "Acme Newsletter",
"email": "[email protected]"
}
]
}
Tip
Senders are configured in Settings → Email Senders. Only verified senders appear here.