AccountCallback
The account callback. See the AccountCallbacks type.
Fields
callback_id
callback_id: number
The callback ID (sequence)
type
type: string
The callback type
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:
Deprecated. Please use the unified account_document_status_updated callback instead
regulation_address_uploaded
regulation_address_uploaded:
Received when proof of address is uploaded
account_document_verified
account_document_verified:
Deprecated. Please use the unified account_document_status_updated callback instead
account_is_frozen
account_is_frozen:
Received when an account is frozen
account_is_unfrozen
account_is_unfrozen:
Received when an account is unfrozen
activate_successful
activate_successful:
Received when a new (not child) account is created
call_history_report
call_history_report:
Received when a call history report is ready
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
robokassa_payment
robokassa_payment:
Received when a robokassa payment is made
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
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
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_frozen
subscription_is_frozen:
Received when a subscription is frozen
subscription_is_detached
subscription_is_detached:
Received when a subscription is canceled
transaction_history_report
transaction_history_report:
Received when a transaction history report is ready
unverified_subscription_detached
unverified_subscription_detached:
Received when an unverified subscription is canceled
expiring_callerid
expiring_callerid:
Received when a caller ID is about to be expired
transcription_complete
transcription_complete:
Received when a transcription is saved
expiring_agreement
expiring_agreement:
Received for the accounts for which the confirmation documents waiting period expires in 20/15/10/5/1 day(s)
expired_agreement
expired_agreement:
Received for the accounts for which the confirmation documents waiting period has already expired or expires today
restored_agreement_status
restored_agreement_status:
Received when an expiration date of the confirmation documents waiting period is changed
next_charge_alert
next_charge_alert:
Received when a plan is to be renewed in 3 days, but there is not enough money
certificate_expired
certificate_expired:
Deprecated. Please use the expired_certificates and expiring_certificates callbacks instead
expired_certificates
expired_certificates:
Received for the accounts whose Apple VOIP certificates are expired
expiring_certificates
expiring_certificates:
Received for the accounts whose Apple VOIP certificates expire in 14 or fewer days
account_document_status_updated
account_document_status_updated:
Received when the verification status is updated
regulation_address_documents_requested
regulation_address_documents_requested:
Received when the verification status is changed to PENDING
invoice_received
invoice_received:
Received when a monthly invoice is sent