Tokenize Card

Tokenize Card
A POST to the /tokens resource returns a token representing the supplied card details. The token can be used as the Subscription ID in the CyberSource payment tokenization or recurring billing services. This is an unauthenticated POST initiated from your customer’s device or browser to the /tokens resource:
 
Dummy address information is created: customerFirstname, customerLastname, customerEmail, billAddress1, billCity, billCountry, billState, and billZip. To replace this information, request an update or a combined authorization and update.
Request Fields
If the encryption type of None was used in the Generate Key request, this value can be set to the plaintext card number/Personal Account Number (PAN).
If the encryption type of RsaOaep256 was used in the Generate Key request, this value needs to be the RSA OAEP 256 encrypted card number. The card number should be encrypted on the cardholders’ device.
For web based implementations on modern browsers, the WebCrypto API can be used with the JWK obtained in the Generate Key request.
Response Fields
Examples
Example 4
Example 5