get_dunning_processes_m
Summary
| API Name | get_dunning_processes_m |
|---|---|
| Class | administration_services_m |
| Update Version | 6.37 |
Description
Retrieves the plans and payment methods associated with dunning process(es)
Inputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| client_no | long | 12 | Yes |
Aria assigned unique identifier indicating the Aria client providing service to this account. |
| auth_key | string | 32 | Yes |
Aria assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
| dunning_processes | object | No |
The dunning_processes associated with this method. |
|
| pay_method_types | object | No |
The pay_method_types associated with this method. |
|
| master_plans | object | No |
The master_plans associated with this method. |
|
| include_dunning_steps | string | 10 | No |
Boolean - true/false. If set to "true", will return per-step detail (dunning_process_steps array, include_all_subscriptions_ind, and final_step_template_no) for each returned dunning process. Defaults to "false". |
dunning_processes fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| dunning_process_no | long | No |
The unique identifier of the dunning process. Alternative field: client_dunning_process_id |
|
| client_dunning_process_id | string | No |
The client-defined identifier of the dunning process. Alternative field: dunning_process_no |
pay_method_types fields
| Name | Type | Length | Required | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pay_method_type_cd | int | No |
Will return all dunning processes associated with the payment method type specified. Allowed values:
|
master_plans fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| plan_no | long | No |
The unique identifier of the master plan associated with a dunning process. Alternative field: client_plan_id |
|
| client_plan_id | string | No |
The client-defined identifier of the master plan associated with a dunning process. Alternative field: plan_no |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error |
|
| error_msg | string | No |
Textual description of any error that occurred. "OK" if there was no error. |
|
| dunning_process_details | object | No |
The dunning_process_details associated with this method. |
dunning_process_details.mapped_master_plans fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| plan_no | long | No |
The unique identifier of the plan associated with the dunning process. |
|
| client_plan_id | string | No |
The client-defined identifier of the plan associated with the dunning process. |
|
| plan_name | string | No |
The name of the plan associated with the dunning process. |
dunning_process_details.mapped_pay_method_types fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| pay_method_type_cd | int | No |
The unique identifier of the payment method type associated with the dunning process. |
|
| pay_method_type | string | No |
The name of the payment method type associated with the dunning process. |
dunning_process_details.dunning_process_steps.fee_currencies fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| currency_cd | string | No |
Three-letter ISO currency code. |
|
| fee_amount | string | No |
Fee amount in the specified currency. |
dunning_process_details.dunning_process_steps fields
| Name | Type | Length | Required | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| step_no | int | Yes |
Sequential step number (1 through total_step_count). The final suspension step is not included in this array. |
|||||||||||||||||||
| step_description | string | No |
Description of the dunning step. |
|||||||||||||||||||
| status_duration_days | int | No |
Number of days this step remains active before advancing to the next step. |
|||||||||||||||||||
| collect_ind | int | No |
Indicator of whether a collection attempt is made during this step. 0 = False, 1 = True. Allowed values:
|
|||||||||||||||||||
| notification_template_no | string | No |
The notification template number for this step. Returns "DO_NOT_SEND" if no template is configured. |
|||||||||||||||||||
| email_destination | string | No |
Human-readable label for the email destination of the dunning notification. Allowed values:
|
|||||||||||||||||||
| fee_type | string | No |
Fee type assessed by this step. Returns "None" when no fee is configured. Allowed values:
|
|||||||||||||||||||
| fee_currencies | object | No |
Per-currency fee amounts for this step. Empty array when fee_type is "None". |
dunning_process_details fields
| Name | Type | Length | Required | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| dunning_process_no | long | Yes |
The unique identifier of the dunning process. |
|||||||
| client_dunning_process_id | string | No |
The client-defined identifier of the dunning process. |
|||||||
| dunning_process_name | string | Yes |
The name of the dunning process |
|||||||
| dunning_process_description | string | No |
The description associated with the dunning process. |
|||||||
| client_default_ind | int | No |
Indicator of whether the dunning process has been defined as the client default dunning process.0 = False, 1 = True Allowed values:
|
|||||||
| total_step_count | int | Yes |
Number of steps (excluding the final dunning notification / suspension step) defined for the dunning process. |
|||||||
| mapped_master_plans | object | No |
The mapped_master_plans associated with this method. |
|||||||
| mapped_pay_method_types | object | No |
The mapped_pay_method_types associated with this method. |
|||||||
| include_all_subscriptions_ind | int | No |
Indicator of whether the dunning process applies to all master plan instances on the account. 0 = False, 1 = True. Only returned when include_dunning_steps is set to "true". Allowed values:
|
|||||||
| final_step_template_no | string | No |
The notification template number used for the final dunning step (suspension). Returns "DO_NOT_SEND" if no template is configured. Only returned when include_dunning_steps is set to "true". |
|||||||
| dunning_process_steps | object | No |
Per-step detail for the dunning process, excluding the final suspension step. Only returned when include_dunning_steps is set to "true". Empty array if the process has no non-final steps. |