Tokenization Examples

The following example would tokenize the "5454545454545454" data in the cc_number xml element.

POST https://test-api.tokenex.com/TransparentGatewayAPI/Tokenize HTTP/1.1
Content-Type: text/xml
TX_URL: https://www.example.com
TX_TokenExID: YourTokenExID
TX_APIKey: YourAPIKey
TX_TokenScheme: fourTOKENfour
TX_Field:(?:<cc_number>)([0-9]{13,19})(?:<\/cc_number>)

<SomeXMLResponse>
	<CardInfo>
		<name>John Doe</name>
		<expiry>1226</expiry>
		<cc_number>5454545454545454</cc_number>
	</CardInfo>
</SomeXMLResponse>