Skip to content
SkinsNodeDocumentation
Deposit webhooks
Docs/Deposits

Deposit webhooks

Process signed deposit.updated events without crediting the same transaction twice.

EVENTdeposit.updated

Sent to the webhookUrl supplied when creating a deposit. Each event contains a full transaction snapshot in data.

Callback headers
x-event-type: deposit.updated
x-delivery-id: <UUID>
x-timestamp: <ISO-8601 UTC>
x-signature: <hmac-sha256-hex>

Verify before processing

  1. Read the raw body without reserializing it.
  2. Require the header timestamp to be within five minutes.
  3. Compute hex HMAC-SHA256 over x-timestamp + "." + rawBody using your client webhook signing secret, the same secret that signs withdrawal callbacks (your API secret by default, or the separate webhook secret shown in the client portal). Compare signatures in constant time.
  4. Persist the event in a durable inbox before returning 2xx.

Payload after settlement

deposit.updated JSON
{
  "version": 1,
  "eventId": "019e0000-0000-7000-8000-000000000005",
  "type": "deposit.updated",
  "timestamp": "2026-10-11T12:00:00Z",
  "data": {
    "depositId": "019e0000-0000-7000-8000-000000000003",
    "externalId": "deposit_42",
    "quoteId": "019e0000-0000-7000-8000-000000000001",
    "status": "success",
    "needsReview": false,
    "currency": "USD",
    "creditAmount": 3991,
    "creditStatus": "available",
    "walletTransactionId": "019e0000-0000-7000-8000-000000000004",
    "steamOfferId": "7193849201",
    "protection": {
      "estimatedEndAt": null
    },
    "items": [
      {
        "itemId": "019e0000-0000-7000-8000-000000000002",
        "inventoryAssetId": "53273940796",
        "marketHashName": "AK-47 | Aquamarine Revenge (Field-Tested)",
        "phase": null,
        "amount": 1,
        "imageUrl": null,
        "sellable": true,
        "creditAmount": 3991,
        "priceValidUntil": "2026-10-03T12:05:00Z",
        "unavailableReason": null
      }
    ],
    "failureCode": null,
    "revision": 4,
    "timestamps": {
      "queuedAt": "2026-10-03T12:00:00Z",
      "updatedAt": "2026-10-11T12:00:00Z"
    }
  }
}

Deduplication and recovery

Deduplicate by eventId; ignore older data.revision values. Delivery retries retain the event ID and use a fresh signed header timestamp.

Use GET /v1/deposits/offers/{externalId} as bounded recovery when callbacks are delayed. Do not create a second deposit.

EVENTdeposit.quote.updated

Sent once to the webhookUrl supplied when requesting a quote, when its valuation finishes. data has the same shape as GET /v1/deposits/quotes/{quoteId}: a ready quote with valued items, or a failed quote with failureCode and no items. Headers and signature are verified exactly as for deposit.updated, with x-event-type: deposit.quote.updated.

deposit.quote.updated JSON
{
  "version": 1,
  "eventId": "019e0000-0000-7000-8000-000000000006",
  "type": "deposit.quote.updated",
  "timestamp": "2026-10-03T12:00:00Z",
  "data": {
    "quoteId": "019e0000-0000-7000-8000-000000000001",
    "status": "ready",
    "currency": "USD",
    "readyAt": "2026-10-03T12:00:00Z",
    "expiresAt": "2026-10-03T12:05:00Z",
    "items": [
      {
        "itemId": "019e0000-0000-7000-8000-000000000002",
        "inventoryAssetId": "53273940796",
        "marketHashName": "AK-47 | Aquamarine Revenge (Field-Tested)",
        "phase": null,
        "amount": 1,
        "imageUrl": null,
        "sellable": true,
        "creditAmount": 3991,
        "priceValidUntil": "2026-10-03T12:05:00Z",
        "unavailableReason": null
      }
    ],
    "failureCode": null
  }
}

Deduplicate by eventId. If the event does not arrive, read the quote with GET; do not request a new quote for the same user action.