v1

latestOpenAPI 3.0.22026-07-1481521.0 KB
Balance

Top Up Account Balance

You can top up your account using this API when you have enabled auto-reload in the dashboard. The amount added by the top-up operation will be the same amount as was added in the payment when auto-reload was enabled. Your account balance is checked every 5-10 minutes and if it falls below the threshold and auto-reload is enabled, then it will be topped up automatically. Use this endpoint if you need to top up at times when your credit may be exhausted more quickly than the auto-reload may occur.

post/account/top-up

Query parameters

api_keystring required
Example:abcd1234

Your Vonage API key. You can find this in the dashboard

api_secretstring required
Example:ABCDEFGH01234abc

Your Vonage API secret. You can find this in the dashboard

Response

Success

error-codestring
error-code-labelstring

Example response

{
  "error-code": "200",
  "error-code-label": "success"
}