AccountCallback
The account callback. See the AccountCallbacks type.
Fields
callback_id
callback_id: number
The callback ID (sequence).
type
type: string
The callback type. The following values are possible: account_document_verified, account_is_frozen, account_is_unfrozen, activate_successful, call_history_report, card_expired, card_expires_in_month, card_payment, card_payment_failed, js_fail, min_balance, regulation_address_verified, renewed_subscriptions, reset_account_password_request, sip_registration_fail, stagnant_account, subscription_is_detached, subscription_is_frozen, transaction_history_report, plan_config, unverified_subscription_detached, sms_inbound, account_document_uploaded, balance_is_changed, restored_agreement_status, expired_agreement, expiring_agreement, new_invoice, transcription_complete, expiring_callerid, wire_transfer, robokassa_payment, regulation_address_uploaded, next_charge_alert.
account_id
account_id: number
The account ID.
hash
hash: string
The security hash: hash = md5(account_salt + account_id + api_key + callback_id). Example: 50c5fe2290cd7409b37e673b8b05e495
account_name
account_name: string
The account name.
account_email
account_email: string
The account email.
language_code
language_code: string
The notification language code (2 symbols, ISO639-1). Examples: en, ru
account_first_name
account_first_name: string
The first name.
account_last_name
account_last_name: string
The last name.
balance
balance: decimal
The account's money.
currency
currency: string
The currency code (USD, RUR, EUR, …).
account_document_uploaded
account_document_uploaded:
The specific account callback details.
regulation_address_uploaded
regulation_address_uploaded:
The specific account callback details.
account_document_verified
account_document_verified:
The specific account callback details.
account_is_unfrozen
account_is_unfrozen:
The specific account callback details.
activate_successful
activate_successful:
The specific account callback details.
call_history_report
call_history_report:
The specific account callback details.
card_expires_in_month
card_expires_in_month:
The specific account callback details.
card_payment_failed
card_payment_failed:
The specific account callback details.
js_fail
js_fail:
The specific account callback details. See the 'send_js_error' parameter of the 'SetAccountInfo' function.
regulation_address_verified
regulation_address_verified:
The specific account callback details.
renewed_subscriptions
renewed_subscriptions:
The specific account callback details.
reset_account_password_request
reset_account_password_request:
The specific account callback details.
sip_registration_fail
sip_registration_fail:
The specific account callback details.
subscription_is_frozen
subscription_is_frozen:
The specific account callback details.
subscription_is_detached
subscription_is_detached:
The specific account callback details.
transaction_history_report
transaction_history_report:
The specific account callback details.
unverified_subscription_detached
unverified_subscription_detached:
The specific account callback details.
transcription_complete
transcription_complete:
The specific account callback details.
expiring_agreement
expiring_agreement:
The specific account callback details.
restored_agreement_status
restored_agreement_status:
The specific account callback details.
certificate_expired
certificate_expired:
The specific account callback details.