Unified payment history (one-time orders + subscription charges)

get/v1/payment-history

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Query parameters

kind'order' | 'subscription_charge'

Filter to one source (the app's orders-vs-subscriptions toggle)

start_timestring date-time

Inclusive start of a date range, ISO-8601 with an offset (build it in available_filters.time_zone). Applies only together with end_time; either one alone, or an unparseable value, is ignored, as in the gallery APIs.

end_timestring date-time

Exclusive end of the date range. See start_time.

facilities[]integer[]

Only orders whose game was at one of these venues. Venue is an order concept, so this filter excludes subscription charges.

arenas[]integer[]

Only orders played on one of these courts. Excludes subscription charges.

sort_by'Newest' | 'Oldest'

Defaults to Newest; any other value falls back to Newest.

pageinteger
per_pageinteger

Response

Gallery-style envelope. data holds the entries interleaved by date (order per sort, newest by default); pagination is also sent as X-Total-Count / X-Total-Pages headers.

Example response

{
  "data": [
    {
      "number": "HIFY-SUB-20260813-1A2B3C4D",
      "currency_code": "INR"
    }
  ],
  "available_filters": {
    "days": [
      "2026-10-03"
    ],
    "time_zone": "Asia/Kolkata"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.