Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

API de Tránsito

TES-IN-v1-transit.yaml

Request to send personalization data to a digital card

post

This method is used by TES to submit the perso data used for personalizing a digital card. This request is sent after TES approves a previous provisionCard call and after finishing to prepare the required data.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardIdstring · mín: 1 · máx: 48Requerido

The Card Identifier. Unique for each card.

Respuestas
200

submitCardPersoData response payload

application/json
post/submitCardPersoData

Request to update the state of a digital card

post

This method is used by TES to request to update the state of a digital card.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardIdstring · mín: 1 · máx: 48Requerido

The Card Identifier. Unique for each card.

actionstring · enumRequerido

The LCM action to apply on the card.Possible values are:

  • DELETE
  • SUSPEND
  • RESUME
  • ERASE (used in the Rights of Individuals context) All personal data are physically removed from TSH server
Valores posibles:
Respuestas
200

updateCardState response payload

application/json
post/updateCardState

Request to update the metadata of a card

post

This method is used by TES to request to update the metadata of a digital card:

  • either commute plans metadata

  • or card arts

It's not possible to update them both in a single request.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardIdstring · mín: 1 · máx: 48Requerido

The Card Identifier. Unique for each card.

cardArtManifeststring[]Opcional

Array of asset identifiers required to build card arts. Both cardBackground and icon asset identifiers shall be provided.

Asset identifier can be up to 64 characters.

When this parameter is provided, a request will be sent to wallet provider for updating the card arts deployed with the ones specified

Respuestas
200

updateCardMetadata response payload

application/json
post/updateCardMetadata

Request to initiate a session for a digital card

post

This method is used by TES to request TSH to initiate a session for a digital card. This request is sent when TES needs to exchange commands with targeted device (during a topup for example).

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardIdstring · mín: 1 · máx: 48Requerido

The Card Identifier. Unique for each card.

operationstring · enumOpcional

The operation to be initiated

Valores posibles:
Respuestas
200

initiateCardSession response payload

application/json
post/initiateCardSession

Request to get the list of cards details associated to a card account

post

This method is used by TES to request TSH to return the list of cards associated to the specified card account.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardAccountIdstring · mín: 1 · máx: 48Requerido

The Card Account Identifier. Unique for each card account.

Respuestas
200

getCards response payload

application/json
walletCardAccountIdstring · mín: 1 · máx: 64Opcional

The Wallet Card Account Identifier. Unique for each wallet card account.

walletAccountIdstring · mín: 1 · máx: 128Opcional

The Wallet Account Identifier. Unique for each wallet account.

cardAccountStatestring · enumOpcionalValores posibles:
post/getCards

Request to refund a card account

post

This method is used by TES to notify TSH that a card account has been refunded.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

cardAccountIdstring · mín: 1 · máx: 48Requerido

The Card Account Identifier. Unique for each card account.

Respuestas
200

refundCardAccount response payload

application/json
post/refundCardAccount

Get request status

post

This method is used by TES to check the status of an asynchronous request previously submitted.

Cuerpo
issuerIdstring · mín: 1 · máx: 16Requerido

The Card Issuer Identifier. Unique for each card issuer.

targetRequestIdstring · mín: 1 · máx: 48Requerido

Unique request identifier

Respuestas
200

getRequestStatus response payload

application/json
requestStatusstring · enumOpcional

The status of the request.

Valores posibles:
post/getRequestStatus

Última actualización

¿Te fue útil?