Skip to main content
POST
/
merchant
/
users
Create sub-user
curl --request POST \
  --url https://api.skinshark.gg/merchant/users \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "email": "jsmith@example.com",
  "steamId": "<string>",
  "externalId": "<string>"
}
'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "<string>",
    "steamId": "<string>",
    "externalId": "<string>",
    "feeBps": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "idempotent": true
  },
  "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.

Body

application/json

Provide at least one of email or steamId.

email
string<email>
Maximum string length: 254
steamId
string

SteamID64.

Pattern: ^7656119\d{10}$
externalId
string

Your own stable identifier. Doubles as an On-Behalf-Of value.

Required string length: 1 - 128
currency
enum<string>
Available options:
USD,
EUR

Response

Created.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object