Skip to content

Step 1: Check Steam Account

http
POST /p/api/v1.0/steam/check

Validates a Steam account name and creates a short-lived transactionId for the payment step.

Request Body

json
{
  "steamUsername": "igb53"
}

Fields:

  • steamUsername (string, required): Steam profile name. It is trimmed before use, must be non-empty, and must be at most 64 characters.

Example Request

bash
curl 'https://core.steaminventoryhelper.com/p/api/v1.0/steam/check' \
  -H 'content-type: application/json' \
  -H 'api-key: <USER_API_KEY>' \
  --data-raw '{"steamUsername":"igb53"}'

Success Response

json
{
  "success": true,
  "message": "Steam account found successfully",
  "transactionId": "d34cb700-fcf9-4cab-89b1-7a6b552a0df5"
}

Save transactionId; it is required by POST /p/api/v1.0/steam/pay.

Error Responses

Invalid steamUsername:

json
{
  "success": false,
  "error": "steamUsername cannot be empty"
}

Steam account not found or rejected by the payment provider:

json
{
  "success": false,
  "message": "Steam account not found"
}

Service configuration or internal errors:

json
{
  "success": false,
  "error": "Internal server error"
}