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

API de notificaciones

Descargar la especificación OpenAPI

Handle Event

post
/issuers/{issuerId}/wallets/{walletIndicator}/events/{eventType}/handleEvent

API used by Transit Issuer to trigger events:

  • notify transactions (purchase, rides...)

  • balance updates

  • count updates

  • fare products updates

  • update and retrieve bundle data

  • notify messages (alerts, promotions...)

Parámetros de ruta
eventTypestringRequerido

Indicates the type of event to be handled.Value can be:

Value Description
transaction Used to notify a transaction.
message Used to notify a message.
update_balance Used to notify balance update.
update_count Used to notify count update of a count based fare product.
update_fare_products Used to update fare products (e.g. purchase of a new product, removal or renewal).
update_bundle_data Used to notify that a digital card bundle shall be updated.
retrieve_bundle_data Used to notify that digital card bundle data shall be retrieved.
issuerIdstring · máx: 10Requerido

Issuer unique identifier. Assigned by Thales during onboarding.

walletIndicatornumberRequerido

Indicates which digital wallet is involved in the use case.

Value Description
1 Apple
2 Google
3 Samsung
Cuerpo
digitalCardIdstring · máx: 64Opcional

Digital card unique identifier

Example: DGGLSW8D8AC610566D4EF09C22186B2A5ED756
cardAccountIdstring · máx: 64Requerido

Card account unique identifier

Example: FAPLSW8D8AC610566D4EF09C22186B2A5ED793
eventTimestring · date-timeRequerido

The event time

Respuestas
200Éxito
application/json
post/issuers/{issuerId}/wallets/{walletIndicator}/events/{eventType}/handleEvent
POST /d1/transit/notification/api/v1/issuers/{issuerId}/wallets/{walletIndicator}/events/{eventType}/handleEvent HTTP/1.1
Host: THALES-PROD
Content-Type: application/json
Accept: */*
Content-Length: 279

{
  "requestContext": {
    "requestId": "493f7686-93a0-494a-a44f-867fcd10ce22",
    "correlationId": "bfd8450f-a605-4427-9714-1d620f14dda1"
  },
  "digitalCardId": "DGGLSW8D8AC610566D4EF09C22186B2A5ED756",
  "cardAccountId": "FAPLSW8D8AC610566D4EF09C22186B2A5ED793",
  "eventTime": "2026-01-01T00:00:00.000Z"
}
{
  "responseContext": {
    "requestId": "a762c0a1-2ae7-42b1-a4d8-8d8ba09bdf30",
    "statusCode": 0,
    "statusMessage": "OK"
  }
}

Última actualización

¿Te fue útil?