Save Card

Velocity Android Software Development Kit Integration Guide

When you receive callback in the display save card method, invoke the following method to save the profile of a customer. You must configure at least one of the following parameters to enable customers to create a profile:

  • Mobile
  • Email address
  • Customer reference or customer ID

šŸ“˜

Note: A customer ID is unique and depends on the configured identification parameter.

You can configure this API in the following manner:

  • Store account of customers directly in mPoint, which users can access using a password.
  • Use single sign on to verify a profile: Valid for both mProfile and third-party profile (mandatory)
  • You must share authorization token with request if you are using an external CRM. An eua-id is created after the profile of your customer is saved with Velocity.

The following table provides the values of eua-id used to identify APIs that are called.
Note: Invoke the save card payment flow only.

public void _saveCard(card : mPointCardInfo, name : String, clientinfo :
mPointClientInfo, preferred : Boolean, address : mPointAddressInfo, authToken :
String, cardHolderName : String)

The descriptions of the parameters are listed in the table below.

ParameterTypeDescription
cardIntegerThe payment card which was used for an authorization.
nameStringThe card name entered by a customer; the value is Null if no changes are made to the card name.
clientinfoStringThe clientinfo object used for identifying a customer.
preferredStringThe value for this parameter can be one of the following:
ā€¢ True- if a card is preferred
ā€¢ False- if card Is not preferred
ā€¢ Null- if the setting is not changed
addressStringThe billing address of a customer.
authTokenStringThe authentication token generated to enable a customer to log in.