Shop
Shop operations for external integrations
Returns shop information for the authenticated user
API key for authentication.
Successful response
Unauthorized (invalid API key)
Shop not found
GET /api/v1/shop HTTP/1.1
Host: tribute.tg
Api-Key: YOUR_API_KEY
Accept: */*
{
"userId": 123,
"link": "myshop",
"callbackUrl": "https://example.com/webhook",
"recurringAvailable": true,
"onlyStars": false,
"status": 1
}Returns a list of shop orders sorted by ID descending (newest first)
API key for authentication.
Successful response
Unauthorized (invalid API key)
Shop not found
GET /api/v1/shop/orders HTTP/1.1
Host: tribute.tg
Api-Key: YOUR_API_KEY
Accept: */*
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"amount": 100000,
"currency": "rub",
"title": "Product X",
"description": "Detailed product description",
"status": "paid",
"email": "[email protected]",
"successUrl": "https://shop.com/success",
"failUrl": "https://shop.com/fail",
"paymentUrl": "https://web.tribute.tg/shop/pay/550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2025-11-13 15:04:05"
}
]Creates a new shop order and returns a payment URL for the customer.
API key for authentication.
Order amount in smallest currency units (cents for EUR, kopecks for RUB)
100000Currency code (lowercase)
rubPossible values: Order title (required, max 100 UTF-16 characters)
Product XOrder description (required, max 300 UTF-16 characters)
Detailed product descriptionRedirect URL on successful payment (optional)
https://shop.com/successRedirect URL on failed payment (optional)
https://shop.com/failCustomer email (optional, validated if provided)
[email protected]Order created successfully
Bad request
Unauthorized (invalid API key)
Shop not found
POST /api/v1/shop/orders HTTP/1.1
Host: tribute.tg
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"amount": 100000,
"currency": "rub",
"title": "Product X",
"description": "Detailed product description",
"successUrl": "https://shop.com/success",
"failUrl": "https://shop.com/fail",
"email": "[email protected]"
}{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"paymentUrl": "https://web.tribute.tg/shop/pay/550e8400-e29b-41d4-a716-446655440000"
}Returns the current status of a specific shop order by its UUID. Only accessible by the shop owner.
API key for authentication.
Order UUID
550e8400-e29b-41d4-a716-446655440000Successful response
Unauthorized (invalid API key)
Forbidden (order belongs to another shop)
Order or shop not found
GET /api/v1/shop/orders/{orderUuid}/status HTTP/1.1
Host: tribute.tg
Api-Key: YOUR_API_KEY
Accept: */*
{
"status": "paid"
}Last updated