Create new skins deposit

POST /v1/deposits
application/json

Body Required

Responses

POST /v1/deposits
curl \
 -X POST https://api.skinsmoney.gg/v1/deposits \
 -H "Content-Type: application/json" \
 -d '{"serviceId":"d9673074-de13-4b93-8a10-41c6da0cb445","minValue":2.37,"currencyCode":"USD","custom":"42734","redirectUrl":"https://skinsmoney.gg","tradeUrl":"https://steamcommunity.com/tradeoffer/new/?partner=000\u0026token=xxx","steamId":"76561199012591716","signature":"f034f9986ae0fa2e3de3b40fcc378bacf6a5a01d269af841121501f610ddc65b"}'
Request example
{
  "serviceId": "d9673074-de13-4b93-8a10-41c6da0cb445",
  "minValue": 2.37,
  "currencyCode": "USD",
  "custom": "42734",
  "redirectUrl": "https://skinsmoney.gg",
  "tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx",
  "steamId": "76561199012591716",
  "signature": "f034f9986ae0fa2e3de3b40fcc378bacf6a5a01d269af841121501f610ddc65b"
}
Request examples
{
  "serviceId": "d9673074-de13-4b93-8a10-41c6da0cb445",
  "minValue": 2.37,
  "currencyCode": "USD",
  "custom": "42734",
  "redirectUrl": "https://skinsmoney.gg",
  "tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx",
  "steamId": "76561199012591716",
  "signature": "f034f9986ae0fa2e3de3b40fcc378bacf6a5a01d269af841121501f610ddc65b"
}
Response examples (201)
{
  "success": true,
  "type": "response",
  "data": {
    "id": "3e1ffc0d-80ae-4931-b1cd-9692938849c0",
    "url": "https://skinsmoney.gg/deposit/3e1ffc0d-80ae-4931-b1cd-9692938849c0"
  }
}
Response examples (422)
{
  "success": false,
  "type": "error",
  "message": "validation error",
  "data": {
    "serviceId": [
      "The service id field is required."
    ],
    "minValue": [
      "The min value field is required."
    ],
    "signature": [
      "The signature field is required."
    ]
  }
}