Payouts
Payout Wallets
Create a Payout Wallet

Knit API Documentation

Create a Payout Wallet

Endpoint

POST

{{baseUrl}}/api/payouts/wallets
Headers
  • X-API-KEY: Your API key for authentication.
  • Accept: Set to application/json to receive responses in JSON format.
Request Body
{ 
    "token": "USDT"
}
Sample Request
curl --location -g '{{baseUrl}}/api/payouts/wallets' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json' \
--data '{ 
    "token": "USDT"
}'
Sample Response
Sample Response
{
    "success": true,
    "status": 201,
    "data": {
        "token": "USDT",
        "userId": "a266545-2c6c-43c9-a288-6167e2b2b591",
        "amount": 0,
        "id": "c7ddb254-5da1-4136-b19e-733a00ar5646",
        "updatedAt": "2024-02-22T14:16:23.000000Z",
        "createdAt": "2024-02-22T14:16:23.000000Z"
    },
    "message": "Payout wallets fetched successfully"
}