Skip to main content

Billing Transactions

The current user's recharge, spending, and refund transactions. When the outcome of a proxy, number, mailbox, or CAPTCHA purchase is unclear, reconcile it with this endpoint and the matching record endpoint before deciding whether to buy again.

Showing 1 of 1 endpoints

GET/billing/trades

List billing transactions

Pages through the current user's recharge, spending, and refund transactions, for reconciling purchase and refund results.

AuthBearer API Key

Request parameters

FieldTypeRequiredDescription
pagenumberOptionalPage number, default 1
sizenumberOptionalPage size, default 20, max 1000

Notes

  • Determine the business type by type; do not branch on the typeRemark or remark text.
  • Transactions are for reconciliation only and are not idempotency tokens for purchases; this endpoint does not accept keyword.

Response fields

FieldTypeDescription
contextIdstringSign-in and team context identifier for this request, usable as X-Nex-Service-Context in subsequent requests
data.countnumberTotal number of matching records
data.sizenumberPage size, echoes the request value
data.pagenumberCurrent page number, echoes the request value
data.totalnumberTotal number of pages
data.dataobject[]Records on the current page
data.data[].idnumberTransaction ID
data.data[].userIdnumberUser ID
data.data[].amountnumberAmount, USDT; positive is a credit, negative is a debit
data.data[].typestringTransaction type, e.g. RECHARGE, BUY_PROXY_IP, BUY_SMS, BUY_SMS_REFUND, BUY_MAIL, BUY_CAPTCHA, BUY_CAPTCHA_REFUND
data.data[].typeRemarkstringType description, translated according to Accept-Language
data.data[].remarkstringTransaction remark; standard remarks are translated according to Accept-Language
data.data[].createdAtstringCreation time
data.data[].updatedAtstringUpdate time

Response example

{
"code": 0,
"msg": "成功",
"data": {
"count": 1,
"size": 20,
"page": 1,
"total": 1,
"data": [
{
"id": 88001,
"userId": 1001,
"amount": -0.005,
"type": "BUY_CAPTCHA",
"typeRemark": "验证码识别购买",
"remark": "验证码识别购买 RECAPTCHA_V2",
"createdAt": "2026-10-23 10:00:00",
"updatedAt": "2026-10-23 10:00:00"
}
]
},
"contextId": "a3f5c2e1b7d94c0e8f6a1b2c3d4e5f60a3f5c2e1b7d94c0e8f6a1b2c3d4e5f6"
}