GetToken

This Web service tokenizes provided card information using the a ClientSessionID gathered from the GetClientSession Web service and returns the token as a CCInfoKey. The URL to access this Web service is:

https://secure.ftipgw.com/admin/ws/recurring.asmx?op=GetToken

Descriptions of the parameters are listed below:

Parameter Value

ClientSessionID

Required: ClientSessionID value generated by GetClientSession Web service
CcAccountNum  Required: Credit Card account number to tokenize
CcExpDate Required: Credit Card expiration date to tokenize
CcNameOnCard Optional: Name on Credit Card to tokenize
CcStreet Optional: Cardholder’s billing address street
CcZip Optional: Cardholder’s billing address ZIP code
FirstName Optional: Cardholder’s First Name for the customer profile
LastName  Optional: Cardholder’s Last Name for the customer profile

Example

The following table contains sample data you can use to test this Web service. The ClientSessionID must be generated via the GetClientSession Web service on a per session basis, so the value below should be changed when testing this example.

Parameter Value

ClientSessionID 

f858f664-d7d6-49a9-bcc6-eb72ce91524c
CcAccountNum 5454545454545454
CcExpDate 1225
CcNameOnCard Fname Lname
CcStreet 123 Test Street
CcZip 20191
FirstName Fname
LastName Lname

 

Response

<RecurringResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.tpisoft.com/Admin/ws">

<CustomerID>6865-FnameLname-20200710163258</CustomerID>

<ClientSessionID>f78b60d7-940d-468d-84ae-b563293d4aa3</ClientSessionID>

<CustomerKey>1102339</CustomerKey>

<CcInfoKey>64415036</CcInfoKey>

<code>OK</code>

<error>CCInfoKey generated successfully</error>

<Partner>102</Partner>

<Username>vwrs3582</Username>

</RecurringResult>