Create single use token
Create a single-use token. The token expires after 30 minutes.
Path parameters
processingTerminalId
Unique identifier that our gateway assigned to the terminal.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Idempotency-Key
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request
This endpoint expects an object.
channel
Channel that the merchant used to receive the payment details.
Allowed values:
source
Object that contains information about the payment method to tokenize.
operator
Operator who initiated the request.
Response
Successful request. We created the single-use token.
processingTerminalId
Unique identifier that we assigned to the terminal.
token
Unique identifier that our gateway assigned to the payment details.
Note: Merchants can use the token with other terminals linked to their account.
expiresAt
Date and time that the token expires. We return this value in the ISO 8601 format.
source
Object that contains information about the payment method that we tokenized.