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

 

Home > Aria6 core api > update_payment_method

update_payment_method

This API is used to update the payment method on an account. Newly added payment methods are automatically made the default payment method on the account.

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.
account_number long Aria-assigned account identifier. This value is unique across all Aria-managed accounts.
first_name string 300 Billing address first name
last_name string 300 Billing address last name
middle_initial string 2 Billing address middle initial
company_name string 100 Billing address company name
address1 string 300 Billing street address line one
address2 string 300 Billing street address line two. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.
city string 300 Billing address city
locality string 300 Billing address locality
state string 10 Billing address state
country string 15 Billing address ISO-compatible 2-letter country code
zip string 15 Billing address zip or postal code
intl_phone string 25 Billing address international phone number
phone_npa string 3 Numbering Plan Area value (area code) of the phone of the billing contact.
phone_nxx string 3 Exchange (first 3 numbers following the area code/NPA) of the phone of the billing contact.
phone_suffix string 10 Exchange (NXX) target number of the phone of the billing contact.
phone_extension string 10 Billing address telephone extension
email string 320 Billing address contact email
pay_method string 38 Billing address payment method code   Allowable Values
cc_number string Credit card number, if payment method is CC
cc_expire_mm long Credit card expiration month, 2-digit
cc_expire_yyyy long Credit card expiration year, 4-digit
bank_routing_num string Bank account routing number
bank_acct_num string Bank account number
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
bank_acct_type string The type of bank account being used.   Allowable Values
bill_agreement_id string 32 Unique ID of the bill agreement (also referred to as a token).
cc_id long 2 A numeric code indicating the type of credit card.   Allowable Values
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.
primary_or_bkup_pay_method_ind long 1 Indicates whether to update primary or secondary payment method.   Allowable Values
ref_bkup_seq_no long 8 The unique bill sequence number of the existing payment method on account to be set as backup payment method.
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
seq_no long Sequence number of this payment, as it appears on the account
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.
collection_error_code long Error code for the collection portion of this call, if a collection was attempted
collection_error_msg string Error message for the collection portion of this call, if a collection was attempted
proc_cvv_response string Processor return code from CVV validation.
proc_avs_response string Processor return code from address validation
proc_cavv_response string Processors return code for security validation.
proc_status_code string Processor status code
proc_status_text string Processors 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 payment processor

You must to post a comment.
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.