/v1/aliases

Tokenize cards, CVVs and custom fields. It supports single and bulk tokenization for batches of requests.

post/v1/aliases/tokenize

Request

  • Base URL
    https://api.sandbox.datatrans.com
  • URL
    https://api.sandbox.datatrans.com/v1/aliases/tokenize
  • Auth
    HTTP basic

Request body

Response

Successfully received tokenization request

Example response

{
  "responses": [
    {
      "alias": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
      "maskedCC": "490000xxxxxx0003",
      "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
    }
  ]
}

Changes

    • breaking

      added to the / response property oneOf list for the response status

    • warning

      added the new CONCURRENT_LIMIT_REACHED enum value to the / response property for the response status

    • warning

      added the new NOT_FOUND enum value to the / response property for the response status

    • info

      added to the / request property oneOf list