class MonobankApi::ClientInfo

Overview

Represents client information and list of accounts and jars.

Retrieved from /personal/client-info endpoint. Rate limit: no more than 1 request per 60 seconds

Included Modules

Defined in:

monobank_api/resources/personal/client_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def accounts : Array(InfoAccount) #

Перелік доступних рахунків


[View source]
def client_id : String #

Ідентифікатор клієнта (збігається з id для send.monobank.ua)


[View source]
def jars : Array(Jar) #

Перелік банок


[View source]
def managed_clients : Array(ManagedClient) | Nil #

Перелік клієнтів, які надали доступ до рахунків ФОП бухгалтеру


[View source]
def name : String #

Ім'я клієнта


[View source]
def permissions : String #

Перелік прав, які надає сервіс (1 літера на 1 permission)


[View source]
def web_hook_url : String #

URL для надсилання подій по зміні балансу рахунку


[View source]