Create new skins deposit

POST /v1/services/{service_uuid}/deposits

Path parameters

application/json

Body Required

Responses

  • 201 application/json

    Deposit created successfully

    Hide response attributes Show response attributes object
  • 422 application/json

    Validation failed

    Hide response attributes Show response attributes object
POST /v1/services/{service_uuid}/deposits
curl \
 --request POST https://api.skinsmoney.gg/v1/services/661512bf-4dd2-4404-a58a-210acf868665/deposits \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"minValue":"2.37","currencyCode":"USD","custom":"42734","redirectUrl":"42734","tradeUrl":"https://steamcommunity.com/tradeoffer/new/?partner=000\u0026token=xxx","steamId":"76561199012591716"}'
Request examples
{
  "minValue": "2.37",
  "currencyCode": "USD",
  "custom": "42734",
  "redirectUrl": "42734",
  "tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx",
  "steamId": "76561199012591716"
}
Response examples (201)
{
  "data": {
    "id": "3e1ffc0d-80ae-4931-b1cd-9692938849c0",
    "url": "https://skinsmoney.gg/deposit/3e1ffc0d-80ae-4931-b1cd-9692938849c0"
  },
  "type": "response",
  "success": true
}
Response examples (422)
{
  "data": {
    "minValue": [
      "The min value field is required."
    ]
  },
  "type": "error",
  "message": "validation error",
  "success": false
}