Skip to main content
GET
/
user
/
wallet
/
ledger
Get wallet ledger
curl --request GET \
  --url https://api.skinshark.gg/user/wallet/ledger \
  --header 'api-key: <api-key>'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "items": [
      {
        "id": "<string>",
        "type": "<string>",
        "description": "<string>",
        "amount": 123,
        "occurredAt": "2023-11-07T05:31:56Z",
        "externalRef": "<string>"
      }
    ],
    "nextCursor": "<string>"
  },
  "error": {
    "code": 1500,
    "key": "INSUFFICIENT_BALANCE",
    "message": "Insufficient balance"
  }
}

Authorizations

api-key
string
header
required

Your raw API key. Generate, rotate, and revoke keys from the merchant dashboard. Keys can optionally be bound to one or more allowed source IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.

Headers

On-Behalf-Of
string

Sub-user UUID or the merchant's externalId for that sub-user. Required for sub-user-context routes; rejected (via requireMerchant) on merchant-context routes.

Required string length: 1 - 128

Query Parameters

type
string

Optional ledger entry-type filter (e.g. merchant_fund, trade_payment).

cursor
string
limit
integer
default:25
Required range: 1 <= x <= 100

Response

OK.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object