View as Markdown

Transactions Service API

Base URL: https://interact-uat.hsbc.com/yi-transactions-service/
GET /v1/transactions/history

Get raw HSBCnet-compatible transaction history

Returns transaction history in the raw HSBCnet-compatible responseBody and stmtTranList structure. Use header test: 1 to return seeded in-memory data instead of calling a downstream service. Configured synthetic customer IDs are served from test-data-viewer automatically, bypassing DSP and HSBCnet, and are adapted to the same raw response structure.

Requires authentication: neoSessionCookie (cookie) or xHSBCCustIdHeader (header) or b2bBearerToken (header)

Parameters

NameInDescription
X-HSBC-Account-Id required
string
header HSBC account identifier for the requested transaction history.
X-HSBC-Account-Currency
string
header Optional account currency used to label returned amounts.
X-HSBC-Request-Correlation-Id
string
header Optional caller-provided correlation identifier.
X-HSBC-CUSTID
string
header Customer identifier used for the customer-id header authentication journey.
test
string
header Set to 1 to serve seeded in-memory data instead of calling the upstream transaction-history service.
lookbackDays
integer
query Number of days of transaction history to request.

Responses

  • 200 Raw transaction history retrieved successfully
  • 400 Invalid request parameters or missing required headers.
  • 401 Missing or invalid authentication.
  • 403 Caller is authenticated but not entitled for the requested account.
  • 500 Unexpected service failure.
  • 502 Downstream transaction-history service returned an invalid or failing response.