Skip to content

List wallet transactions

GET
/wallet/transactions
curl --request GET \
--url 'https://api.nsin.ir/wallet/transactions?limit=50&offset=0' \
--header 'Authorization: Bearer <token>'

The wallet ledger, newest first. amount_rials is signed: positive is a credit, negative a debit. Traffic charges carry the domain they are attributed to.

limit
integer
default: 50 >= 1 <= 200
offset
integer
0

Ledger rows.

Media type application/json
Array<object>
object
id
integer
wallet_id
integer
user_id
integer
type
string
Allowed values: topup purchase refund admin_adjust
amount_rials

Signed — positive credits, negative debits.

integer
balance_after
integer
description
string
ref_type

What the row refers to — payment, subscription, traffic or manual.

string
ref_id
integer
ref_code

Payment gateway reference, for top-ups.

string
created_at
string format: date-time
domain_id

Set on traffic charges.

integer
domain_name

Set on traffic charges.

string
Example
[
{
"type": "topup"
}
]

Missing, malformed, revoked or expired API key — or the owning account is inactive.

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

The key exceeded its request budget (300 requests per minute by default).

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example limited
{
"error": "rate limit exceeded"
}