record_external_payment_m Guide
The record_external_payment_m API records a payment transaction for a payment collected from an account holder.
| API Specification: | record_external_payment_m |
| Required Fields: |
|
Additional Guidance
- Aria deprecated the array <specific_installment_message_id> and array member field <installment_message_id> as of January 2026 (Release 68). Now, you can use the array <specific_message_id_list> with the array member field <message_id> to specify email message IDs for independent payment plan payments due notifications.
- The parameters <client_payment_plan_id> and <payment_plan_no> do not support the statement-driven payment application method (method 4), consistent with <specific_charge_transaction_id>, <invoice_no>, and <specific_master_plan_instances_list>.
- When provided, <client_payment_plan_id> or <payment_plan_no> takes precedence over <specific_charge_transaction_id>, <invoice_no>, and <specific_master_plan_instances_list>.
- The client parameter "Allow Payments Prior to First Invoice and Prior to Previous External Payments" (Configuration > Payments > Payment Settings), when set to "true," allows you to record external payments on accounts that have not yet invoiced or where the payment date predates prior billing or external payments. This enables use cases such as accepting commitment payments on newly created, non-billable or inactive accounts and having those funds available to allocate to future invoices as they are generated.
Input Fields
| Field Name | Notes | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
<specific_charge_transaction_id> (array) OR <invoice_no> (array) OR <specific_master_plan_instances_list> (array) |
You should call this API with only one of these three arrays populated to apply the payment as expected. If you populate values in more than one of these fields, Aria applies this order of precedence to select one value:
|
||||||||||||
| <client_receipt_id> | Use of special characters will result in an error. | ||||||||||||
| <payment_application_method> |
The value that you pass into the this field will override your selection for the Default Payment Collection Method parameter (in the Aria application under Configuration > Payments > Payment Settings). (When the input fields <specific_invoice_no>, <specific_master_plan_instances_list> or <specific_charge_transaction_id> are passed, then those fields will be honored over <payment_application_method>). Allowable Values
|
||||||||||||
| <payoff_installment_ind> |
Indicates if a payment should be allocated to pay off a future installment early or not. Applicable only for installment; will be ignored for other non-installment charges. This is applicable only when users pass <specific_charge_transaction_id>, <invoice_no>, or <specific_master_plan_instances_list>. Allowable Values
|
Error Codes
| Error Code/Description | Associated Inputs |
|---|---|
| <client_no>, <auth_key> | |
| <acct_no>, <client_acct_id> | |
| <reference_code> | |
| <payment_amount> | |
| <external_destination_id> | |
| <payment_received_date> | |
| <client_no>, <acct_no>, <payment_amount>, <external_destination_id>, <specific_charge_transaction_id>, <invoice_no>, <payment_application_method>, <master_plan_instance_no> |