API de Aprovisionamiento y Gestión
This method is used by TSH to provide a script to a device.
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.
Unique task identifier used to correlate a callback to a request.
The Wallet Card Identifier. Unique for each wallet card.
Secure Element Identifier
([0-9a-fA-F][0-9a-fA-F]){1,24}sendScript response payload
Internal Server Error
POST /sendScript HTTP/1.1
x-pod: text
Content-Type: application/json
Accept: */*
Content-Length: 230
{
"requestHeader": {
"requestId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z"
},
"taskId": "text",
"walletCardId": "text",
"seId": "text",
"apduCommands": [
{
"data": "text",
"messageId": "text",
"messageName": "text"
}
]
}{
"responseHeader": {
"responseId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z",
"statusCode": 1,
"statusMessage": "text"
}
}This method is used by TSH to request to update a digital card.
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.
Unique task identifier used to correlate a callback to a request.
The Wallet Card Identifier. Unique for each wallet card.
Secure Element Identifier
([0-9a-fA-F][0-9a-fA-F]){1,24}Operation to perform on a digital card.SUSPEND: for suspending the digital card, usually GP lock is performed on SERESUME: for resuming the digital card, usually GP unlock is performed on SEDELETE: for deleting the digital card and related instances in SEMETADATA_UPDATE: for updating the digital card metadata.cardDescriptor is provided for this operation.REDIRECT: used to notify the device to connect to TSH to fetch some commands using getDeviceCommands API.ERASE: for completely removing the digital card from device and server as defined in GDPR.
updateCard response payload
Internal Server Error
POST /updateCard HTTP/1.1
x-pod: text
Content-Type: application/json
Accept: */*
Content-Length: 691
{
"requestHeader": {
"requestId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z"
},
"taskId": "text",
"walletCardId": "text",
"seId": "text",
"operation": "SUSPEND",
"cardDescriptor": {
"appletCurrencyCode": "text",
"displayCardNumber": "text",
"cardholderName": "text",
"cardArtManifest": [
"text"
],
"labelColor": "text",
"shortDescription": "text",
"longDescription": "text",
"privacyPolicyURL": "text",
"termsAndConditionsURL": "text",
"contactWebsite": "text",
"contactEmail": "text",
"contactNumber": "text",
"contactName": "text",
"cardActions": {
"minLoadedBalance": 1,
"maxLoadedBalance": 1,
"minLoadAmount": 1,
"maxLoadAmount": 1
},
"mobileApp": {
"identifier": "text",
"action": "text",
"intentExtraText": "text"
}
}
}{
"responseHeader": {
"responseId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z",
"statusCode": 1,
"statusMessage": "text"
}
}This method is used by TSH to request a task status.
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.
Unique task identifier used to correlate a callback to a request.
Secure Element Identifier
([0-9a-fA-F][0-9a-fA-F]){1,24}getTaskStatus response payload
Internal Server Error
POST /getTaskStatus HTTP/1.1
x-pod: text
Content-Type: application/json
Accept: */*
Content-Length: 135
{
"requestHeader": {
"requestId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z"
},
"taskId": "text",
"seId": "text"
}{
"responseHeader": {
"responseId": "text",
"sessionId": "text",
"generationDateTime": "2026-01-01T00:00:00.000Z",
"statusCode": 1,
"statusMessage": "text"
},
"taskStatus": "PROCESSING"
}Última actualización
¿Te fue útil?