/v1/aliases

Currently, only Card, PostFinance, Twint, PayPal, Byjuno and Reka aliases can be converted.

post/v1/aliases

Request

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

Request body

OR
OR
OR
OR
OR
OR

Example request

{
  "legacyAlias": "424242SKMPRI4242"
}

Response

Successfully converted an alias

aliasstring

The requested alias.

Example response

{
  "alias": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt"
}

Changes

    • 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 PFP mapping keys to the request discriminator

    • info

      added to the request body oneOf list