Payouts
Get All Payouts

Knit API Documentation

Get All Payouts

Endpoint

GET

{{baseUrl}}/api/payouts
Headers
  • X-API-KEY: Your unique API key for authentication.
  • Accept: Set to application/json to ensure the response is in JSON format.
Sample Request
curl --location -g '{{baseUrl}}/api/payouts' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json'
Sample Response
Sample Response
{
  "success": true,
  "message": "Payouts fetched successfully",
  "status": 200,
  "data": [
    {
      "id": "8e5697e3-8265-455b-984a-0eb40e10b0f9",
      "userId": "8286065b-577e-11ef-9218-96f5ee698dcd",
      "payoutWalletId": "5c7bb5bd-acb5-453a-9eb9-11380a329d79",
      "network": "MATIC_MAINNET",
      "token": "USDT",
      "amount": "0.020000000000000000",
      "toAddress": "0x56adfcc254ab3b8142a275c1837bcffaff5aa38b",
      "transactionHash": null,
      "status": "PROCESSING",
      "info": null,
      "payoutExternalRef": "6603f31f-4ebf-461b-89c5-75a13d41b7a9",
      "createdAt": "2024-08-27T13:44:20.000000Z",
      "updatedAt": "2024-08-27T13:44:21.000000Z"
    }
  ]
}