Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.1.0",
"info": {
"title": "Tier1.shop Client API",
"version": "1.3.0",
"description": "Model-neutral API for Tier1.shop clients. Use a revocable account key as a Bearer token. New clients must confirm their mailbox before an account or key is created. Never send payment-card or banking credentials to this API."
},
"servers": [
{
"url": "https://tier1.shop/wp-json/tier1-api/v1"
}
],
"externalDocs": {
"description": "Human-readable API and MCP documentation",
"url": "https://tier1.shop/api-documentation/"
},
"tags": [
{
"name": "Discovery",
"description": "Public machine-readable contracts."
},
{
"name": "Onboarding",
"description": "Mailbox-confirmed registration and API-key issuance."
},
{
"name": "Account",
"description": "Owned profile, balances, orders and links."
},
{
"name": "Catalog",
"description": "Current purchasable tariffs and donor inventory."
},
{
"name": "Drafts",
"description": "Idempotent draft editing and explicit submission."
},
{
"name": "Checkout",
"description": "Protected hosted-checkout links. Payment data never enters the API."
}
],
"components": {
"securitySchemes": {
"ApiKey": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "t1c_sk_…"
}
},
"schemas": {
"ReplacementOffer": {
"type": "object",
"required": [
"link_id",
"geo",
"eligible",
"current_url",
"current_anchor",
"pending_replacement",
"credits_required",
"credits_available",
"purchase_offers",
"next_action"
],
"properties": {
"link_id": {
"type": "integer",
"minimum": 0
},
"geo": {
"type": "string",
"enum": [
"ru",
"intl"
]
},
"status": {
"type": "string"
},
"eligible": {
"type": "boolean"
},
"pending_replacement": {
"type": "boolean"
},
"current_url": {
"type": "string"
},
"current_anchor": {
"type": "string"
},
"credits_required": {
"type": "integer",
"minimum": 0
},
"credits_available": {
"type": "integer",
"minimum": 0
},
"wallet_will_be_charged": {
"type": "boolean",
"const": false
},
"purchase_offers": {
"type": "array",
"items": {
"type": "object",
"required": [
"product_id",
"kind",
"service_slots",
"price"
],
"properties": {
"product_id": {
"type": "integer",
"minimum": 0
},
"kind": {
"type": "string",
"const": "replacement"
},
"name": {
"type": "string"
},
"geo": {
"type": "string"
},
"service_slots": {
"type": "object",
"properties": {
"replacement": {
"type": "integer",
"minimum": 0
}
}
},
"price": {
"$ref": "#/components/schemas/Money"
}
}
}
},
"next_action": {
"type": "string",
"enum": [
"not_eligible_use_draft_edit_if_available",
"track_existing_replacement",
"confirm_and_submit_replacement",
"confirm_and_save_replacement",
"buy_replacement_credits_via_checkout"
]
}
}
},
"ReplacementAction": {
"type": "object",
"required": [
"link",
"saved",
"submission",
"credits_available",
"wallet_was_charged"
],
"properties": {
"link": {
"$ref": "#/components/schemas/Link"
},
"saved": {
"type": "boolean"
},
"credits_available": {
"type": "integer",
"minimum": 0
},
"wallet_was_charged": {
"type": "boolean",
"const": false
},
"submission": {
"type": [
"object",
"null"
],
"properties": {
"submitted": {
"type": "integer",
"minimum": 0
},
"duplicates": {
"type": "integer",
"minimum": 0
},
"submitted_link_ids": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"ApiError": {
"type": "object",
"required": [
"code",
"message",
"data"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"status": {
"type": "integer"
}
},
"additionalProperties": true
}
}
},
"Money": {
"type": "object",
"required": [
"currency",
"amount_minor",
"minor_unit"
],
"properties": {
"currency": {
"type": "string",
"enum": [
"RUB",
"USD"
]
},
"amount_minor": {
"type": "integer"
},
"minor_unit": {
"type": "integer",
"const": 2
}
}
},
"Profile": {
"type": "object",
"required": [
"account",
"links"
],
"properties": {
"account": {
"type": "object",
"required": [
"email",
"display_name",
"email_verified",
"telegram_usernames"
],
"properties": {
"email": {
"type": "string",
"format": "email"
},
"display_name": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"telegram_username": {
"type": [
"string",
"null"
]
},
"telegram_usernames": {
"type": "array",
"items": {
"type": "string"
}
},
"linked_accounts_count": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": true
},
"links": {
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "uri"
},
"support_bot": {
"type": "string",
"format": "uri"
}
}
}
}
},
"Balances": {
"type": "object",
"required": [
"wallets",
"service_balances"
],
"properties": {
"wallets": {
"type": "object",
"required": [
"rub",
"usd"
],
"properties": {
"rub": {
"$ref": "#/components/schemas/Money"
},
"usd": {
"$ref": "#/components/schemas/Money"
}
}
},
"service_balances": {
"type": "object",
"description": "Current unused slots grouped by requested geo and link type.",
"additionalProperties": true
}
}
},
"Tariffs": {
"type": "object",
"required": [
"geo",
"currency",
"tariffs"
],
"properties": {
"geo": {
"type": "string",
"enum": [
"ru",
"intl"
]
},
"currency": {
"type": "string",
"enum": [
"RUB",
"USD"
]
},
"tariffs": {
"type": "array",
"items": {
"type": "object",
"required": [
"product_id",
"name",
"kind",
"service_slots",
"price"
],
"properties": {
"product_id": {
"type": "integer"
},
"name": {
"type": "string"
},
"geo": {
"type": "string"
},
"kind": {
"type": "string"
},
"service_slots": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"price": {
"$ref": "#/components/schemas/Money"
},
"placement_years": {
"type": [
"integer",
"null"
],
"description": "Explicit placement term when provided by the tariff; Gold+ is 2 years from actual placement."
}
}
}
}
}
},
"BurzhCatalog": {
"type": "object",
"required": [
"donors",
"count",
"price",
"acceptor_filter"
],
"properties": {
"donors": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"count": {
"type": "integer",
"minimum": 0
},
"price": {
"$ref": "#/components/schemas/Money"
},
"acceptor_filter": {
"type": "object",
"additionalProperties": true
}
}
},
"RegistrationIntentCreated": {
"type": "object",
"required": [
"accepted",
"request_id",
"status_token",
"status"
],
"properties": {
"accepted": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"status_token": {
"type": "string"
},
"status": {
"type": "string"
},
"expires_in": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": true
},
"RegistrationIntentStatus": {
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"telegram_status": {
"type": "string"
}
},
"additionalProperties": true
},
"ApiKeyRequestAccepted": {
"type": "object",
"required": [
"accepted"
],
"properties": {
"accepted": {
"type": "boolean"
},
"next_action": {
"type": "string"
}
},
"additionalProperties": true
},
"LinkMutation": {
"type": "object",
"required": [
"link"
],
"properties": {
"link": {
"$ref": "#/components/schemas/Link"
}
}
},
"NativeMutationResult": {
"type": "object",
"description": "The native cabinet result; check per-row errors and counts before reporting success.",
"additionalProperties": true
},
"PlacementProgress": {
"type": "object",
"required": [
"completed",
"total",
"fully_placed"
],
"properties": {
"completed": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 0
},
"fully_placed": {
"type": "boolean",
"description": "Actual link placement completion; independent of WooCommerce payment status."
}
}
},
"CabinetOrder": {
"type": "object",
"required": [
"id",
"cabinet_order_id",
"wc_order_id",
"geo",
"status",
"slots_count",
"placement_progress"
],
"properties": {
"id": {
"type": "integer"
},
"cabinet_order_id": {
"type": "integer",
"description": "Use with /orders/{id} and draft operations."
},
"wc_order_id": {
"type": [
"integer",
"null"
],
"description": "WooCommerce purchase number shown in emails; one purchase may map to multiple cabinet orders."
},
"geo": {
"type": "string",
"enum": [
"ru",
"intl"
]
},
"status": {
"type": "string"
},
"link_type": {
"type": "string"
},
"slots_count": {
"type": "integer",
"minimum": 0
},
"completed_count": {
"type": "integer",
"minimum": 0
},
"placement_progress": {
"$ref": "#/components/schemas/PlacementProgress"
},
"in_progress_count": {
"type": "integer",
"minimum": 0
},
"awaiting_url_count": {
"type": "integer",
"minimum": 0
},
"awaiting_confirmation_count": {
"type": "integer",
"minimum": 0
},
"revision_count": {
"type": "integer",
"minimum": 0
},
"converted_count": {
"type": "integer",
"minimum": 0
},
"deadline_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"additionalProperties": true
},
"Link": {
"type": "object",
"required": [
"id",
"order_id",
"status"
],
"properties": {
"id": {
"type": "integer"
},
"order_id": {
"type": "integer",
"description": "cabinet_order_id"
},
"geo": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"link_type": {
"type": "string"
},
"placement_years": {
"type": [
"integer",
"null"
]
},
"anchor": {
"type": [
"string",
"null"
]
},
"context_text": {
"type": [
"string",
"null"
]
},
"donor_url": {
"type": [
"string",
"null"
]
},
"screenshot_url": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"scheduled_at": {
"type": [
"string",
"null"
]
},
"deadline_at": {
"type": [
"string",
"null"
]
},
"placed_at": {
"type": [
"string",
"null"
]
},
"expires_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"additionalProperties": true
},
"PageInfo": {
"type": "object",
"required": [
"page",
"per_page",
"total",
"pages",
"has_more",
"next_page"
],
"properties": {
"page": {
"type": "integer",
"minimum": 0
},
"per_page": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 0
},
"pages": {
"type": "integer",
"minimum": 0
},
"has_more": {
"type": "boolean"
},
"next_page": {
"type": [
"integer",
"null"
]
}
}
},
"PagedOrders": {
"allOf": [
{
"$ref": "#/components/schemas/PageInfo"
},
{
"type": "object",
"properties": {
"orders": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CabinetOrder"
}
}
}
}
]
},
"PagedLinks": {
"allOf": [
{
"$ref": "#/components/schemas/PageInfo"
},
{
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Link"
}
}
}
}
]
},
"OrderDetail": {
"type": "object",
"properties": {
"order": {
"$ref": "#/components/schemas/CabinetOrder"
},
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Link"
}
}
}
},
"WooOrders": {
"type": "object",
"properties": {
"wc_order_id": {
"type": "integer"
},
"count": {
"type": "integer",
"minimum": 0
},
"orders": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderDetail"
}
}
}
},
"CheckoutIntentCreated": {
"type": "object",
"required": [
"intent_id",
"checkout_url",
"expires_at",
"summary"
],
"properties": {
"intent_id": {
"type": "string"
},
"checkout_url": {
"type": "string",
"format": "uri",
"description": "Secret-bearing URL: show only to the intended customer, never log it."
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"summary": {
"type": "object",
"additionalProperties": true
},
"payment_preview": {
"type": "object",
"description": "Nominal wallet gap only. The hosted checkout recalculates discounts, cashback, FX and payment methods.",
"properties": {
"currency": {
"type": "string"
},
"wallet_available_minor": {
"type": "integer",
"minimum": 0
},
"nominal_wallet_gap_minor": {
"type": "integer",
"minimum": 0
},
"final_amount_at_checkout": {
"type": "boolean"
}
}
}
}
},
"CheckoutIntentStatus": {
"type": "object",
"required": [
"intent_id",
"state",
"wc_order_id",
"cabinet_order_ids"
],
"properties": {
"intent_id": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"awaiting_checkout",
"expired",
"checkout_opened",
"awaiting_payment",
"paid",
"failed",
"cancelled",
"refunded",
"review_required"
]
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"estimated_summary": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"wc_order_id": {
"type": [
"integer",
"null"
]
},
"wc_order_status": {
"type": [
"string",
"null"
]
},
"cabinet_order_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
# --- truncated at 32 KB (92 KB total) ---
# Full source: https://artifacts.apis.io/tier1-shop/openapi/tier1-shop-openapi.json