GET Widget by ID
Get merchant's widget by Uuid
This endpoint is used to get merchants's widget by widget's Uuid.
Request
Method: GET
Headers
Authorization: Bearer {{ORGANIZATION_API_KEY}}
Response
Status: 200 OK
Content Type: application/json
Response Body
{
"data": {
"id": string,
"apiKey": string,
"status": Enum['Active', 'Inactive']
"name": string,
"description": string,
"merchant": string,
"assetsByBlockchain": {
"blockchain": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC', 'bitcoin'),
"assets": [
Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX', 'BTC')
],
"confirmationsAmount": number, // min 1
"expirationTime": number,
"expirationTimeAction": Enum('FailRequest', 'UpdateRate')
},
"reusableAddress": boolean,
"sweepingGasTolerance": number,
"aggregationWallet": string,
"sweepingFrequency": {
"type":Enum('Daily', 'Weekly'),
"period": string, // Represents either "08:00:00" or "Monday 09:00:00"
},
"acceptPartialPayment": boolean,
"sweepingCost": Enum('Merchant', 'Customer'),
"webhookUrl": string,
"redirectUrl": string,
"purchasesToday": number,
"purchasesTotal": number,
"incomeToday": number,
"incomeTotal": number,
"balance": number
}
}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
Responseobject
get
/v1/merchant/widget/da9f2521-0167-436a-9f04-3bcc9dcad182200
OK
Last updated
Was this helpful?