This request generates a swipe token.
Click here to learn more about this request
This request generates a swipe token. These tokens are required with each request to create a swipe, and attempting to create a swipe without a swipe processor token will result in an error. Note the following when using this request:
Once you generate a token, it exists within your account without expiring. Tokens can be manually revoked, however.
Your account can have up two concurrent tokens at any time. We recommend using this to your advantage when rotating tokens.
If you attempt create a new token while two are already active, you will receive an error.
Results
Returns the swipe token secret
after a successful swipe token generation. An error results in a error_v2
object with a message
and metadata
indicating the type of error (e.g. two active tokens).