copy_acct_payment_method_m
Summary
| API Name | copy_acct_payment_method_m |
|---|---|
| Class | transaction_services_m |
| Update Version | 6.38 |
Description
This API copies one or more payment methods (and their associated billing contact information) from one customer account in Aria to a different customer account. Clients must validate that the account owner is the same for both the source and target accounts prior to calling this API. Note that payment methods copied to the target account are not by default associated with a billing group. If no payment methods are specified, all non-disabled payment methods on the source account are copied to the target account.This API must be enabled for use with your organization. Please contact Aria Support for additional information.
SPECIAL NOTICE: To provide both security and flexibility, you can copy payment information between accounts within an Aria client environment. Movement of payment data from a source account to a target account is not validated. It is is the client's responsibility when using this API to ensure that the owner of the source account and the target account is the same. Aria is not responsible for any errors caused when using this API to move payment data.
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. |
| source_acct_no | long | 22 | Yes |
Aria-assigned account identifier associated with the account from which the payment method will be copied. Alternative required field: client_source_acct_id |
| client_source_acct_id | string | 50 | Yes |
Client-defined account identifier associated with the account from which the payment method will be copied. Alternative required field: source_acct_no |
| target_acct_no | long | 22 | Yes |
Aria-assigned account identifier associated with the account to which the payment method will be copied. Alternative required field: client_target_acct_id |
| client_target_acct_id | string | 50 | Yes |
Client-defined account identifier associated with the account to which the payment method will be copied. Alternative required field: target_acct_no |
| copy_payment_methods | object | No | ||
| payment_methods | object | No |
Note: This field is deprecated. Aria no longer supports payment_methods. |
copy_payment_methods fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| payment_method_no | long | 22 | No |
Aria-assigned identifier associated with the payment method on the source account to be copied to the target account. Alternative field: client_payment_method_id |
| client_payment_method_id | string | 100 | No |
Client-defined identifier associated with the payment method on the source account to be copied to the target account. Alternative field: payment_method_no |
| client_new_tgt_pmt_method_id | string | 100 | No |
The client-defined identifier of the payment method on the source account will be copied as the client-defined identifier for that payment method on the target account. This input will specify the new client-defined identifier to be used for the payment method on the source account. If not specified, the client-defined identifier for this payment method on the source account will be removed (made null). |
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. |
|
| payment_method_map | object | No |
payment_method_map fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| source_pmt_method_no | long | 22 | No |
Aria-assigned identifier of the payment method copied from the source account. |
| client_source_pmt_method_id | string | 100 | No |
Client-defined identifier of the payment method copied from the source account. |
| target_pmt_method_no | long | 22 | No |
Aria-assigned identifier of the payment method copied to the target account. |
| client_target_pmt_method_id | string | 100 | No |
Client-defined identifier of the payment method copied to the target account. |