Webhooks
Collection Confirmed

Knit API Documentation

Collection Confirmed

Sample Response

This happens when the merchant-defined confirmationThreshold, established during the creation of the collection, is attained.

Sample Response
{
  "body": {
    "eventType": "COLLECTION_CONFIRMED",
    "collection": {
      "id": "4ebdfe45-a62b-47a9-ac31-7599305666b1",
      "userId": "a2667393-2c6c-43c9-a288-6167e2b2b591",
      "network": "MATIC_MAINNET",
      "token": "USDT",
      "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "tokenAmount": "25.000000000000000000",
      "tokenToUsd": null,
      "fiatExchangeRateToUsd": null,
      "fiatAmountInUsd": null,
      "fiatAmount": null,
      "fiatAmountCurrency": null,
      "status": "SUCCESSFUL",
      "transactionHash": "b480ed44a275f042e482a78d9c5b54fcf612441c",
      "transactionBlockNumber": null,
      "numberOfConfirmations": null,
      "merchantRedirectUrl": "https://example.com",
      "merchantCallbackUrl": "https://example.com",
      "expiresAt": "2024-02-22T17:29:33.000000Z",
      "createdAt": "2024-02-22T16:59:33.000000Z",
      "updatedAt": "2024-02-22T17:00:30.000000Z"
    }
  }
}