View as Markdown

Payments API

Base URL: https://interact-uat.hsbc.com/payment-service/
GET /api/v0/payment-instructions/summary

Payment Status Summary

Returns the number of payment instructions grouped by status for the authenticated customer, optionally filtered by value-date range and payment direction. Counts are aggregated across multiple payment data sources.

Parameters

NameInDescription
X-HSBC-Request-Correlation-Id
string
header Optional trace identifier forwarded to downstream services and recorded in logs. Include this value when raising support requests. A UUID is recommended; auto-generated when not supplied.
status
array
query Optional and repeatable. Restrict the summary to these payment statuses.
valueDateFrom
string
query Only include payments with a value date on or after this ISO-8601 date. Defaults to 90 days ago.
valueDateTo
string
query Only include payments with a value date on or before this ISO-8601 date. Defaults to today.
paymentDirection
string
query Optional. Restrict the summary to this payment direction. Defaults to OW.

Responses

  • 200 Payment instruction counts keyed by status
  • 400 Invalid query parameters — for example, valueDateFrom is more than 90 days ago or valueDateTo is before valueDateFrom
  • 401 Missing or invalid NEO session
  • 429 Too many requests — rate limit exceeded
  • 500 Unexpected server error
  • 503 All payment data sources are temporarily unavailable
  • 403 Forbidden — insufficient permissions for this resource