Developer Guide Menu

Generate Key

A POST to the
resource generates a one-time-use public key and a key ID. The public key and key ID can be used in a follow-on POST to the
resource, which encrypts the card number. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message.
CyberSource recommends creating a new key for each order. To generate a key, send an authenticated POST from your server to the
resource. Do this before requesting the tokenized card data.
The keys resource is located here:
  • Test:
  • Live: