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.
Parameter | Type | Description |
---|---|---|
card | Integer | The payment card which was used for an authorization. |
name | String | The card name entered by a customer; the value is Null if no changes are made to the card name. |
clientinfo | String | The clientinfo object used for identifying a customer. |
preferred | String | The 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 |
address | String | The billing address of a customer. |
authToken | String | The authentication token generated to enable a customer to log in. |
Updated 3 months ago