List withdrawals Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.staging.lumetrade.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Lumetrade Staging API MCP server": {
    "url": "https://docs.staging.lumetrade.com/mcp"
  }
}

Close
GET /api/v1/withdrawals

Returns the authenticated user's withdrawal history. Pagination, sorting, date filtering, and status filtering parameters are reserved for this list endpoint; current responses remain unpaginated until server-side pagination is enabled.

Headers

  • X-API-KEY string Required

    Public API key issued from the Lumetrade API key management flow.

  • X-API-SECRET string Required

    API secret paired with the public API key.

Query parameters

  • page integer(int32)

    Page number, zero-based.

  • size integer(int32)

    Page size. Planned maximum: 100.

  • sort string

    Sort expression: field,direction.

  • dateFrom string(date-time)

    Reserved inclusive lower timestamp bound.

  • dateTo string(date-time)

    Reserved inclusive upper timestamp bound.

  • status string

    Reserved withdrawal status filter.

Responses

  • 200 application/json

    Withdrawals returned successfully

    Hide response attributes Show response attributes object
    • amount number

      Withdrawal amount.

    • fee number

      Withdrawal fee.

    • currency string

      Withdrawal currency code.

    • withdrawDetails object

      Raw withdrawal details stored as JSON object.

      Additional properties are allowed.

      Hide withdrawDetails attributes Show withdrawDetails attributes object
      • short boolean
      • pojo boolean
      • int boolean
      • double boolean
      • bigDecimal boolean
      • bigInteger boolean
      • nodeType string

        Values are ARRAY, BINARY, BOOLEAN, MISSING, NULL, NUMBER, OBJECT, POJO, or STRING.

      • container boolean
      • long boolean
      • integralNumber boolean
      • floatingPointNumber boolean
      • missingNode boolean
      • string boolean
      • boolean boolean
      • binary boolean
      • object boolean
      • textual boolean Deprecated
      • valueNode boolean
      • number boolean
      • array boolean
      • empty boolean
      • null boolean
      • float boolean
      • embeddedValue boolean
    • status string

      Withdrawal status.

      Values are PENDING, ACCEPTED, AWAITING_CONFIRMATION, PROCESSING, COMPLIANCE_PENDING, COMPLETED, FAILED, CANCELLED, or REVERSED.

    • transactionId string

      Transaction id for withdrawal lookups.

    • createdAt string(date-time)

      Withdrawal creation timestamp.

    • completedAt string(date-time)

      Completion timestamp.

    • isFiat boolean

      Whether this withdrawal used a fiat route.

  • 403 application/json

    Authenticated API key is not allowed to perform this action

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • httpStatus integer(int32)
    • requestId string
    • timestamp string(date-time)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • field string
      • message string
  • 429 application/json

    Cloudflare API rate limit exceeded

    Hide response attributes Show response attributes object
    • error string
    • message string
  • 401 application/json

    API key authentication failed

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • httpStatus integer(int32)
    • requestId string
    • timestamp string(date-time)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • field string
      • message string
  • 400 application/json

    Request validation failed

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • httpStatus integer(int32)
    • requestId string
    • timestamp string(date-time)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • field string
      • message string
  • 500 application/json

    Unexpected server error

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • httpStatus integer(int32)
    • requestId string
    • timestamp string(date-time)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • field string
      • message string
GET /api/v1/withdrawals
curl \
 --request GET 'https://api.staging.lumetrade.com/api/v1/withdrawals' \
 --header "X-API-KEY: string" \
 --header "X-API-SECRET: string"
Response examples (200)
[
  {
    "amount": 101,
    "fee": 1,
    "currency": "ZAR",
    "withdrawDetails": {
      "bankName": "FNB",
      "accountNumber": "1234567890"
    },
    "status": "COMPLETED",
    "transactionId": "wd_5M8Q1P",
    "createdAt": "2026-05-11T10:15:30Z",
    "completedAt": "2026-05-11T10:20:30",
    "isFiat": true
  }
]
Response examples (403)
{
  "httpStatus": 403,
  "errors": [],
  "timestamp": "2026-01-01T00:00:00Z",
  "code": 403,
  "message": "Authenticated API key is not allowed to perform this action",
  "requestId": "req_01HY0000000000000000000000"
}
Response examples (429)
{
  "error": "rate_limit_exceeded",
  "message": "API rate limit exceeded"
}
Response examples (401)
{
  "httpStatus": 401,
  "errors": [],
  "timestamp": "2026-01-01T00:00:00Z",
  "code": 401,
  "message": "API key authentication failed",
  "requestId": "req_01HY0000000000000000000000"
}
Response examples (400)
{
  "httpStatus": 400,
  "errors": [],
  "timestamp": "2026-01-01T00:00:00Z",
  "code": 400,
  "message": "Request validation failed",
  "requestId": "req_01HY0000000000000000000000"
}
Response examples (500)
{
  "httpStatus": 500,
  "errors": [],
  "timestamp": "2026-01-01T00:00:00Z",
  "code": 500,
  "message": "Unexpected server error",
  "requestId": "req_01HY0000000000000000000000"
}