Skip to content

Query Personal Top-up Records ​

Endpoint Path ​

http
GET /api/open/user/topup/self

Rate Limit ​

This endpoint follows Authentication Overview · Rate Limits: default max 10 requests per user per minute (shared with most other Open query APIs). Exceeding the limit returns HTTP 429.

Quota Calculation ​

amount is the quota change (internal unit). Convert to CNY as follows:

Amount (¥) = amount ÷ quota_per_unit × usd_exchange_rate

Where:

  • amount: from data.items[].amount returned by this endpoint
  • quota_per_unit, usd_exchange_rate, quota_display_type: from Query Conversion Parameters (GET /api/open/status)

If quota_display_type = USD, omit × usd_exchange_rate.

Note: money is already the paid amount in yuan and needs no conversion.

Request Parameters ​

FieldTypeRequiredDescriptionConstraintsExample
pintNoPage numberDefault 11
page_sizeintNoRecords per pageDefault 10, max 10020
keywordstringNoSearch keywordSearch transaction number or remark"trade_123"
record_typestringNoRecord type filtertopup / redemption, etc."topup"

Request Example ​

json
GET 'https://neolink.com/backend/api/open/user/topup/self?p=1&page_size=20'
GET 'https://neolink.com/backend/api/open/user/topup/self?p=1&page_size=20&record_type=redemption'
GET 'https://neolink.com/backend/api/open/user/topup/self?page_size=10&keyword=trade_123'

Return Information ​

FieldTypeRequiredDescriptionRemarks
successboolYesRequest success indicatorFixed value
messagestringYesError message (empty if successful)Fixed value
dataPagedTopupRecordYesPaged top-up recordsSee table below

PagedTopupRecord Object

FieldTypeRequiredDescriptionRemarks
pageintYesCurrent pageStarts at 1
page_sizeintYesPage sizeActual page size
totalintYesTotal recordsMatching records
items[]TopupRecordYesRecord arraySee table below

TopupRecord Object

FieldTypeRequiredDescriptionRemarks
idintYesRecord IDDatabase unique identifier
record_typestringYesRecord typeOnly topup=top-up order (online/admin); redemption=redemption code. No deduction
trade_nostringYesTrade numberThird-party payment trade no.
payment_methodstringYesPayment methodOnline channels such as alipay/wechat; admin top-up=manual_topup; admin adjust=admin_quota_adjust; redemption=redemption. Admin top-up/adjust is distinguished here, not by record_type
amountint64YesQuota changeIncrease/decrease; see Quota Calculation
moneyfloatYesAmountPaid amount in yuan
statusstringYesStatussuccess / pending / failed
create_timeint64YesCreated atUnix seconds
remarkstringYesRemarkAdditional notes

Response Example ​

json
{
  "success": true,
  "message": "",
  "data": {
    "page": 1,
    "page_size": 20,
    "total": 45,
    "items": [
      {
        "id": 101,
        "record_type": "topup",
        "trade_no": "2026070812345678",
        "payment_method": "alipay",
        "amount": 5000000,
        "money": 500.0,
        "status": "success",
        "create_time": 1752028800,
        "remark": ""
      }
    ]
  }
}