Loading
Salesforce now sends email only from verified domains. Read More

Determining Remaining Credits for B2C Commerce On-Demand Sandboxes

Publish Date: Dec 11, 2025
Description

Is there any API that provides credit availability, or at least the total original credits and current credits expended for B2C Commerce On-Demand Sandboxes?

Resolution

There is no API that provides remaining B2C Commerce On-Demand Sandbox credits. We only provide the usage APIs for sandboxes and for overall realms.

The workaround here is to subtract the minutes used (calculated via the usage APIs) from the original number of credits. Note that 1 uptime minute = 1 credit, and 3 downtime minutes = 1 credit.


For additional insight into how to manage your credits, such as via stopping & starting your sandboxes via API, please refer to Start, Stop, and Restart Instances in Control Center.
Knowledge Article Number

000391447

 
Loading
Salesforce Help | Article