Direct API
SMPPRules
  • General Info
  • Authorization
  • Connection check
  • Single messages
    • Sending SMS
    • Sending FLASHCALL
    • Sending VOICECODE
    • Sending WHATSAPP
    • Sending VK
    • Receiving Callback
    • Getting Messages
    • Stopping Messages
  • Additional info
    • Account Balance
    • References
      • Messages Error Codes
Powered by GitBook
On this page
  1. Additional info

Account Balance

Getting the accont balance

GET https://direct.revicom.ltd/api/v1/balance

The method allows for getting the value of the account balance

Headers

Name
Type
Description

Authorization*

string

Basic {TOKEN} Token of any type can be used

In the successful response, the object from the pairs “currency” : “value” is returned.

{
  "USD": 1200.00
}

Request example

GET https://direct.revicom.ltd/api/v1/balance
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
curl -X GET 'https://direct.revicom.ltd/api/v1/balance' \
-H 'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='
PreviousStopping MessagesNextReferences

Last updated 1 year ago