Luxor Documentation Hub Logo
Derivatives/API Documentation

Payments

Retrieve payment history for a specific currency type

GET
/api/v1/derivatives/payments/{currency_type}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

currency_typeRequiredstring

Currency type (e.g., BTC, USD)

Query Parameters

typestring

Filter by payment type

Default: "ALL"Value in: "ALL" | "PAYABLE" | "RECEIVABLE"
pageinteger

Page number for pagination

Default: 1Minimum: 1
page_sizeinteger

Number of items per page

Default: 50Minimum: 1Maximum: 100
curl -X GET "https://app.luxor.tech/api/v1/derivatives/payments/<string>?type=ALL&page=1&page_size=50" \
  -H "authorization: <token>"

Payment history

{
  "currency_type": "BTC",
  "payments": [
    {
      "date_time": "2025-09-10T15:20:11Z",
      "type": "RECEIVABLE",
      "amount": 1.25
    },
    {
      "date_time": "2025-09-10T17:30:00Z",
      "type": "RECEIVABLE",
      "amount": 5
    }
  ],
  "pagination": {
    "page_number": 0,
    "page_size": 50,
    "item_count": 2,
    "previous_page_url": null,
    "next_page_url": null
  }
}