activateAccount (TBC)

This request will be used to activate a customer’s account after the createAccount has been called to create a customer account.

Variables to send:

Parameter

Data type

Description



Parameter

Data type

Description



 Request

 Text

 activateCustomer

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

customerToken

Token

Customer token, retrieved from 'createAccount' API

Mandatory

 

Request example

<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken> <Request>addCard</Request> <CustomerToken>E6C04D7E-C267-4243-BD1C-49170F8A008B</CustomerToken> </API3G>


Response:

The server will respond with the following results:

Parameter

Data type

Description

Parameter

Data type

Description

Result

Number

Resault code

ResultExplanation

Text

Free text of the response

Response example:

<?xml version="1.0" encoding="utf-8"?> <API3G>     <Result>000</Result>     <ResultExplanation>Customer Activated</ResultExplanation> </API3G>



Response Codes

Code

Message

Code

Message

000

Customer Activated

001

Customer Already Activated

999

Unable to activate customer.