Search the Aria Knowledgebase for
User Documentation, APIs, SDKs, and more!

 

Home > Aria6 core api > update_acct_complete

update_acct_complete

This API allows you to update a broad range of information associated with an account. This information includes:
  • User ID and related login information: Add or change user ID, password and secret question information for the account.
  • Contact information: Add or change account, billing and statement contact information, including name, address, email and phone number.
  • Statement information: Specify the statement notification method and format, such as HTML or PDF, and the associated template used to generate a statement for this account.
  • Parent and child plan assignment: Specify which plans on this account are parent plans or child plans and the relationships between them. You can also assign standard and custom rate schedules to plans on the account.
  • Collection and functional account group assignment: Specify the collection or functional account groups to which this account is assigned.
  • Payment method and taxation status: Specify if the account payment method is a credit card, direct debit, or net terms, an whether the account is tax-exempt.
  • Invoicing/billing information: Specify proration policy and account or billing start/end dates.
  • Surcharges: Specify the type and amount of surcharges applied to the account.
  • Usage: Specify whether unbilled usage is invoiced and if usage pooling is enabled for the account,
  • Coupons and promotions: Specify coupons and promotions to be applied to the account. Revenue recognition: Specify the revenue recognition profile assigned to this account.

Any field on an account can be updated. You can clear the value in any field with a type of "string", provided that the field is nullable for an account, by entering a '~' in that field.

Input Arguments

Req Field Name Field Type Max Length Description
client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
acct_no long 22 Aria-assigned account identifier. This value is unique across all Aria-managed accounts.
first_name string 32 First name of the contact
last_name string 32 Last name of the contact
middle_initial string 1 The Middle initial of the contact.
company_name string 100 Company name of the contact
address1 string 100 First address line of the contact
address2 string 100 Second address line of the contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.
city string 32 City of the contact
locality string 32 Locality of the contact
state_prov string 2 State or Province of the contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries.
country string 2 Country of the contact. ISO-compliant 2-character country code abbreviation in uppercase.
postal_cd string 14 Postal/Zip code for the contact address.
phone string 25 Phone number of the contact
phone_ext string 10 Extension for the contact phone
cell_phone string 20 Contact cell phone.
work_phone string 25 Work phone number of the contact.
work_phone_ext string 10 Extension for the contact work phone
email string 320 Email of the contact
birthdate string 14 Date of birth of the contact
bill_first_name string 32 First name of the billing contact
bill_last_name string 32 Last name of the billing contact
bill_middle_initial string 1 Middle Initial of the billing contact
bill_company_name string 100 Company name of the billing contact
bill_address1 string 100 First address line of the billing contact
bill_address2 string 100 Second address line of the billing contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.
bill_city string 32 City of the billing contact
bill_locality string 32 Locality of the billing contact
bill_state_prov string 2 State or Province of the billing contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries.
bill_country string 2 Country of the billing contact. ISO-compliant 2-character country code abbreviation in uppercase.
bill_postal_cd string 14 Postal code for the billing contact address.
bill_phone string 25 Phone of the billing contact
bill_phone_ext string 10 Extension of the billing contact phone.
bill_cell_phone string 25 Cell phone of the billing contact
bill_work_phone string 25 Work phone of the billing contact
bill_work_phone_ext string 100 Extension of the billing contact work phone
bill_email string 320 Email of the billing contact
pay_method long 8 Method_id corresponding to a payment method such as credit card, Electronic Check, Pre-Paid, Net Terms, etc.   Allowable Values
cc_number string 24 Credit card number.
cc_expire_mm long 2 Expiration month for the credit card.
cc_expire_yyyy long 4 Expiration year for the credit card.
bank_routing_num string 9 ABA routing number for the bank holding 'bank_acct_num'
bank_acct_num string 19 Bank account number.
master_plan_no long 22 Master subscription plan number.
OR
client_master_plan_id string 100 Client-defined unique identifier for Master plan
master_plan_alt_rate_sched_no long 22 Alternate rate schedule number for the master subscription plan being considered.
OR
client_mp_alt_rate_sched_id string 100 Client-defined unique alternate rate schedule identifier for the master plan
master_plan_units long 8 Multiplier variable for the recurring rate on the plan. Generally this value is 1, indicating the face value of the plan's recurring fee is used.
master_plan_assign_directive long 8 Rule to apply to this assignment/de-assignment request, specifying the following: Date the assignment should take place (immediately or on the account's anniversary date). Proration rule to apply (per client's default rules for proration, that is, prorate on plan assignment or force proration on or off for each request). Default is to assign plan on the anniversary date, resulting in no proration effect.   Allowable Values
update_acct_supp_field array Array of supplemental field values to be updated. This array contains three sub-arrays: supp_field_names, supp_field_values, and supp_field_directives. The first value in each sub-array is automatically associated with the first values in the other sub-arrays, as are the second values, third values and so on. Each sub-array must contain the same number of values, or the API fails.
supp_field_names string 100 Pipe-delimited array of supplemental field names.
supp_field_values string 300 Pipe-delimited array of supplemental field values.
supp_field_directives long 1000 Pipe-delimited array of supplemental field directives. Specifies what actions to take (update, delete, etc.)   Allowable Values
update_acct_func_group array Array of functional groups to update.
functional_acct_groups long 38 Array of functional account groups.
OR
client_func_acct_group_ids string 38 Client-defined functional account group ID
functional_group_directives long 1 For each functional group, this specifies what action to take   Allowable Values
update_acct_coll_group array Array of account collection groups to update
collections_acct_groups long 38 Unique ID of the collection account group in which to put the account
OR
client_coll_acct_group_ids string 100 Alternative input to collections_acct_groups above, this array is the client-defined group IDs
collections_group_directives long 1 Indicates whether to add or remove the account to or from the specified groups   Allowable Values
status_cd long 8 Status of the object in question for the current API call.   Allowable Values
notify_method long 8 If notification method is not provided, value will default to 1 (HTML email).
password string 32 Password for the given user
secret_question string 100 "The user's secret question recorded to recover a password."
secret_question_answer string 300 The response to a user's 'secret_question'
pin string 10 Personal Identification Number
test_acct_ind long 1 Indicates the account is a test account and is treated as such in the system.   Allowable Values
resp_level_cd long 2 Responsibility level code.   Allowable Values
senior_acct_no long 22 Unique account number for the parent account. Used to establish parent-child billing relationships.
senior_acct_user_id string 32 Senior account user ID of the account.
client_senior_acct_id string 50 Client senior account ID of the account.
client_acct_id string 50 Client-assigned identifier for the account.
do_collect string 1000 If 'true', a collection is attempted after updating electronic billing information on accounts with outstanding balances.   Allowable Values
change_status_after_coll string 1000 Indicates if the account status is to change after collection is completed.   Allowable Values
reset_dates_after_status string 1000 If 'true', resets the billing dates after an account status change.   Allowable Values
client_receipt_id string 50 Client-defined unique identifier used to track related system actions
alt_do_dunning string 1000 If you are changing the account's status, AND the new status is part of the account's dunning plan, the account can go through the full dunning process which includes dunning fees, dunning notifications, and queuing the account for the next dunning step. If this value is NULL, the client's default setting is honored. If true or false, this input is honored instead of the client's default setting. If the status change is being queued for a future date, this value is ignored and ONLY the clients default setting is honored.
force_currency_change string 5 Force a currency change on update. This is generally necessary when an account moves from one country to another and the new country has a different monetary currency.   Allowable Values
cvv string 6 Card Verification Value. Printed on the credit card and used to help verify a transaction is being requested by the card holder.
taxpayer_id string 32 Taxpayer Identification number.
bill_agreement_id string 22 Unique ID of the bill agreement (also referred to as a token).
auto_cancel_supp_plans string 1000 When changing an account's master plan number, this value determines whether to automatically cancel all supplemental plans that are not mapped to the new master plan. A null value defaults to 'false'.
offset_months long 8 Number of months to add to the prorated period.
alt_proration_start_date string 14 The date, in yyyy-mm-dd format, from which the proration calculations begin. If this field is NULL, then the proration calculations begin from the current date. This date cannot be before the beginning of the current billing period.
alt_msg_template_no long 22 Email template number assigned to this account.
OR
client_alt_msg_template_id string 100 Client-defined unique email template identifier
seq_func_group_no long 22 Functional account group number specifically designated for statement sequence number assignment.
OR
seq_func_group_id string 32 Unique Functional account group ID specifically designated for statement sequence number assignment.
bank_acct_type string 32 The type of bank account being used.   Allowable Values
address3 string 300 Third line of the address
bill_address3 string 300 Third line of the billing address
usage_accumulation_config array
usage_accumulation_plan_no long Plan number on which to activate usage accumulation for more than one billing period
OR
client_usage_accumulation_plan_id string 100 Client-defined plan ID on which to activate usage accumulation for more than one billing period
usage_accumulation_reset_months long 2 For each plan specified, the number of months to accumulate before being reset
enable_usage_pooling_plan_no array
enable_usage_pooling_plan_no long Plans on which to enable usage pooling
OR
client_enable_usage_pool_plan_id string 100 Client-defined enable usage pool plan ID
usage_threshold_applicability string 100 Usage tracking options on the plans in the account   Allowable Values
disable_usage_pooling_plan_no array
disable_usage_pooling_plan_no long Plans on which to disable usage pooling
OR
client_disable_usage_pool_plan_id string 100 Client-defined plan identifier for disable usage pooling
alt_client_acct_group_id string 100 One-time collections account group to use for this specific call. Default collections group on the account is not changed.
track_data1 string 1000 Raw "track 1" data from a swiped credit card used in a card-present transaction to initiate this request
track_data2 string 1000 Raw "track 2" data from a swiped credit card used in a card-present transaction to initiate this request
offset_interval long 1000 If assigning a change on an anniversary day, the number of billing periods by which to delay that change
tax_exemption_level long 1 Tax exemption level of this account
cn_alt_msg_template_no long Alternate email template number to use for this account
OR
client_cn_alt_msg_template_id string 100 Client-defined cn unique alternate email template
promo_cd string 30 Code provided the client and used by the account holder during registration or when executing a transaction. A promotion generally provides access to a custom set of reduced-rate plans.
invoice_unbilled_usage string 5 Specifies if the unbilled usage to be invoiced.   Allowable Values
coupon_code string 30 Coupon code to apply to this account
userid string 32 Users unique identifier.
invoice_approval_required string 5 Boolean indicator to override client's default configured behavior for creating Pending/Real invoice.   Allowable Values
update_surcharge array
surcharge_no long Surcharge number to apply to this account
surcharge_directive long 1000 Surcharge directive to assign/remove the surcharge from the account   Allowable Values
rate_schedule_no long Schedule number for this surcharge
iban string 50 International Bank Account Number(IBAN). Used for the Direct Debit payment method. It consists of 16 to 34 alphanumeric characters. Only hyphen and space are allowed to format the IBAN.
bank_check_digit long 2 Bank check digits enable a sanity check of the bank account number to confirm its integrity before submitting a transaction. Used for the Direct Debit payment method.
bank_swift_cd string 15 SWIFT code is a standard format of Bank Identifier Codes (BIC). Used for the Direct Debit payment method. It consists of 8 or 11 alphanumeric characters. Only hyphen and space are allowed to format the SWIFT code. It is required for IBAN.
bank_country_cd string 2 Country of the bank. The ISO-compliant 2-character country code abbreviation in uppercase. Used for the Direct Debit payment method. It is required for IBAN and BBAN.
mandate_id string 35 Used for the Direct Debit payment method. A mandate is signed by the debtor to authorise the creditor to collect a payment and to instruct the bank of the debtor to pay those collections.
bank_id_cd string 10 Up to 10 digit numeric bank identifier code. Used for the Direct Debit payment method. Used in Europe. Only hyphen and space are allowed to format the bank ID code. It is required for BBAN.
bank_branch_cd string 10 Up to 10 digit numeric bank branch code. Used for the Direct Debit payment method. Used in Europe. Only hyphen and space are allowed to format the bank branch code.
bkup_bill_first_name string 32 First name of the secondary billing contact
bkup_bill_mi string 1 Middle Initial of the secondary billing contact
bkup_bill_last_name string 32 Last name of the secondary billing contact
bkup_bill_company_name string 100 Company name of the secondary billing contact
bkup_bill_address1 string 100 First address line of the secondary billing contact
bkup_bill_address2 string 100 Second address line of the secondary billing contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.
bkup_bill_address3 string 100 second address line of the secondary billing contact
bkup_bill_city string 32 City of the secondary billing contact
bkup_bill_locality string 32 Locality of the secondary billing contact
bkup_bill_state_prov string 2 State or Province of the billing contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries.
bkup_bill_country string 2 Country of the secondary billing contact. The ISO-compliant 2-character country code abbreviation in uppercase.
bkup_bill_postal_cd string 14 Postal code for the secondary billing contact address.
bkup_bill_phone string 25 Phone of the secondary billing contact
bkup_bill_phone_ext string 10 Secondary billing contacts extension for the bill_phone given.
bkup_bill_cell_phone string 25 Cell phone of the secondary billing contact
bkup_bill_work_phone string 25 Work phone of the secondary billing contact
bkup_bill_work_phone_ext string 100 Work phone extension for the secondary billing contact work phone.
bkup_bill_email string 320 Email of the secondary billing contact
bkup_pay_method long 8 Method_id corresponding to a secondary payment method such as credit card, Electronic Check, Pre-Paid, Net Terms, etc.   Allowable Values
bkup_cc_number string 24 Credit card number.
bkup_cc_expire_mm long 2 Expiration month for the credit card payment instrument.
bkup_cc_expire_yyyy long 4 Expiration year for the credit card payment instrument.
bkup_bank_acct_no string 19 Bank account number of the account holder's payment method. Together with the (ABA) bank_routing_no, this value is used to execute electronic check or ACH transactions.
bkup_bank_routing_no string ABA (American Banking Association) unique identifier for the financial institution.
bkup_bank_acct_type string 32 The type of bank account being used.   Allowable Values
bkup_bill_agreement_id string 32 Unique ID of the secondary bill agreement (also referred to as a token).
bkup_cvv string 5 Card Verification Value. Used to help verify a transaction is being requested by the secondary card holder since this value is physically printed on the credit card.
revrec_profile_id long 8 Profile ID of an existing Revenue Recognition Profile.
revrec_client_defined_id string 100 Client-defined identifier of an existing Revenue Recognition Profile. If this parameter is specified it takes precedence over revrec_profile_id.
stmnt_email_list string 3000 Deprecated(Deprecated) Array containing the list of additional email addresses
stmnt_email_list_cc string 3000 Array containing the list of additional cc email addresses
stmnt_email_list_bcc string 3000 Array containing the list of additional bcc email addresses
invoice_posting_method_cd long This configuration specifies whether invoices for this Account need to be manually posted. This setting supersedes the standard client setting for this specific Account.   Allowable Values
acct_start_date string 14 This is the date, in yyyy-mm-dd format, that this account was originally started.
min_statement_threshold long Use this field to specify the balance threshold amount under which a statement should not be sent to the customer. This applies to all customers regardless of payment method.
max_statements_to_defer long Use this field to specify the number of statements to skip sending to the customer. Applies only if min_statement_threshold is specified. If left blank, statements shall be suppressed indefinitely as long as the balance is below the threshold.
defer_full_statements_only long Use this field to only suppress anniversary statements if the balance is below the min_statement_threshold. If left blank, all generated statements, including mid-cycle statements, shall not be sent to the customer if the balance is below the min_statement_threshold. Applies only if a min_statement_threshold is specified.   Allowable Values
cc_id long 2 A numeric code indicating the type of credit card.   Allowable Values
bkup_cc_id long 2 A numeric code indicating the type of credit card.   Allowable Values
alt_caller_id string 30 Person or process that submitted the API call. This can be someone's user ID, or the name of an application.
optional_transaction_qualifiers array Array of additional values you can associate with this API call.
qualifier_name string 100 Name of the field you want to associate with this API call.
qualifier_value string 100 Corresponding value of the field you want to associate with this API call.
application_id string 300 The application identifier in which the API is being used in. (Example: “Sales Force”)
application_date string 300 The application date/timestamp, ie. 01/01/2014 10:00:00 to track when the application called the API.

Output Arguments

Field Name Field Type Description
error_code long Aria-assigned error identifier. 0 indicates no error.
error_msg string Description of any error that occurred. "OK" if there was no error.
proration_result_amount double Currency amount of any proration action resulting from the requested plan change. For plan assignments with an assignment directive of '1' (perform on anniversary date), or '2' (honor client default proration action) when the default is no proration, or '3' (force no proration), this field always returns '0'. If proration is performed, the value returned is either a positive currency value (for a charge) or a negative currency value (for a credit). If do_write is false, then any positive or negative value returned in this field is notational only, showing the proration effect if the requested plan assignment/de-assignment was actually performed.
collection_error_code long If a collection is attempted, returns the error code associated with the collection.
collection_error_msg string Error message associated with collection_error_code.
parent_child_sync_error_code long Error code returned if a synchronization of parent/child billing dates is attempted.
parent_child_sync_error_msg string Error message associated with the parent_child_sync_error_code value.
master_plan_error_code long Error code returned if a master plan update fails.
master_plan_error_msg string Error message associated with the master_plan_error_code value.
master_plan_coll_error_code long Error code for master plan collection errors.
master_plan_coll_error_msg string Error message associated with the master_plan_coll_error_code value.
master_plan_stmt_error_code long Error code returned if a master plan statement update fails.
master_plan_stmt_error_msg string Error message associated with the master_plan_stmt_error_code value.
proc_cvv_response string Processor return code from CVV validation.
proc_avs_response string Processor return code from address validation
proc_cavv_response string Processor return code for security validation.
proc_status_code string Processor status code
proc_status_text string Processor status description
proc_payment_id string Processor payment ID
proc_auth_code string Authorization code provided by the issuing bank
proc_merch_comments string Additional information passed to the payment processor
invoice_no long Unique identifier of a given invoice.
cancelled_supp_plans hash
supp_plan_no long Unique ID of the supplemental plan
supp_plan_name string Name of the supplemental plan
supp_proration_result_amount double Result of the pro-ration calculation for the unused portion of the billing period
client_supp_plan_id string Client-defined supplemental plan ID.
third_party_errors hash Errors from third-party systems like taxation engines are returned here. Aria-generated error codes are returned in the error_code and error_msg fields at the root level of the API return.
error_class string Type of error code being represented, such as taxation
error_code string Aria-assigned error identifier. 0 indicates no error.
error_msg string Description of any error that occurred. "OK" if there was no error.

You must to post a comment.
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.