For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tokens

Get token information

get

Retrieve token status and other non-sensitive data.

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
gatewayTokenIdstring · máx: 64Requerido

Unique ID of the token

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Respuestas
200

OK

application/json
gatewayTokenIdstring · máx: 64Opcional

Unique ID of the token

paymentMethodTypestring · enumOpcional

Type of payment method stored in the token

Valores posibles:
tokenStatusstring · enumOpcionalValores posibles:
get/egw/{version}/tokens/{gatewayTokenId}
GET /egw/{version}/tokens/{gatewayTokenId} HTTP/1.1
Host: sandbox-api.ecomm.api.tietoevry.com
X-Request-Id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
{
  "card": {
    "cardholderName": "text",
    "expiry": {
      "month": "text",
      "year": "text"
    },
    "lastFourDigits": "text"
  },
  "gatewayTokenId": "text",
  "paymentMethodType": "CARD",
  "purposes": [
    "CIT"
  ],
  "tokenStatus": "ACTIVE"
}

Deactivate an existing token

delete

Deactivates an existing token, preventing its use in future payments

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
gatewayTokenIdstring · máx: 64Requerido

Unique ID of the token

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Respuestas
200

OK

application/json
gatewayTokenIdstring · máx: 64Opcional

Unique ID of the token

tokenStatusstring · enumOpcionalValores posibles:
delete/egw/{version}/tokens/{gatewayTokenId}
DELETE /egw/{version}/tokens/{gatewayTokenId} HTTP/1.1
Host: sandbox-api.ecomm.api.tietoevry.com
X-Request-Id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
{
  "gatewayTokenId": "text",
  "tokenStatus": "ACTIVE"
}

Última actualización

¿Te fue útil?