Retrieve an API account
Fetches one API account belonging to your business.
GET
https://api-prod.useknit.io/api/v1/business-api-services-wallets/{id}
Path parameters
idstringrequired
The API account's id.
Request
cURL
curl "https://api-prod.useknit.io/api/v1/business-api-services-wallets/c7ddb254-5da1-4136-b19e-733a00a31c70" \
-H "Authorization: Bearer $KNIT_ACCESS_TOKEN" \
-H "Accept: application/json"Response
200 OK
{
"statusCode": 200,
"message": "Payout Wallet fetched successfully",
"data": {
"id": "c7ddb254-5da1-4136-b19e-733a00a31c70",
"businessId": "a2667393-2c6c-43c9-a288-6167e2b2b591",
"token": "USDT",
"amount": "99.950000000000000000",
"createdAt": "2024-02-22T14:16:23.000000Z",
"updatedAt": "2024-02-22T14:35:13.000000Z"
},
"success": true
}Errors
| Status | Cause |
|---|---|
401 | Missing or invalid token, IP not allow-listed, or missing payout-wallets:read |
404 | No API account with that ID belongs to your business |