Home > Tech Writers Hub > Knowledge Services Sandbox > Aria Crescendo APIs Bucket > Developer's Guide > USS Use Cases > Update Billing Contact and Payment Information

Update Billing Contact and Payment Information

Overview

In this use case, you have a customer who wants to update billing contact and payment information.

Example: a customer moves to a new home and/or wants to use a different credit card to pay for a product.

In the example shown below, we will update only billing contact  information and replace an existing payment method with a new one using the update_payment_method_m API. You can use the update_acct_complete_m API to change account and statement contact information if necessary.

Note: The sample call shown below contains a few key fields needed to successfully update billing contact and payment information. You may choose to pass in additional values based on your business requirements.

Example: you may want to validate the new payment method by using fraud protection.

Please see the update_payment_method_m API documentation for detailed information about additional available fields.

 

Sample Call

  1. Authenticate the customer logging into your user self-service (USS) application by calling the set_session_auth_m API.
  2. Call the get_acct_details_all_m API to obtain the customer's payment information.
  3. Call the update_payment_method_m API as follows:
  1. Pass in your client number and authorization key:
    <lit:client_no>12345_sample_client_no</lit:client_no>
    <lit:auth_key>AbCdEfG_sample_auth_key</lit:auth_key>
  2. Identify the customer whose billing contact and payment information will be updated as shown below:

clipboard_e6c9d57d990b85cdb1e8ab7bb4243c443.png

  1. Identify the payment method to be replaced as shown below:

    Obtain the payment method identifier from the <payment_method_no> field returned by the get_acct_details_all_m API.

clipboard_ef46ff54ade8bfd955306d195c4441d07.png

  1. Pass the new billing contact information into the fields shown below:

clipboard_edfc436fa147e1bbd8c86c4cab1a47e6b.png

  1. Pass in a name to easily identify the payment method on the customer's list of payment methods as shown below:

clipboard_ef803e0f23b0dd4b8cbebdc68333c0fb9.png

  1. Identify the kind of payment method (examples: credit card, electronic check-ACH) being added as shown below:

Note: The primary and secondary payment methods in a billing group must be of the same <pay_method_type> (examples: credit card, direct debit, or electronic check).

Example: If Billing Group 1 has 2 different credit cards set up as the primary and secondary payment methods and you try to change the primary or secondary payment method to direct debit, you will get an error message.

 

clipboard_ef96b03686d44ec6e53dd1805852a634b.png

  1. Pass the new payment information (example: credit card details) into the fields shown below:

clipboard_ea920695a5b473baf20fff7ae3d848a31.png

  1. Specify whether to disable or keep the existing payment method as shown below:

clipboard_e4349d0b8c2b05de416eefa821921c999.png

The new payment method will be associated with the billing group previously linked to the disabled payment method. This means that payments for the plan(s) associated with that billing group will be made using the new payment method.

Notes:

  • If a payment method is associated with multiple billing groups, any payment method replacements/changes will be reflected in all of the associated billing groups.
  • If a billing group has a primary and secondary payment method, each one will have its own unique <payment_method_no> (or your specified <client_payment_method_id>). Any changes you make to payment information will apply to the payment method with which your specified <payment_method_no> is associated.

    Example:
    • <payment_method_no> 4 (or your specified <client_payment_method_id>) is assigned to a Visa card ending in "1111".
    • That Visa card is the primary payment method for Billing Group 1 and the secondary payment method for Billing Group 2.
    • You pass <payment_method_no> 4 (or your specified <client_payment_method_id>) into the update_payment_method_m API to update the expiration date and billing contact for that Visa card.
    • The changes will apply to that same Visa card associated with Billing Group 1 and Billing Group 2.

Sample Response

You can check the customer's account in the Aria application to confirm that the billing contact and payment information were updated created correctly for the right billing group as described in the use case above.

clipboard_e8607dd3177b23663badcfaf6cd21ff70.png

clipboard_e33057b90ec1be5058771dc28b5bf2a82.png

clipboard_e415059d90cf64fcb0647a2f0879f3ebb.png

 


Subtopics 

USS Best Practices

Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.