secureTokens
Retrieve secure token
Changed onUse this method to retrieve information about a secure token.
To retrieve a secure token, you need its secureTokenID, which you sent in the request of the Create Secure Token method.
Note: If you don't have the secureTokenId, use our List Secure Tokens method to search for the secure token.
Our gateway returns the following information about the secure token:
- Payment details that the secure token represents.
- Customer details, including shipping and billing addresses.
- Secure token that you can use to carry out transactions.
get/processing-terminals/{processingTerminalId}/secure-tokens/{secureTokenId}
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/processing-terminals/{processingTerminalId}/secure-tokens/{secureTokenId}
- AuthHTTP bearer
Path parameters
processingTerminalIdstring required
Unique identifier that we assigned to the terminal.
secureTokenIdstring required
Unique identifier that the merchant assigned to the secure token.
Response
Successful request. Returns the secure token and its related payment details.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning