IUCServiceTokenEntrySet Method |
Add or delete a payment card token
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntaxbool TokenEntrySet(
ClientToken token,
bool deleteToken
)
Parameters
- token ClientToken
- deleteToken Boolean
- Delete token, Send token with token and cardId to delete
Return Value
Boolean
Remarks
LS Central WS2: SetTokenEntry, SetMemberCardToken, DeleteMemberCardToken
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.
Include minimum data needed to be able to process the request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Spg/2021">
<soapenv:Header/>
<soapenv:Body>
<ser:TokenEntrySet>
<ser:token>
<ns:AccountNo>10000</ns:AccountNo>
<ns:CardMask>459999XXXXXX0001</ns:CardMask>
<ns:ContactNo>MO000008</ns:ContactNo>
<ns:DefaultToken>true</ns:DefaultToken>
<ns:ExpiryDate>2030-01-01T00:00:00</ns:ExpiryDate>
<ns:Token>9F8A7B6C5D4E3F21</ns:Token>
<ns:TokenId>TID0001</ns:TokenId>
<ns:Type>VISA</ns:Type>
<ns:pSPID>PSP01</ns:pSPID>
</ser:token>
<ser:deleteToken>false</ser:deleteToken>
</ser:TokenEntrySet>
</soapenv:Body>
</soapenv:Envelope>
See Also