Payouts
Get Single Payout

Knit API Documentation

Get Single Payout

Endpoint

GET

 {{baseUrl}}/api/payouts/:id
Headers
  • X-API-KEY: Your API key, which authorizes the request.
  • Accept: Set to application/json to receive the response in JSON format.
Path Variables
  • id: The unique identifier of the wallet you wish to retrieve information for. This should be replaced with the actual wallet ID in your request.
Sample Request
curl --location -g '{{baseUrl}}/api/payouts/8e5697e3-8265-455b-984a-0eb40e10b0f9' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json'
Sample Response
Sample Response
{
  "success": true,
  "message": "Payout 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"
  }
}