Skip to content

Instantly share code, notes, and snippets.

@greyhoundforty
Created December 30, 2015 14:43
Show Gist options
  • Save greyhoundforty/7a8f7e538ad92e64c7b8 to your computer and use it in GitHub Desktop.
Save greyhoundforty/7a8f7e538ad92e64c7b8 to your computer and use it in GitHub Desktop.
How do I find out what my next bill will be?
export SOFTLAYER_USERNAME=<username>
export SOFTLAYER_API_KEY=<apikey>

curl --user "$SOFTLAYER_USERNAME:$SOFTLAYER_API_KEY" \
-sk https://api.softlayer.com/rest/v3/SoftLayer_Account/getNextInvoiceTotalAmount.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment