Interface ITokenizationGateway
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.
The Tokenization Gateway API allows clients to interact with third-party APIs without handling sensitive data directly.
Namespace: EPiServer.Commerce.Order.Payments.Tokenization
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public interface ITokenizationGateway
Remarks
Upon receiving the request, TokenizationGateway will perform the necessary operations on the request and forward the request to the provided URL. The unaltered response from the third party is returned to the client’s application.
Methods
Send(TokenizedRequest)
Forwards a POST request with tokenized data in TokenizedRequest object to the specified third-party endpoint.
Declaration
DetokenizedReponse Send(TokenizedRequest requestData)
Parameters
Type | Name | Description |
---|---|---|
TokenizedRequest | requestData | The tokenzied payload TokenizedRequest. |
Returns
Type | Description |
---|---|
DetokenizedReponse | The unaltered response from the third party DetokenizedReponse. |