Skip to main content
Aria Knowledge Central

assign_acct_plan_m

Summary

API Name assign_acct_plan_m
Class account_services_m
Update Version 65

Description

Assigns a new master plan (subscription) or supplemental plan (add-on) to a specified account, creating a new plan instance. This is one of the most important account management APIs, as it establishes what products/services the customer is subscribed to and how they are billed. A master plan represents a primary subscription; supplemental plans add optional features or services to a master plan. Along with the plan assignment, you can configure: billing group, notification method and template, payment methods, billing/statement/payment contacts, dunning settings, start date and proration options (via assignment_directive), balance forward, parent-child plan relationships, rate schedules (standard or custom), coupons, promotion codes, surcharges, and NSO items. Use update_acct_plan_m to modify an existing plan assignment, replace_acct_plan_m to swap plans, or cancel_acct_plan_m to cancel.

Inputs

Name Type Length Required Description
client_no long 22 Yes

Aria-assigned unique identifier indicating the Aria client providing service to this account.

auth_key string 32 No

Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call.

acct_no long 22 Yes

Aria-assigned account identifier. This value is unique across all Aria-managed accounts.

Alternative required field: client_acct_id

new_plan_no long 22 Yes

The unique identifier of the new plan replacing the existing plan on the instance.

Alternative required field: new_client_plan_id

new_client_plan_id string 100 Yes

The client-defined identifier of the new plan replacing the existing plan on the instance.

Alternative required field: new_plan_no

client_plan_instance_id string 100 No

Unique master plan instance client-defined identifier

existing_billing_group_no long 22 No

Billing group number

Alternative field: existing_client_billing_group_id

existing_client_billing_group_id string 100 No

Client-defined unique identifier for billing group

Alternative field: existing_billing_group_no

billing_group_name string 100 No

Billing Group name

billing_group_description string 1000 No

Billing group description

client_def_billing_group_id string 100 No

Client-defined unique identifier for billing group

notify_method long 2 No

How the client communicates with the account holder. If a notification method is not provided, this value defaults to "1" (HTML email).

Allowed values:

Value Description
0 None
1 HTML Email
2 Text Email
3 Text Email w/link to HTML
4 Data export
5 Printable (no Email) w/Surcharge
6 Printable & Text Email
7 Printable & HTML Email w/Surcharge
8 Printable (no Email)
9 PDF (Printing required, no Email)
10 PDF (delivered by Email)
11 PDF (Printing req & Email)w/surcharge
12 PDF (Printing req, no Email)w/surcharge
13 XML Master File
14 PDF Master File
15 XML Master File and HTML Email
16 XML Master File and Text Email
17 PDF Master File and HTML Email
notify_template_group long 22 No

Aria-assigned unique identifier for the notification template group to be associated with the billing group.

Alternative field: client_notification_template_group_id

statement_template double 22 No

Statement template No.

credit_note_template double 22 No

Credit note template No.

existing_primary_payment_method_no long 22 No

Primary payment method ID

existing_client_primary_payment_method_id string 100 No

Client-defined unique identifier of the primary payment method

existing_backup_payment_method_no long 22 No

Backup payment method ID

existing_client_backup_payment_method_id string 100 No

Client-defined unique identifier of the backup payment method

stmt_first_name string 300 No

Statement contact first name

stmt_mi string 2 No

The Middle Initial of the statement contact.

stmt_last_name string 300 No

Statement contact Last name

stmt_company_name string 100 No

Company name of the statement contact

stmt_address1 string 300 No

First address line of the statement contact

stmt_address2 string 300 No

Second address line of the statement contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.

stmt_address3 string 300 No

Third address line of the statement contact

stmt_city string 300 No

City of the statement contact

stmt_locality string 300 No

Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses.

stmt_state_prov string 10 No

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.

stmt_country string 25 No

Country of the contact. The ISO-compliant 2-character country code abbreviation in uppercase.

stmt_postal_cd string 15 No

Postal/Zip code for the statement contact address.

stmt_phone string 25 No

The phone number of the statement contact

stmt_phone_ext string 10 No

The extension for the statement contact phone

stmt_cell_phone string 20 No

The contact cell phone of the statement contact.

stmt_work_phone string 25 No

Work phone number of the statement contact.

stmt_work_phone_ext string 10 No

The extension for the statement contact work phone

stmt_fax string 25 No

The fax number for the statement contact.

stmt_email string 320 No

Email of the statement contact

stmt_birthdate string 10 No

The birthdate, in yyyy-mm-dd format, of the statement contact.

bill_first_name string 300 No

First name of the billing contact.

bill_middle_initial string 2 No

Middle initial of the billing contact.

bill_last_name string 300 No

Last name of the billing contact.

bill_company_name string 100 No

Company name of the billing contact.

bill_address1 string 300 No

First address line of the billing contact.

bill_address2 string 300 No

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_address3 string 300 No

The third line of the billing address.

bill_city string 300 No

City of the billing contact.

bill_locality string 300 No

Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses.

bill_state_prov string 10 No

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 25 No

Country of the billing contact. The ISO-compliant 2-character country code abbreviation in uppercase.

bill_postal_cd string 15 No

Postal code for the billing contact.

bill_phone string 25 No

Phone number of the billing contact.

bill_phone_ext string 10 No

Phone extension of the billing contact.

bill_cell_phone string 20 No

Cell phone number of the billing contact.

bill_work_phone string 25 No

Work phone number of the billing contact.

bill_work_phone_ext string 10 No

This is the work phone extension for the billing contact work phone.

bill_fax string 25 No

Fax number of the billing contact.

bill_email string 320 No

Email of the billing contact.

bill_birthdate string 10 No

Birthdate of the billing contact.

primary_pay_method_name string 100 No

Payment method name.

primary_pay_method_cdid string 100 No

Client-defined unique identifier for the payment method.

primary_pay_method_description string 1000 No

Payment method description

primary_pay_method_type long 8 No

This is the method_id corresponding to a payment method such as credit card, Electronic Check, Pre-Paid, Net Terms, etc.

Allowed values:

Value Description
-1 External Payment
1 Credit card
2 Electronic Check (ACH)
3 Pre-paid
4 Deprecated Net Terms 30 - use Payment Terms
5 Deprecated Net Terms 10 - use Payment Terms
6 Deprecated Net Terms 15 - use Payment Terms
7 Deprecated Net Terms 60 - use Payment Terms
8 Click&Buy
9 Deprecated Net Terms 0 - use Payment Terms
10 PayByCash
11 PayPal Express Checkout
12 Deprecated Net Terms 45 - use Payment Terms
13 Tokenized Credit Card
14 Purchase Power
15 Deprecated Net Terms 35 - use Payment Terms
16 Deprecated Net Terms 75 - use Payment Terms
17 Deprecated Net Terms 90 - use Payment Terms
18 Deprecated Net Terms 120 - use Payment Terms
19 Deprecated Net Terms 25 - use Payment Terms
20 NETS
26 Direct Debit
37 Tokenized Direct Debit
48 Tokenized ACH Payment
53 Tokenized BECS
cc_number string 20 No

Credit card number.

cc_expire_mm long 2 No

Expiration month for the credit card payment instrument.

cc_expire_yyyy long 4 No

Expiration year for the credit card payment instrument.

bank_acct_no string 19 No

The bank account number.

bank_routing_no string 9 No

The ABA routing number for the bank holding bank_acct_no

cvv string 6 No

Card Verification Value, used to help verify a transaction is being requested by the card holder since this value is physically printed on the credit card.

track_data1 string 300 No

Raw "track 1" data from a swiped credit card used in a card-present transaction to initiate this request

track_data2 string 300 No

Raw "track 2" data from a swiped credit card used in a card-present transaction to initiate this request

bill_agreement_id string 32 No

Unique ID of the bill agreement (also referred to as a token).

iban string 50 No

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 No

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 No

SWIFT code is a standard format of Bank Identifier Codes (BIC). It is 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 No

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 No

Used for the Direct Debit payment method. A mandate is signed by the debtor to authorize the creditor to collect a payment and to instruct the bank of the debtor to pay those collections.

bank_id_cd string 15 No

Up to 10 digit numeric bank identifier code. Used for the Direct Debit payment method. Only hyphen and space are allowed to format the bank ID code. It is required for BBAN.

bank_branch_cd string 15 No

Up to 10 digit numeric bank branch code. Used for the Direct Debit payment method. Only hyphen and space are allowed to format the bank branch code.

existing_dunning_group_no long 22 No

The dunning group number mapped against each master plan.

Alternative field: existing_client_def_dunning_group_id

existing_client_def_dunning_group_id string 100 No

The client-defined dunning group ID mapped against each master plan.

Alternative field: existing_dunning_group_no

dunning_group_name string 100 No

Name of the dunning group.

dunning_group_description string 1000 No

Description of the dunning group.

client_dunning_group_id string 100 No

Client-defined dunning group identifier.

dunning_process_no long 22 No

Dunning process code.

Alternative field: client_dunning_process_id

client_dunning_process_id string 100 No

Client-defined dunning process identifier.

Alternative field: dunning_process_no

alt_start_date string 10 No

Alternative start date, in yyyy-mm-dd format, for the master plan instance being assigned on the account. This date can be used to delay providing services to the account holder (for example: until they have been email validated), and must be within one billing interval of the plan being assigned.

status_until_alt_start long 8 No

Status of the master plan instance prior to alt_start_date or alt_bill_day. If the alt_start_date or alt_bill_day field is used, this field is required and defaults to 0 (inactive) if no value is provided. If an alternate starting date or alternate bill day is provided, the master plan instance remains in this status until its start date arrives. This only applies if a prorated invoice is not created. If a prorated invoice is created, this field is ignored.

Allowed values:

Value Description
1 ACTIVE
2 CANCELLATION PENDING
3 TERMINATION PENDING
10 ACTIVE DUNNING PENDING
31 INSTALLATION PENDING
32 REGISTERED PENDING ACTIVATION
41 ACTIVE TRIAL
61 ACTIVE NON-BILLABLE
-1 SUSPENDED
-2 CANCELLED
-3 TERMINATED
alt_bill_day long 2 No

Number specifying a day of the month to use as an alternate bill day. You can enter a bill date other than the anniversary date in this field. The invoice_mode must be set to 0 or must be blank to enter a date in this field, it cannot be set to 1.

invoicing_option long 1 No

Indicator for performing full invoicing, and Perform Prorated Invoicing or client-defined on this account as part of this call.

Allowed values:

Value Description
1 Perform full invoicing
2 Perform prorated invoicing
3 use client default
4 None
retroactive_start_date string 10 No

Date, in yyyy-mm-dd format, to set for retroactive start.

override_bill_thru_date string 10 No

Applicable only for master plan assignment. When provided, this date will be used as the bill thru date for the master plan instance. The alt_start_date or retroactive_start_date input will be honored with override_bill_thru_date, but invoicing_option must be set to Perform Prorated Invoicing. The override_dates_mp_instance_no or override_dates_client_mp_instance_id parameters take precedence over this input parameter, and if provided together the override_bill_thru_date input will be ignored. The date provided must be in the future, must be after the alt_start_date (if provided), and cannot exceed one recurring billing interval. This parameter cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). A prorated invoice will be generated for recurring services from the effective start date of the plan instance through the override_bill_thru_date provided. If the plan being assigned has no usage services, the next_bill_date (aka anniversary date) will be the override_bill_thru_date + 1 day. If the plan has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the override_bill_thru_date + 1 day.

override_dates_mp_instance_no long 22 No

Applicable only for master plan assignment. When provided, the billing dates for the new master plan being assigned will be aligned with the billing dates of the existing master plan instance specified (honoring the bill day of the existing master plan instance). The alt_start_date or retroactive_start_date input will be honored with the override_dates_mp_instance_no or the override_dates_client_mp_instance_id, but invoicing_option must be set to Perform Prorated Invoicing. These parameters take precedence over the override_bill_thru_date parameter, and cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). If the recurring interval of the new master plan instance will be the same as or longer than the existing master plan instance, a prorated invoice for the master plan being assigned will be generated for recurring services from the effective start date of the plan instance through the bill_thru_date of the existing master plan instance. If the recurring interval of the new master plan instance will be shorter than the existing master plan instance, the bill_thru_date for the new master plan instance will be calculated based on its recurring interval to be the earliest date in the future that will ensure the recurring services for both master plan instances will be invoiced together on the existing master plan instance's bill_thru_date + 1 day. In the above scenarios, if the new master plan instance has no usage services, the next_bill_date (aka anniversary date) will be the bill_thru_date + 1 day. If the new master plan instance has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the bill_thru_date + 1 day.

Alternative field: override_dates_client_mp_instance_id

override_dates_client_mp_instance_id string 100 No

Applicable only for master plan assignment. When provided, the billing dates for the new master plan being assigned will be aligned with the billing dates of the existing master plan instance specified (honoring the bill day of the existing master plan instance). The alt_start_date or retroactive_start_date input will be honored with the override_dates_mp_instance_no or the override_dates_client_mp_instance_id, but invoicing_option must be set to Perform Prorated Invoicing. These parameters take precedence over the override_bill_thru_date parameter, and cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). If the recurring interval of the new master plan instance will be the same as or longer than the existing master plan instance, a prorated invoice for the master plan being assigned will be generated for recurring services from the effective start date of the plan instance through the bill_thru_date of the existing master plan instance. If the recurring interval of the new master plan instance will be shorter than the existing master plan instance, the bill_thru_date for the new master plan instance will be calculated based on its recurring interval to be the earliest date in the future that will ensure the recurring services for both master plan instances will be invoiced together on the existing master plan instance's bill_thru_date + 1 day. In the above scenarios, if the new master plan instance has no usage services, the next_bill_date (aka anniversary date) will be the bill_thru_date + 1 day. If the new master plan instance has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the bill_thru_date + 1 day.

Alternative field: override_dates_mp_instance_no

balance_forward double 12 No

balance forward

resp_level_cd long 1 No

The responsibility level code. These are values 1 through 3 as described in the legend for this argument.

Allowed values:

Value Description
1 Standard Self-Pay: default
2 Parent Pay: Usage accrues under self, invoices are generated per self's plan rules BUT are presented for payment against parent account'
3 Parent Usage & Pay: Usage accrues under parent and applied only to parent's plan rules and presented to parent for payment'
parent_acct_master_plan_inst_id long 22 No

Note: This field is deprecated. Aria no longer supports parent_acct_master_plan_inst_id.

parent_plan_instance_no long 22 No

Unique identifier of a plan in the plan instance hierarchy under which the new plan will be assigned.

Alternative field: client_parent_plan_instance_id

client_parent_plan_instance_id string 100 No

Unique Client-defined identifier of a plan in the plan instance hierarchy under which the new plan will be assigned.

Alternative field: parent_plan_instance_no

alt_rate_schedule_no long 22 No

Alternative Rate Schedule Number. The alt_rate_schedule_no is the unique identifier for an alternative rate schedule that can be assigned to the account holder in place of the default rate schedule. This is often done by CSRs to provide special compensation or discounts as incentives to account holders.

Alternative field: client_alt_rate_schedule_id

plan_units double   No

The units of the plan added at this change

coupon_codes object   No

An array of coupon details for the master plan instance.

See fields below

promo_cd string 30 No

This is the 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.

mpi_surcharges object   No

Surcharge for master plan Instance

See fields below

plan_status long 2 No

Updates the plan status for the plan instance.

Allowed values:

Value Description
1 Active
2 Pending Cancellation
3 Pending Termination
31 Pending Installation
32 Pending Activation
41 Trial
61 Active Non-Billable
0 Inactive
-1 Suspended
-2 Cancelled
-3 Terminated
plan_instance_description string 1000 No

Updated the description for the plan instance.

plan_instance_fields object   No

See fields below

assignment_directive long 8 No

The rule to be applied to this assignment request, governing the proration rule is applied. Default behavior is to make the plan change (assign/deassign a plan to an account, change units on an existing plan, etc.) immediately based on client-defined default proration rule, resulting in appropriate prorated charge and credit.

Allowed values:

Value Description
1 Perform the requested plan change on the account's next scheduled billing anniversary date. The account does receive service under this plan (for plan assignments) or have it removed (for de-assignments) until that date. If a plan is being assigned, initial billing for a full period of the given plan is performed on the account's next scheduled anniversary date. No charge or credit proration effect. No new invoice/charges are generated when no proration occurs.
2 Perform the requested plan change immediately, honoring the client's pre-configured universal rule for performing or not performing proration as a result of a mid-billing-period plan assignment or de-assignment. No new invoice/charges are generated when no proration occurs. (default)
3 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing NO PRORATION. No new invoice/charges are generated when no proration occurs.
4 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION.
5 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CHARGES ONLY. NOTE: This value is not permitted when cancelling supplemental plans.
6 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CREDITS ONLY. NOTE: This value is not permitted when assigning supplemental plans.
7 Perform the requested plan change on the specified effective_date, honoring the client's pre-configured universal rule for performing or not performing proration as a result of a mid-billing-period plan assignment or de-assignment. No new invoice/charges are generated when no proration occurs.
8 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing NO PRORATION. No new invoice/charges are generated when no proration occurs.
9 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION.
10 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CHARGES ONLY. NOTE: This value is not permitted when cancelling a supplemental plan.
11 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CREDITS ONLY. NOTE: This value is not permitted when assigning a supplemental plan.
comments string 500 No

Additional explanatory text relating to this API call.

do_write string 5 No

Boolean indicator that specifies whether to actually perform the requested operation. If 'false' is passed in this field, Aria calculates, if applicable, any potential effects from this call such as proration, plan assignments, etc. and return all relevant data without actually performing the requested operation or making any changes to the account. This is useful to interfaces that want to present the user with a 'confirmation page' informing them of the potential effects of the requested operation prior to actually performing it. Do_write defaults to 'true'

Allowed values:

Value Description
True  
False  
client_receipt_id string 50 No

Client-defined unique identifier used to track related system actions

offset_months long 4 No

For plan recurring intervals of longer than one month, the number of months to offset proration and first bill date.

alt_proration_start_date string 10 No

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.

auto_offset_months_option long 1 No

Automatically set the offset for the billing anniversary month.

Allowed values:

Value Description
1 sync to master plan recurring bill thru date
alt_client_acct_group_id string 100 No

One-time collections account group to use for this specific call. Default collections group on the account is not changed.

usage_accumulation_reset_months long 4 No

The number of reset months for each plan

usage_pooling string 5 No

Indicates whether usage pooling is enabled for this plan instance. Allowable values are 'true' and 'false'.

Allowed values:

Value Description
True Usage pooling is enabled for this plan instance.
False Usage pooling is not enabled for this plan instance. (default)
usage_threshold_applicability string 2 No

Usage tracking options on the plans in the account

Allowed values:

Value Description
UT Usage Type
UP Usage Pool
custom_rates object   No

An array of custom rates for the specified account number

See fields below

effective_date string 10 No

If the assignment directive is for a future date assignment, this is the date, in yyyy-mm-dd format, on which the plan change will be executed. If this field is NULL, then the plan change will not happen until it is manually executed or until the effective_date is updated.

offset_interval long 4 No

If assigning a change on an anniversary day, the number of billing periods by which to delay that change. If the new plan is different from the old plan, and this value is greater than 0, then the billing date continues to be the annniversary date.

force_supp_bill_date_reset long 1 No

Note: This field is deprecated. Aria no longer supports force_supp_bill_date_reset.

client_alt_rate_schedule_id string 100 No

Client-defined alternate rate schedule identifier to assign (if any). If none is specified, the default rate schedule number will be used.

Alternative field: alt_rate_schedule_no

nso_bill_immediately long 1 No

Determines when the NSO order is fulfilled and then billed.

Allowed values:

Value Description
0 Fulfill immediately. Bill on next anniversary.(default)
1 Fulfill immediately. Bill immediately.
2 Order Held.
3 Fulfill on fulfillment date. Bill on the next anniversary bill after the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment will happen in API itself as in nso_bill_immediately = 0.
4 Fulfill on fulfillment date. Bill on the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment and billing will happen in API itself as in nso_bill_immediately = 1.
5 Fulfill on fulfillment date. Bill on the next anniversary bill that bills arrears services through the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment will happen in API itself as in nso_bill_immediately = 0.
nso_item_list object   No

Non-Subscription Offerings that are purchased with the plan

See fields below

proration_invoice_timing long 1 No

Determines whether to create a separate invoice for prorated charges immediately, or defer to the next anniversary date. Note that this will override the Proration Invoice Timing configuration saved with the plan in the product catalog.

Allowed values:

Value Description
Null(default) Honor Proration Invoice Timing configuration saved with the plan in the product catalog.
0 Indicates to generate the invoice immediately for the pro-rated charges.
1 Indicates to generate the invoice to the next anniversary date for the pro-rated charges.
po_num string 100 No

Purchase order number assigned to the plan instance.

nso_po_num string 100 No

Purchase order number assigned to the one-time order.

cc_id long 2 No

A numeric code indicating the type of credit card.

Allowed values:

Value Description
1 Visa
2 MasterCard
3 American Express
4 Discover
5 Diners Club/Carte Blanche
6 Maestro
7 JCB
8 Laser
9 Dankoort
bill_contact_no long 22 No

The Aria-assigned unique identifier for the contact on this account to be used as the billing contact for the payment method. If bill_contact_no is included in the API request, all other billing contact parameters are ignored.

stmt_contact_no long 22 No

The Aria-assigned unique identifier for the statement contact associated with a billing group on the account.

plan_update_services object   No

List of services associated with the plan being assigned or updated on the account.

See fields below

combine_invoices long 1 No

Indicator for combining invoices when retroactive start dates, negative bill lag days, or plan changes just prior to the next billing date would otherwise have generated multiple invoices. The allowable values are 1, 2, or 3.

Allowed values:

Value Description
1 Combine Invoices (long cycle)
2 Do Not Combine Invoices (short cycle)
3 Use client default configuration setting
credit_memo_template double 22 No

Credit template No.

rebill_template double 22 No

Rebill template No.

force_master_bill_date_reset long 1 No

Overrides the "Sync_mstr_bill_dates_on_1st_supp" client-level setting that determines whether or not no-charge master plan billing dates should be reset when assigning a new supplemental plan or when the supplemental plan instance status is updated to a billable status. If this value is left empty, the client-level setting will take effect.

Allowed values:

Value Description
Null If this value is left empty, the client-level setting (Sync_mstr_bill_dates_on_1st_supp) will take effect.
1 Do not reset master plan billing dates.
2 Reset master plan billing dates if master plan is "free", the account has no "billable" supplemental plans, and the newly-assigned supplemental plan is "billable.
3 Reset master plan billing dates if master plan is "free" and the account has no active supplemental plans.
recurring_processing_model_ind long 1 No

Defines a recurring payment type for Credit Card and Tokenized Credit Cards. A null value will default to 0 - Cardholder-Initiated Transaction - Credentials on File.

Allowed values:

Value Description
0 Cardholder-Initiated Transaction - Credentials on File: a credit card transaction initiated by the cardholder for a new order or a plan upgrade that uses a credit card that is currently stored in Aria.
1 Cardholder-Initiated Transaction: a credit card transaction initiated by the cardholder for a new account or creating an order that uses an alternate credit card that is not currently stored in Aria.
2 Merchant-Initiated Transaction - Standing Instruction - Recurring: a credit card transaction initiated by Aria's clients for a recurring charge that uses a credit card that is currently stored in Aria.
3 Merchant-Initiated Transaction - Unscheduled Credentials on File: a credit card transaction initiated by Aria's clients for a non-recurring charge (one-time order or plan upgrade) that uses a credit card that is currently stored in Aria.
usage_accumulation_reset_months_renewal_option long 1 No

Determines whether the usage accumulation reset months will automatically reset to same value at the end of the current period or will expire at end of current period.

Allowed values:

Value Description
1 Recurring / Auto-Renew (default)
2 Single Use
include_plan_instance_queue string 5 No

Boolean indicator to return the queues created on this api call.

Allowed values:

Value Description
False Created queues will not be returned in the api call (default).
True Created queues will be returned in plan_instance_queue array.
collection_group_bg object   No

Array for collection groups for billing group.

See fields below

bill_lag_days long 10 No

Bill lag days refer to the number of days prior to (negative) or after (positive) an account billing date at which an invoice should be generated for this Master Plan Instance. Negative bill lag days are typically used for subscription-based services (often subscription-based services paid using net-terms), in which the user would like to send out invoices to customers well in advance of the real invoice date. Positive bill lag days are typically used for usage-based services.

client_notification_template_group_id string 50 No

Client-defined unique identifier for the notification template group to be associated with the billing group.

Alternative field: notify_template_group

proc_field_override array   No

The processor-specific fields passed as an array of proc_field_name/proc_field_value key-value pairs. The allowable fields and values for the key-value pairs are highlighted in blue below.

See allowable proc_field_names

resp_master_plan_instance_no long 22 No

The unique identifier of the master plan instance on the responsible account. Required if responsibility level is set to one of the two parent pay options. Note: The resp_master_plan_instance_no will be ignored when the resp_level_cd is "self-pay".

Alternative field: resp_client_master_plan_instance_id

resp_client_master_plan_instance_id string 100 No

The client-defined identifier of the master plan instance on the responsible account. Required if responsibility level is set to one of the two parent pay options. Note: The resp_client_master_plan_instance_id will be ignored when the resp_level_cd is "self-pay".

Alternative field: resp_master_plan_instance_no

alt_proration_end_date string   No

Applicable only for plan instance that is of daily/weekly billing interval type. It is for supplemental plan only in assigning and for both master plan and supplemental plan in replacing. The date, in yyyy-mm-dd format, should never be before the alt_proration_start_date if specified, the retroactive_start_date if specified, or the current date.

bank_name string 100 No

Bank name for the account payment method

bank_city string 100 No

Bank city for the account payment method

client_acct_id string 50 Yes

Client-defined account identifier.

Alternative required field: acct_no

coupon_codes_override_discount_rules object   No

An array of coupon details which will be assigned at MPI stack level or to specific PI based on the assignment_scope.

See fields below

nso_fulfillment_date string 10 No

The date the Non Subscription Offering is fulfilled. A date in the past, present, or future can be specified.

bank_acct_type string 32 No

The type of bank account being used.

Allowed values:

Value Description
savings  
checking  
business  
bank_acct_holder_type string 32 No

This field denotes the bank account holder type. The value can be either individual or company.

Allowed values:

Value Description
individual  
company  
mandate_signature_date string   No

The date, in yyyy-mm-dd format, on which the mandate was signed.

taxation_company_code string 10 No

A unique ID number defined in a taxation provider (like Avalara) to identify your different company's or business units.

payment_method_verification_code string 1000 No

The code provided by the account validator.

emandate_signature string 1000 No

This is the electronic signature returned after successfully completing an e-mandate request through an e-Mandate service.

bg_einvoicing_fields object   No

Array of e-invoicing fields associated with the billing group.

See fields below

coupon_codes fields

Name Type Length Required Description
coupon_codes string 30 No

The coupon codes to assign to this master plan instance, if any

mpi_surcharges fields

Name Type Length Required Description
mpi_surcharge_no long 22 No

The surcharge number to assign to the master plan. Required when assigning a surcharge to a master plan.

mpi_rate_schedule_no long 22 No  

plan_instance_fields fields

Name Type Length Required Description
plan_instance_field_name string 100 No

Required based on the definition of each plan instance field associated with the new plan.

plan_instance_field_value string 100 No

Required based on the definition of each plan instance field associated with the new plan.

custom_rates fields

Name Type Length Required Description
custom_rate_client_service_id     No  

nso_item_list fields

Name Type Length Required Description
client_sku string   No  
item_units double 22 No

NSO quantity that is purchased along with plan

item_svc_location_no long 22 No

The Aria-assigned unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

client_item_svc_location_id string 100 No

The client-defined unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

item_dest_contact_no long 22 No

The Aria-assigned unique identifier for the destination contact for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations.

plan_update_services fields

Name Type Length Required Description
service_no long 22 No

The Aria-assigned unique identifier for the service associated with the plan instance. Either this field or client_service_id is required to map plan services to the plan instance.

Alternative field: client_service_id

client_service_id string 100 No

The client-defined identifier for the service associated with the plan instance.

Alternative field: service_no

svc_location_no long 22 No

The Aria-assigned unique identifier for the origin location for the specified service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

client_svc_location_id string 100 No

The client-defined unique identifier for the origin location for the service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

dest_contact_no long 22 No

The Aria-assigned unique identifier for the destination contact for the specified service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations.

collection_group_bg fields

Name Type Length Required Description
collections_group_bg_no long 22 No

Collection Group Number to which this billing group should be assigned.

Alternative field: client_collections_group_bg_id

client_collections_group_bg_id string 100 No

Collection Group ID to which this billing group should be assigned.

Alternative field: collections_group_bg_no

proc_field_override fields

proc_field_name proc_field_value
transaction_type

Defines a transaction type for Credit Cards and Tokenized Credit Cards. If a value is not entered, it will default to your client configuration settings. Please note that the values differ per processor. For a list of transaction types, please read our documentation.

Allowed values:

proc_field_value Description
-1 Use client configuration settings for "Send Transaction Type as Recurring for Initial Request Where Possible" or "Send Transaction Type as Recurring for Subsequent Request" as applicable.
1 (Chase) Single Transaction mail/telephone order (MOTO) - Designates a transaction where the accountholder is not present at a merchant location and consummates the sale via the phone or through the mail. The transaction is not for recurring services or product and does not include sales that are processed via an installment plan.
2 (Chase) Recurring Transaction - Designates a transaction that represents an arrangement between an accountholder and the merchant where transactions are going to occur on a periodic basis.
3 (Chase) Installment Transaction - Designates a group of transactions that originated from a single purchase where the merchant agrees to bill the accountholder in installments.
4 (Chase) Deferred Transaction - Designates a transaction that represents an order with a delayed payment for a specified amount of time.
5 (Chase) Secure Electronic Commerce Transaction - Designates a transaction consummated via the Internet at a 3-D Secure capable merchant and the accountholder is fully authenticated. (e.g. 3-D Secure includes Verified by Visa, Mastercard Identity Check, American Express SafeKey and Discover ProtectBuy).
6 (Chase) Non-Authenticated Electronic Commerce Transaction - Designates a transaction consummated via the Internet at a 3-D Secure capable merchant that attempted to authenticate the accountholder using 3-D Secure (e.g. 3-D Secure includes Verified by Visa and Mastercard Identity Check). Verified by Visa, Mastercard Identity Check, American Express SafeKey and Discover ProtectBuy transactions in the event of: * A non-participating Issue * A non-participating accountholder of a participating Issuer * A participating Issuer, but the authentication server is not available
7 (Chase) Channel Encrypted Transaction - Designates a transaction between an accountholder and a merchant consummated via the Internet where the transaction includes the use of transaction encryption such as SSL, but authentication was not performed. The accountholder payment data was protected with a form of Internet security, such as SSL, but authentication was not performed. For Discover, indicates an e-commerce Card Transaction with data protection but not using ProtectBuy for Cardholder authentication.
8 (Chase) Non-Secure Electronic Commerce Transaction - Designates a transaction between an accountholder and a merchant consummated via the Internet where: * The transaction does not include the use of any transaction encryption such as SSL * Authentication is not performed * An accountholder certificate is not managed.
I (Chase) IVR Transaction (PINless Debit only) - Designates a transaction where the accountholder consummates the sale via an interactive voice response (IVR) system.
R (Chase) Retail Transaction - Designates a transaction where the accountholder was present at a merchant location.
telephone (Vantiv) The transaction is for a single telephone order.
mailorder (Vantiv) The transaction is for a single mail order transaction.
client_3ds_nonce The 3ds enriched nonce used for the card authorization.
payer_auth_reference_id Reference id for 3ds transaction session.
payer_auth_transaction_mode

The transaction mode identifies the channel from which the transactions are originated of Cybersource 3ds 2.0.

Allowed values:

proc_field_value Description
M MOTO
R Retail
S eCommerce
P Mobile Device
T Tablet
payer_auth_transaction_id Authentication Transaction id for 3ds authorization.
end_user_browser_accept_header Browser Accept Header that was used for placing an online order. Some examples might include 'text/html,application/xhtml+xml,application/xml ;q=0.9,*/*;q=0.8'.
end_user_browser_agent Browser that was used for placing an online order. Some examples might include "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0".
end_user_browser_color_depth Browser color depth in bits per pixel. This should be obtained by using the browser's screen.colorDepth property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth.
end_user_browser_java_enabled_ind Boolean value indicating if the shopper's browser is able to execute Java.
end_user_browser_language Browser supported language(as defined in IETF BCP 47). This should be obtained by using the browser's navigator.language property.
end_user_browser_screen_height Browser total height that was used for placing an online order.
end_user_browser_screen_width Browser total width that was used for placing an online order.
end_user_browser_timezone_offset_mins Time difference between UTC time and the shopper's browser local time, in minutes.
pa_3ds_completion_ind In Adyen, for 3DS v2.0 transaction, if the response of DDC is received within 10sec set this to 'Y', else set this to 'N'.
pa_3ds_trans_status In Adyen, for 3DS v2.0 transaction, if the response of Challenge Shopper is NOT received within 10mins set this to 'U', else set the value from Challenge shopper response.
pa_3ds_termination_url Termination url for 3DS transaction.
pa_machine_id HTTP cookie to be used in the HTTP header for Worldpay 3DS transaction.
sca_exemption_type Defines a exemption type indicator for 3D secure transactions. Depending upon the exemption reason, it can bypass Strong Customer Authentication. If a value is not entered, it will default to your client configuration settings. Please note that the values differ per processor. For a list of exemption types, please read our documentation. (values: -1 - Use client configuration settings for determining the exemption type. 0 - Transaction will be performed with no exemption. 1 - (Chase) Transaction will be performed with low value exemption.)
mandate_collection_method

Use this field to specify how the customer will authorize the mandate for direct debit collection. It is required for ACH, SEPA, and BACS. If the the mandate is collected online, the customer IP address and useragent must be collected and passed in the collection API. If offline, you must collect and maintain the authorization in your records. This is applicable for Stripe Payment Processor.

Allowed values:

proc_field_value Description
0 Offline - Default
1 Online
end_user_ip_address IP address that was used for placing an online order.
end_user_browser_agent Browser that was used for placing an online order. Some examples might include "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0".
bank_acct_holder_type

The type of entity that holds the account. This is applicable for Stripe Payment Processor.

Allowed values:

proc_field_value Description
I This bank account belongs to an individual
C This bank account belongs to a company
kount_session_id kount_session_id is a unique identifier generated by Kount, a fraud prevention and risk management platform for Evertec.

coupon_codes_override_discount_rules.override_discount_rule_scope.plan_service_detail.service_detail fields

Name Type Length Required Description
service_no long 22 No

Aria unique catalog service no.

client_service_id string 100 No

CLient defined service identifier.

coupon_codes_override_discount_rules.override_discount_rule_scope.plan_service_detail fields

Name Type Length Required Description
plan_no long 22 No

Aria unique catalog plan no.

client_plan_id string 100 No

Client defined plan identifier.

service_detail object   No

List of services under the plan no.

See fields below

coupon_codes_override_discount_rules.override_discount_rule_scope.item_detail fields

Name Type Length Required Description
item_no long 22 No

Aria unique item no.

client_sku string 100 No

Client defined item id.

coupon_codes_override_discount_rules.override_discount_rule_scope fields

Name Type Length Required Description
rule_no long 22 No

Discount rule no associated to the coupon.

client_rule_id string 100 No

Client defined rule id associated to the coupon.

scope_no long 22 No

Override scope number

Allowed values:

Value Description
0 All Charges
10 All Plan Charges, All Plans
11 All Plan Charges, Specified Plans
12 All Plans, Specified Service Charges
13 Specified Plan/Service Charges
21 All Recurring Service Charges
22 All Usage Service Charges
23 All Activation Service Charges
30 All Item Charges
31 Specified Item Charges
plan_service_detail object   No

Array of plans which can be overridden. For scope_no 11, only plan_no information will be considered and service_detail will be ignored. For scope_no 12, only service_details will be considered. plan_no, client_plan_Id will be ignored. For scope_no 13, both plan_no detail and service_detail will be considered and validated. For all other scopes, thie plan_details will be ignored.

See fields below

item_detail object   No

Array of plans which can be overridden. Supply the array for scope_no 31.

See fields below

coupon_codes_override_discount_rules fields

Name Type Length Required Description
coupon_code string 30 No

The coupon codes to assign at MPI stack level or to specific PI based on the assignment_scope.

assignment_scope long 1 No

Determines whether the coupon should be assigned at MPI stack level, or to the PI passed as input or if it is also to be assigned to the mandatory child plans of the PI.

Allowed values:

Value Description
1 MPI Stack level (default).
2 Specific Plan Instance level.
3 Specific Plan Instance level to given PI and also to its mandatory child plans.
override_discount_rule_scope object   No

This field overrides the discount rule scope set at "Marketing Catalog".

See fields below

bg_einvoicing_fields fields

Name Type Length Required Description
bg_einvoicing_field_name string 100 No

Name of the e-invoicing field.

Allowed values:

Value Description
government_invoice_id Stores the Government Invoice ID (Leitweg-ID) used to route e-invoices to German public sector recipients. Takes priority over the account-level value when set.
bg_einvoicing_field_value string 100 No

The value corresponding to the e-invoicing field name.

Outputs

Name Type Length Required Description
error_code long   No

Aria-assigned error identifier. 0 indicates no error.

error_msg string   No

Description of any error that occurred. "OK" if there was no error.

proration_result_amount double   No

The currency amount of any resulting proration action performed as a result of 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 configuration is to not do proration, or '3' (force no proration), the value returned in this field will always be '0'. When proration is performed the value returned in this field will either be a positive currency value (indicating a resulting charge to the account) or a negative currency value (indicating a credit to the account). If the value passed in field do_write is false then any positive or negative value returned in this field is notational only, demonstrating what proration effect would be applied to the account if the requested plan assignment/de-assignment were to be actually performed.

collection_error_code long   No

If a collection is attempted, returns the error code associated with the collection.

collection_error_msg string   No

The error message associated with collection_error_code.

statement_error_code long   No

The error code if statement generation fails.

statement_error_msg string   No

The text message associated with 'statement_error_code'

proc_cvv_response string   No

The processor return code from CVV validation.

proc_avs_response string   No

Processor return code from address validation

proc_cavv_response string   No

The processors return code for security validation.

proc_status_code string   No

The processor status code

proc_status_text string   No

The processors status description

proc_payment_id string   No

The processor payment ID

proc_auth_code string   No

Authorization code provided by the issuing bank

proc_merch_comments string   No

Additional information passed to payment processor

proc_initial_auth_txn_id string 100 No

Transaction ID from payment processor. If received as part of an auth request, it must be retained for future settlement and match the value from the auth response. It should also be used for future recurring transaction auths/settlement.

invoice_no long   No

The Aria-assigned unique identifier of a given invoice.

expectd_activation_fee double   No

The activation fee the account holder can expect based on the activation fees of the plans on this invoice

expectd_mthly_recurring_cost double   No

Regardless of the billing interval on the account, the monthly recurring cost of this change

expectd_annu_recurring_cost double   No  
acct_plan_line_items object   No

See fields below

total_charges_before_tax double   No

Total amount to be charged to the account before taxes have been calculated.

total_tax_charges double   No

Total taxes as calculated for the amount of the transaction.

total_charges_after_tax double   No

Total amount to be charged to the account after taxes have been calculated.

total_credit double   No

The total amount of the credit to be applied to the account

total_tax_credit double   No

The tax amount of the credit to be applies

total_credit_before_tax double   No

The credit to be applied before tax is taken into account

total double   No

The grand total of this invoice

proration_tax_amount double   No

The pro-rated tax credit amount

proration_credit_result_amount double   No

The total pro-rated credit amount

proration_credit_amount double   No

The non-tax pro-rated credit amount

plan_instance_no long 22 No

The unique identifier of the plan instance (can be either a master or supplemental plan) on which the plan will be replaced.

nso_order_no long 22 No

The unique identifier for an order that is created for bundled NSOs.

nso_order_status_label string   No

Status label for this order

plan_instance_queue object   No

This array contains a list of queued plans, their identifier, and type.

See fields below

cc_auth_details object   No

Collection group and processor details when there is a cc auth or validation failure.

See fields below

proc_payment_response_field_list object   No

Payment response fields returned by the processor for further actions if any.

See fields below

collection_payment_method_no long   No

The payment method sequence no for the payment attempted during collection.

acct_plan_line_items fields

Name Type Length Required Description
service_no     No  
client_service_id     No  
po_num     No  

plan_instance_queue fields

Name Type Length Required Description
queue_id long   No

Aria queue_id for future plan changes that can be used for follow on actions.

queue_type_ind long   No

This designates the type of queued action.

Allowed values:

Value Description
1 Plan Rollover
2 Future Plan Replace
3 Future Plan Assign
4 Future Plan Cancel
5 Future Plan Update
plan_instance_no long   No

Aria plan instance number

cc_auth_details fields

Name Type Length Required Description
collection_group_no long 22 No

Collection Group number.

collection_group_name string 100 No

Collection Group Name.

processor_id long 22 No

Payment Processor Id.

processor_name string 100 No

Payment Processor Name.

proc_payment_response_field_list fields

Name Type Length Required Description
proc_payment_response_field_name string 100 No

Field name of various response returned by the processor, example: micro_deposit_verify_url.

Allowed values:

Value Description
micro_deposit_verify_url The URL returned by the processor to share with the customer to validate their bank information and perform the micro deposits.
proc_payment_response_field_value string 4000 No

Field value for the corresponding payment response field, example: Actual URL to be used for the micro deposit verification.

TOP
  • Was this article helpful?