Create single use token
Changed onUse this method to create a single-use token that represents a customer’s payment details.
A single-use token expires after 30 minutes and merchants can use them only once.
Note: To create a reusable permanent token, go to Create Secure Token.
In the request, send the customer’s payment details. If the request is successful, our gateway returns a token that you can use in a follow-on action, for example, run a sale.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/processing-terminals/{processingTerminalId}/single-use-tokens
- AuthHTTP bearer
Path parameters
Unique identifier that our gateway assigned to the terminal.
Headers
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 body
Response
Successful request. We created the single-use token.
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning
- info
api operation id
createremoved and replaced withsingleUseTokens_create
- info