AccountCallback
The account callback. See the AccountCallbacks type.
Fields
account_document_status_updated
account_document_status_updated:
Received when the verification status is updated
account_document_uploaded
account_document_uploaded:
Deprecated. Please use the unified account_document_status_updated callback instead
account_document_verified
account_document_verified:
Deprecated. Please use the unified account_document_status_updated callback instead
account_email
account_email: string
The account email
account_first_name
account_first_name: string
The first name
account_id
account_id: number
The account ID
account_is_frozen
account_is_frozen:
Received when an account is frozen
account_is_unfrozen
account_is_unfrozen:
Received when an account is unfrozen
account_last_name
account_last_name: string
The last name
account_name
account_name: string
The account name
activate_successful
activate_successful:
Received when a new (not child) account is created
balance
balance: decimal
The account's money
call_history_report
call_history_report:
Received when a call history report is ready
callback_id
callback_id: number
The callback ID (sequence)
card_expires_in_month
card_expires_in_month:
Received when one month is left for a card to be expired
card_payment_failed
card_payment_failed:
Received when a bank card payment is failed
certificate_expired
certificate_expired:
Deprecated. Please use the expired_certificates and expiring_certificates callbacks instead
currency
currency: string
The currency code (USD, RUR, EUR, …)
expired_agreement
expired_agreement:
Received for the accounts for which the confirmation documents waiting period has already expired or expires today
expired_certificates
expired_certificates:
Received for the accounts whose Apple VOIP certificates are expired
expiring_agreement
expiring_agreement:
Received for the accounts for which the confirmation documents waiting period expires in 20/15/10/5/1 day(s)
expiring_callerid
expiring_callerid:
Received when a caller ID is about to be expired
expiring_certificates
expiring_certificates:
Received for the accounts whose Apple VOIP certificates expire in 14 or fewer days
hash
hash: string
The security hash: hash = md5(account_salt + account_id + api_key + callback_id). Example: 50c5fe2290cd7409b37e673b8b05e495
invoice_received
invoice_received:
Received when a monthly invoice is sent
js_fail
js_fail:
Received when send_js_error is set to true and a JS error occurs. See the 'send_js_error' parameter of the 'SetAccountInfo' function
language_code
language_code: string
The notification language code (2 symbols, ISO639-1). Examples: en, ru
next_charge_alert
next_charge_alert:
Received when a plan is to be renewed in 3 days, but there is not enough money
regulation_address_documents_requested
regulation_address_documents_requested:
Received when the verification status is changed to PENDING
regulation_address_uploaded
regulation_address_uploaded:
Received when proof of address is uploaded
regulation_address_verified
regulation_address_verified:
Received when proof of address is verified
renewed_subscriptions
renewed_subscriptions:
Received when subscriptions are renewed
reset_account_password_request
reset_account_password_request:
Received when an account password reset is requested
restored_agreement_status
restored_agreement_status:
Received when an expiration date of the confirmation documents waiting period is changed
robokassa_payment
robokassa_payment:
Received when a robokassa payment is made
sip_registration_fail
sip_registration_fail:
Received when one or several SIP registrations are failed
sip_registration_recovered
sip_registration_recovered:
Received when one or several SIP registrations are recovered
subscription_is_detached
subscription_is_detached:
Received when a subscription is canceled
subscription_is_frozen
subscription_is_frozen:
Received when a subscription is frozen
transaction_history_report
transaction_history_report:
Received when a transaction history report is ready
transcription_complete
transcription_complete:
Received when a transcription is saved
type
type: string
The callback type
unverified_subscription_detached
unverified_subscription_detached:
Received when an unverified subscription is canceled