# GET Widget by ID

## Get merchant's widget by Uuid

> \# Get merchant's widget by Uuid\
> \
> This endpoint is used to get merchants's widget by widget's Uuid.\
> \
> \### Request\
> \
> \- Method: GET\
> &#x20;   \
> \- URL: \[<http://localhost:3000/v1/widget/:widgetUuid]\\(http://localhost:3000/v1/organization/:organizationId)\\>
> &#x20;   \
> \
> \### Headers\
> \
> \- Authorization: Bearer {{ORGANIZATION\_API\_KEY}}\
> &#x20;   \
> \
> \### Response\
> \
> \- Status: 200 OK\
> &#x20;   \
> \- Content Type: application/json\
> &#x20;   \
> \
> \#### Response Body\
> \
> \`\`\` json\
> {\
> &#x20; "data": {\
> &#x20;     "id": string,\
> &#x20;     "apiKey": string,\
> &#x20;     "status": Enum\['Active', 'Inactive']\
> &#x20;     "name": string,\
> &#x20;     "description": string,\
> &#x20;     "merchant": string,\
> &#x20;     "assetsByBlockchain": {\
> &#x20;        "blockchain": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC', 'bitcoin'),\
> &#x20;        "assets": \[\
> &#x20;         Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX', 'BTC')\
> &#x20;      ],\
> &#x20;      "confirmationsAmount": number, // min 1\
> &#x20;      "expirationTime": number,\
> &#x20;      "expirationTimeAction": Enum('FailRequest', 'UpdateRate')\
> &#x20;    },\
> &#x20;    "reusableAddress": boolean,\
> &#x20;    "sweepingGasTolerance": number,\
> &#x20;    "aggregationWallet": string,\
> &#x20;    "sweepingFrequency": {\
> &#x20;       "type":Enum('Daily', 'Weekly'),\
> &#x20;       "period": string, // Represents either "08:00:00" or "Monday 09:00:00"\
> &#x20;     },\
> &#x20;     "acceptPartialPayment": boolean,\
> &#x20;     "sweepingCost": Enum('Merchant', 'Customer'),\
> &#x20;     "webhookUrl": string,\
> &#x20;     "redirectUrl": string,\
> &#x20;     "purchasesToday": number,\
> &#x20;     "purchasesTotal": number,\
> &#x20;     "incomeToday": number,\
> &#x20;     "incomeTotal": number,\
> &#x20;     "balance": number    \
> &#x20;  }\
> }\
> \
> &#x20;\`\`\`

````json
{"openapi":"3.0.0","info":{"title":"PSP (Stage)","version":"1.0.0"},"tags":[{"name":"Widget > Merchant"}],"servers":[{"url":"http://{{base_url}}"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/merchant/widget/da9f2521-0167-436a-9f04-3bcc9dcad182":{"get":{"tags":["Widget > Merchant"],"summary":"Get merchant's widget by Uuid","description":"# Get merchant's widget by Uuid\n\nThis endpoint is used to get merchants's widget by widget's Uuid.\n\n### Request\n\n- Method: GET\n    \n- URL: [http://localhost:3000/v1/widget/:widgetUuid](http://localhost:3000/v1/organization/:organizationId)\n    \n\n### Headers\n\n- Authorization: Bearer {{ORGANIZATION_API_KEY}}\n    \n\n### Response\n\n- Status: 200 OK\n    \n- Content Type: application/json\n    \n\n#### Response Body\n\n``` json\n{\n  \"data\": {\n      \"id\": string,\n      \"apiKey\": string,\n      \"status\": Enum['Active', 'Inactive']\n      \"name\": string,\n      \"description\": string,\n      \"merchant\": string,\n      \"assetsByBlockchain\": {\n         \"blockchain\": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC', 'bitcoin'),\n         \"assets\": [\n          Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX', 'BTC')\n       ],\n       \"confirmationsAmount\": number, // min 1\n       \"expirationTime\": number,\n       \"expirationTimeAction\": Enum('FailRequest', 'UpdateRate')\n     },\n     \"reusableAddress\": boolean,\n     \"sweepingGasTolerance\": number,\n     \"aggregationWallet\": string,\n     \"sweepingFrequency\": {\n        \"type\":Enum('Daily', 'Weekly'),\n        \"period\": string, // Represents either \"08:00:00\" or \"Monday 09:00:00\"\n      },\n      \"acceptPartialPayment\": boolean,\n      \"sweepingCost\": Enum('Merchant', 'Customer'),\n      \"webhookUrl\": string,\n      \"redirectUrl\": string,\n      \"purchasesToday\": number,\n      \"purchasesTotal\": number,\n      \"incomeToday\": number,\n      \"incomeTotal\": number,\n      \"balance\": number    \n   }\n}\n\n ```","responses":{"200":{"description":"OK","headers":{"access-control-allow-origin":{"schema":{"type":"string"}},"content-type":{"schema":{"type":"string"}},"content-length":{"schema":{"type":"integer"}},"Date":{"schema":{"type":"string"}},"Connection":{"schema":{"type":"string"}},"Keep-Alive":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
````
