View as Markdown

Payments API

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

File Status Summary

Returns the number of payment files grouped by status for the authenticated customer, optionally filtered by creation-date range and file status.

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.
fileStatus
array
query Optional and repeatable. Restrict the summary to these file statuses. When omitted, all statuses are counted.
creationDateFrom
string
query Only count files created on or after this instant (ISO-8601 UTC).
creationDateTo
string
query Only count files created on or before this instant (ISO-8601 UTC).

Responses

  • 200 Payment file counts keyed by status
  • 401 Missing or invalid NEO session
  • 429 Too many requests — rate limit exceeded
  • 500 Unexpected server error
  • 503 The payment file service is temporarily unavailable
  • 400 Bad request — invalid or missing parameters
  • 403 Forbidden — insufficient permissions for this resource