Getting the current balance

To check your balance, you need to make the following HTTP request:

curl -X GET https://api.msndr.net/v1/email/balance \
     -H 'Content-Type: application/json'      \
     -H 'Authorization: Bearer $API_TOKEN'


 

The GET method and the /email/balance link are used.

If the request is successful, you will receive the following response

 

{
  "tariff" : {
    "subscribers" : {
      "total" : 1000,
      "available" : 997
    },
    "credits" : 0,
    "expires_at" : 1629273060
  },
  "balance" : 12965.96
}


The json response consists of the following attributes, described below:

Attribute

Description

tariff.subscribers.total

total number of subscribers

tariff.subscribers.available

number of available subscribers

credits

Number of emails

expires_at

Tariff expiry time (timestamp)

balance

Balance sheet amount

 

 

Have you tried Cloud4U cloud services? Not yet?

Go to the Main Website

Try for free

  • 54 Users Found This Useful
Was this answer helpful?

Related Articles

Управление рассылками

Создание рассылки  Пример json данных для HTTP запроса: { "from_email":"hello@world.com",...

Механизм Webhooks

Механизм Webhooks позволяет получать POST запросы на указанный вами URL в случае возникновения...

Отправка сообщений по SMTP

Базовый URL smtp.msndr.net Порт 25 или 587 Использование шифрования SSL\TLS не является...

Email Service API - General Information

Through the Email Newsletter Service's Application Programming Interface (API), you can send...

Restrictions on the Service to prevent spam

In order to prevent spam, there is a mechanism that limits the number of messages you can send....