View as Markdown

Payments API

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

Payment File List

Returns the payment files for the authenticated customer, optionally filtered by creation-date range, file status, file name, or file reference.

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.
fromMillis
long
query Only include files created on or after this instant (ISO-8601 UTC). When omitted, no lower bound is applied.
toMillis
long
query Only include files created on or before this instant (ISO-8601 UTC). When omitted, no upper bound is applied.
fileStatus
array
query Optional and repeatable. Restrict results to these file statuses. When omitted, all statuses are returned.
fileName
string
query Optional. Restrict results to files matching this file name.
fileReference
string
query Optional. Restrict results to files matching this file reference.

Responses

  • 200 Payment files matching the supplied filters
  • 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