Card Activate and Load
API: Ws_Activate_Load
This web service allows simultaneous load and activation of cards. This is a common requirement for cards sold from kiosks or from retail stores. For cards ordered over the internet, delayed activation provides added security by ensuring that any card stolen or lost in the post cannot be used.
If the card already has a balance, then you cannot load again as part of activate load. In this case, use Ws_Activate
and Ws_Load
separately.
Record Description
Tag |
Type |
Minimum Length |
Maximum Length |
Description |
Request |
Response |
---|---|---|---|---|---|---|
<WSID> |
N |
1 |
19 |
Web service ID. Must be unique for every web service request sent. For details, see the FAQs.Tip: You could use a number based on the current date and time, as long as it is unique (e.g., 20201217145006). |
Mandatory |
Mandatory |
<IssCode> |
AN |
1 |
4 |
Thredd Issuer (Program Manager) Code. Assigned by Thredd. |
Mandatory |
Mandatory |
<TxnCode> |
AN |
1 |
2 |
The Transaction Code. See Transaction Codes. Default value is 10. |
Mandatory |
Mandatory |
<ClientCode> |
AN |
1 |
64 |
User ID of the customer using the service. Only applicable to systems using member logins. Returned in the response if present in the request. Note: Legacy field. Not used. |
Optional |
Conditional |
<Title> |
AN |
1 |
4 |
The cardholder’s title. |
Optional |
Omit |
<LastName> |
AN |
1 |
20 |
The cardholder’s last name. Mandatory if the value of |
Conditional |
Omit |
<FirstName> |
AN |
1 |
20 |
The cardholder’s first name. Mandatory if |
Conditional |
Omit |
<Addrl1> |
AN |
1 |
50 |
Address line 1. Mandatory if ‘Address’ fields are being specified. |
Conditional |
Omit |
<Addrl2> |
AN |
1 |
50 |
Cardholder's address line 2. Also used as the card purchaser's address line 2 if no delivery address is supplied. |
Optional |
Omit |
<City> |
AN |
1 |
50 |
Cardholder's home city. Also used as the card purchaser's city if no delivery address is supplied. Mandatory if |
Conditional |
Omit |
<PostCode> |
AN |
1 |
10 |
Cardholder's home postcode. Also used as the card purchaser's postcode if no postcode is supplied. Mandatory if |
Conditional |
Omit |
<Country> |
AN |
1 |
3 |
Cardholder’s country of residence. This is represented as a 3 digit ISO country code (e.g. 826 for UK). Mandatory if |
Conditional |
Omit |
<ActMethod> |
AN |
1 |
1 |
Method used for card activation. See Activation Methods. |
Mandatory |
Omit |
<AuthType> |
AN |
1 |
1 |
Parameter to specify how the card is authenticated. See Authentication Methods. |
Mandatory |
Omit |
<PAN> |
AN |
14 |
19 |
Card Number. Unique card identifier. In virtual card creation PAN is not present in the request. Mandatory in the response if |
Conditional |
Conditional |
<Track2> |
AN |
1 |
40 |
The card’s Track 2. Mandatory in request if |
Conditional |
Omit |
<PublicToken> |
AN |
1 |
9 |
The card’s public token. Mandatory in request if |
Conditional |
Mandatory |
<ExternalRef> |
AN |
1 |
30 |
External reference code for the card. Note: Legacy field. Not used. |
Optional |
Conditional |
<DOB> |
YYYY-MM- DD |
10 |
10 |
The cardholder's date of birth. Mandatory if the value of |
Conditional |
Omit |
<CVV> |
AN |
3 |
3 |
Card Verification Value |
Conditional |
Mandatory |
<AccCode> |
AN |
0 |
6 |
Access code or passcode for setting a code which is validated during activation (e.g. via the Thredd IVR system Mandatory if the value of |
Conditional |
Omit |
<LocDate> |
YYYY-MM-DD |
10 |
10 |
The local current date in year-month-date format. |
Mandatory |
Mandatory |
<LocTime> |
HHMMSS |
6 |
6 |
The local current time, in hour-minute-second format. |
Mandatory |
Mandatory |
<TerminalID> |
AN |
1 |
15 |
Point of Sale (POS) or other terminal identifier, such as a hostname. |
Optional |
Omit |
<LoadValue> |
D |
1 |
20 |
Load value to put on the card. The amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes. |
Mandatory |
Mandatory |
<CurCode> |
AN |
3 |
3 |
3-letter ISO currency code for the currency to load (e.g. EUR). This must match the card’s currency or the action fails (Note: For a Multi-FX card, the card can be loaded in any of the card's currencies). If not provided, then the card uses its billing currency. See Currency Codes. |
Optional |
Omit |
<Reason> |
AN |
1 |
60 |
Reason for the card's status change. Overrides default of ‘Card Activated’ that is shown in the card processor. Text is shown in the Smart Client Tracker screen. On Thredd Portal, this information is captured in the Notes column in Transaction Search results. |
Optional |
Omit |
<ExpDate> |
YYYY-MM_DD |
10 |
10 |
Expiry date. You can use this field to update the internal card record expiry date if you want to specify a shorter expiry date than the card expiry date that was set when the card was issued. This will not change the expiry date that was set when the card was issued (which is shown on the printed card or card image). If not specified, then the expiry date that was set when the card was issued will be used. Note: You cannot specify an expiry date that is later than the card issue expiry date. |
Conditional |
Mandatory |
<ItemSrc> |
N |
1 |
5 |
Source field to define alternate fees. Legacy field for information purposes only; see Item Source Types. Suggest using 0. |
Mandatory |
Omit |
<LoadFundsType> |
AN |
1 |
3 |
Payment method for loading funds onto the card. See Load Fund Types. |
Optional |
Omit |
<LoadSrc> |
AN |
1 |
3 |
The source of the load request for determining the fee of the load, if applicable. If omitted, defaults to 14 “Unknown”. See Load Sources. |
Optional |
Omit |
<LoadFee> |
D |
1 |
20 |
Fixed fee amount charged to the card purchaser for handling the card purchase and load. The amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes. If no load fee is required, specify 0. The load fee does not affect the card balance. It is only reported in the XML. |
Mandatory |
Omit |
<LoadedBy> |
AN |
1 |
30 |
User who loaded the card. |
Optional |
Omit |
<ActivateOrNot> |
N |
1 |
1 |
Whether to activate the card while loading. 1 = activate and load; 0 = load only. |
Mandatory |
Omit |
<PANorToken> |
N |
1 |
1 |
Whether to return the PAN with the public token. 1 = return PAN and token. 0 = public token only. |
Mandatory |
Omit |
<CustAccount> |
AN |
1 |
25 |
Cardholder account number or reference number. You can use this reference to find the cards linked to a cardholder. Also displayed in Smart Client and in Thredd Portal as Customer Reference. |
Optional |
Omit |
<SMSBalance> |
N |
1 |
1 |
Whether to send an SMS regarding the details of transaction amount and available balance to the customer after each card use. 0 or False = Do not send; 1 or True = Send; 2 = Do not change current value. |
Mandatory |
Omit |
<SysDate> |
YYYY-MM-DD |
10 |
10 |
The system processing date. |
Omit |
Mandatory |
<ItemID> |
AN |
1 |
20 |
The unique item ID returned for this load. |
Omit |
Mandatory |
<IsLive> |
N |
1 |
1 |
Specifies whether the card is active or not. 1 or True = Active; 0 or False = Not Active. |
Omit |
Mandatory |
<ActionCode> |
AN |
3 |
3 |
The action code for the response. See Action Codes. |
Omit |
Mandatory |
<Description> |
AN** |
1 |
150 |
Description of the load. If supplied, appears in the |
Optional |
Omit |
<BrnCode> |
AN |
8 |
8 |
Branch code (or Agent code) with which the card is associated. If supplied, it is exported in the XML in CardLoadUnload > Card > branchcode. |
Optional |
Omit |
** Some formatting may be done on this string, see String Cleaning and Approved Characters.
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hyp="http://www.globalprocessing.ae/HyperionWeb">
<soapenv:Header>
<hyp:AuthSoapHeader>
<hyp:strUserName>******</hyp:strUserName>
<hyp:strPassword>******</hyp:strPassword>
</hyp:AuthSoapHeader>
</soapenv:Header>
<soapenv:Body>
<hyp:Ws_Activate_Load>
<hyp:WSID>2021123456789</hyp:WSID>
<hyp:IssCode>PMT</hyp:IssCode>
<hyp:TxnCode>10</hyp:TxnCode>
<hyp:ClientCode></hyp:ClientCode>
<hyp:Title></hyp:Title>
<hyp:LastName>Lastname</hyp:LastName>
<hyp:FirstName>Firstname</hyp:FirstName>
<hyp:Addrl1>Office 13, Telfords Yard</hyp:Addrl1>
<hyp:Addrl2>6-8 The Highway, Wapping</hyp:Addrl2>
<hyp:City>London</hyp:City>
<hyp:PostCode>E1W 2BS</hyp:PostCode>
<hyp:Country>826</hyp:Country>
<hyp:ActMethod>6</hyp:ActMethod>
<hyp:AuthType>1</hyp:AuthType>
<hyp:PAN></hyp:PAN>
<hyp:Track2></hyp:Track2>
<hyp:PublicToken>123456789</hyp:PublicToken>
<hyp:ExternalRef></hyp:ExternalRef>
<hyp:DOB></hyp:DOB>
<hyp:CVV></hyp:CVV>
<hyp:AccCode></hyp:AccCode>
<hyp:LocDate>2021-01-01</hyp:LocDate>
<hyp:LocTime>120000</hyp:LocTime>
<hyp:TerminalID></hyp:TerminalID>
<hyp:LoadValue>10</hyp:LoadValue>
<hyp:CurCode>GBP</hyp:CurCode>
<hyp:Reason></hyp:Reason>
<hyp:ExpDate></hyp:ExpDate>
<hyp:ItemSrc>2</hyp:ItemSrc>
<hyp:LoadFundsType>4</hyp:LoadFundsType>
<hyp:LoadSrc>10</hyp:LoadSrc>
<hyp:LoadFee>0.0</hyp:LoadFee>
<hyp:LoadedBy></hyp:LoadedBy>
<hyp:ActivateOrNot>1</hyp:ActivateOrNot>
<hyp:PANorToken>1</hyp:PANorToken>
<hyp:CustAccount></hyp:CustAccount>
<hyp:SMSBalance>0</hyp:SMSBalance>
<hyp:BrnCode>Branch 12</hyp:BrnCode >
</hyp:Ws_Activate_Load>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Ws_Activate_LoadResponse xmlns="http://www.globalprocessing.ae/HyperionWeb">
<Ws_Activate_LoadResult>
<WSID>2021123456789</WSID>
<IssCode>PMT</IssCode>
<TxnCode>10</TxnCode>
<PAN>1234567891234567</PAN>
<PublicToken>123456789</PublicToken>
<CVV>194</CVV>
<ExternalRef/>
<LocDate>2021-01-01</LocDate>
<LocTime>120000</LocTime>
<ItemID>0</ItemID>
<ClientCode/>
<SysDate>2021-01-01</SysDate>
<ActionCode>000</ActionCode>
<ExpDate>2015-03-31<ExpDate>
<LoadValue>10</LoadValue>
<IsLive>true</IsLive>
</Ws_Activate_LoadResult>
</Ws_Activate_LoadResponse>
</soap:Body>
</soap:Envelope>