Skip to main content
GET
/
merchant
/
users
/
{id}
/
ledger
Get sub-user ledger
curl --request GET \
  --url https://api.skinshark.gg/merchant/users/{id}/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.

Path Parameters

id
string
required
Required string length: 1 - 128

Query Parameters

cursor
string<uuid>
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