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 Aprovisionamiento y Gestión

WS-Transit-API-IN-oas2.yaml

Request to check digital card account eligibility

post

This method is used by wallet server to check that a card account is eligible for provisioning.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

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

The Card Issuer Identifier. Unique for each card issuer.

cardAccountDescriptorobject · cardAccountDescriptorRequerido

The Card Account Descriptor.Depending on cardSource, it shall be formatted as follows:

  • For ON-FILE:"cardAccountDescriptor" : {"walletCardAccountId" : "1234"}
  • For USER-INPUT, CLIENT-SDK and READER-MODE:"cardAccountDescriptor" : {"opaqueCardAccountData" : "data returned by Issuer backend to Wallet"}
cardSourcestring · enumOpcionalValores posibles:
Respuestas
200

checkCardAccount response payload

application/json
termsAndConditionsIdstring · máx: 64Opcional

Unique identifier of the T&C to be presented to the end user. If T&Cs are not required, all 0's should be returned. getAsset API will be used to retrieve the T&Cs content.

cardArtManifeststring[]Opcional

Array of GUIDs required to build card art. Each cart art can be retrieved using getAsset API with corresponding GUID.

post
/checkCardAccount

Request to fetch an asset

post

This method is used by Wallet Server to fetch the content of an asset.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
guidstring · máx: 64Requerido
Respuestas
200

getAsset response payload

application/json
contentTypestring · enumOpcionalValores posibles:
post
/getAsset

Request to provision a digital card

post

This method is used by wallet server to provision a digital card to user's device.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

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

The Card Issuer Identifier. Unique for each card issuer.

cardAccountDescriptorobject · cardAccountDescriptorRequerido

The Card Account Descriptor.Depending on cardSource, it shall be formatted as follows:

  • For ON-FILE:"cardAccountDescriptor" : {"walletCardAccountId" : "1234"}
  • For USER-INPUT, CLIENT-SDK and READER-MODE:"cardAccountDescriptor" : {"opaqueCardAccountData" : "data returned by Issuer backend to Wallet"}
walletAccountIdstring · mín: 1 · máx: 128Requerido

The Wallet Account Identifier. Unique for each wallet account.

cardLastDigitsstring · mín: 4 · máx: 5Opcional

The Card last 4 or 5 digits.

cryptoOTPstring · máx: 3096Opcional

Cryptographic OTP computed by Issuer backend and returned to the wallet during enrolment. It will be checked by TSH if it's provided.

Respuestas
200

provisionCard response payload

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

The Wallet Card Identifier. Unique for each wallet card.

walletCardAccountIdstring · mín: 1 · máx: 64Opcional

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

post
/provisionCard

Request to suspend, resume or delete/park a digital card

post

This method is used by Wallet Server to request a suspend, resume or park/delete a virtual card.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

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

The Card Issuer Identifier. Unique for each card issuer.

walletCardIdstring · mín: 1 · máx: 64Requerido

The Wallet Card Identifier. Unique for each wallet card.

operationstring · enumRequerido

The operation to perform on the card. Note: - PARK is to be used for an already provisioned card. - Whereas DELETE is to be used for failed provisioning.

Valores posibles:
Respuestas
200

manageCard response payload

application/json
post
/manageCard

Callback to sendScript request

post

This method is used by Wallet server to provide a callback to a previous sendScript sent by TSH.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
taskIdstring · mín: 1 · máx: 64Requerido

Unique task identifier used to correlate a callback to a request.

Respuestas
200

sendScriptCallback response payload

application/json
post
/sendScriptCallback

Callback to updateCard request

post

This method is used by Wallet server to provide a callback to a previous updateCard sent by TSH.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
taskIdstring · mín: 1 · máx: 64Requerido

Unique task identifier used to correlate a callback to a request.

statusCodenumberRequerido

Status code to the request

Status code Description
0 OK
911 Operation failed
921 Unexpected server error
statusMessagestringOpcional

Textual status message

Respuestas
200

updateCardCallback response payload

application/json
post
/updateCardCallback

Request to get the current status of a digital card

post

This method is used by Wallet Server to the current status of a digital card.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
walletCardIdstring · mín: 1 · máx: 64Requerido

The Wallet Card Identifier. Unique for each wallet card.

Respuestas
200

getCardStatus response payload

application/json
statestring · enumOpcionalValores posibles:
post
/getCardStatus

Request to get the current status of a card account

post

This method is used by Wallet Server to the current status of a card account.

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
walletCardAccountIdstring · mín: 1 · máx: 64Requerido

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

Respuestas
200

getCardAccountStatus response payload

application/json
statestring · enumOpcional

The card account state

Valores posibles:
post
/getCardAccountStatus

Request to provide the next list of commands to be executed for a specific card

post

This method is used to request the pending commands to be executed for a specific card. Device should keep coming back when: - HTTP 200 is returned with statusCode=0 and APDU commands are provided

  • or HTTP 500 is returned (until max number of retries is reached)

  • or TSH is not accessible (until max number of retries is reached)

Parámetros de encabezado
x-podstring · máx: 128Requerido

HTTP header identifying the pod and corresponding DNS hostname of the load balancer from which traffic is coming. Subsequent API calls should be sent to this pod.

Cuerpo
modestring · enumOpcional

It is needed in the first request only.

Valores posibles:
walletCardIdstring · mín: 1 · máx: 64Requerido

The Wallet Card Identifier. Unique for each wallet card.

Respuestas
200

getCardCommands response payload

application/json
post
/getCardCommands

Última actualización

¿Te fue útil?