{
    "openapi": "3.0.3",
    "info": {
        "title": "DDBoost Business API",
        "version": "1.0.0",
        "description": "Resell DDBoost services over JSON. Live uses your real wallet; sandbox uses test money. See https://business.ddboost.com/docs"
    },
    "servers": [
        {
            "url": "https://api.ddboost.com",
            "description": "Production host (use /live/v1 or /sandbox/v1)"
        }
    ],
    "security": [
        {
            "bearerAuth": []
        }
    ],
    "paths": {
        "/{env}/v1/ping": {
            "get": {
                "operationId": "ping",
                "summary": "Check the key",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Ping"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "environment": "live",
                                        "status": "ok",
                                        "maintenance": false
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/balance": {
            "get": {
                "operationId": "balance",
                "summary": "Wallet balance",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Balance"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "environment": "live",
                                        "currency": "NGN",
                                        "balance": "48250.00"
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/account": {
            "get": {
                "operationId": "account",
                "summary": "Account and key settings",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Account"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "environment": "live",
                                        "kyc_tier": 2,
                                        "application_status": "approved",
                                        "cancellations": {
                                            "numbers": {
                                                "kind": "numbers",
                                                "used": 3,
                                                "limit": 300,
                                                "remaining": 297,
                                                "resets_at": "2026-11-24T10:15:00+00:00",
                                                "penalty_amount": "1000.00"
                                            },
                                            "emails": {
                                                "kind": "emails",
                                                "used": 0,
                                                "limit": 300,
                                                "remaining": 300,
                                                "resets_at": null,
                                                "penalty_amount": "150.00"
                                            }
                                        },
                                        "key": {
                                            "label": "Production",
                                            "prefix": "ddb_live_W1qnThHn",
                                            "scopes": [
                                                "smm",
                                                "vtu",
                                                "numbers"
                                            ],
                                            "ip_restricted": true,
                                            "daily_spend_cap": "500000.00"
                                        }
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/services": {
            "get": {
                "operationId": "services",
                "summary": "Services this key can use",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Services"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "services": [
                                            {
                                                "service": "smm",
                                                "available": true,
                                                "reason": null
                                            },
                                            {
                                                "service": "vpn",
                                                "available": false,
                                                "reason": "KEY_SCOPE"
                                            },
                                            {
                                                "service": "giftcards",
                                                "available": false,
                                                "reason": "KYC_TIER_TOO_LOW"
                                            }
                                        ]
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/{service}/catalog": {
            "get": {
                "operationId": "catalog",
                "summary": "Catalogue with your prices",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "service",
                        "in": "path",
                        "required": true,
                        "description": "smm = social boosting; telegram = Telegram premium & stars; emails = email accounts; numbers = virtual numbers; giftcards = gift cards; vpn = PureVPN subscriptions; vtu = airtime, data and bill payments; engagement = likes, comments, follows, views, shares and saves from real users",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "smm",
                                "vtu",
                                "numbers",
                                "emails",
                                "giftcards",
                                "vpn",
                                "telegram",
                                "engagement"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Catalog"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "service": "smm",
                                        "items": [
                                            {
                                                "id": 1204,
                                                "name": "Instagram Followers",
                                                "category": "Instagram",
                                                "type": "Default",
                                                "min": 100,
                                                "max": 50000,
                                                "rate_per_1000": "1850.00",
                                                "pricing": "per_1000",
                                                "refill": true,
                                                "cancel": false,
                                                "drip_feed": false,
                                                "description": "..."
                                            }
                                        ]
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "501": {
                        "description": "Service not released through the API yet.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/{service}/orders": {
            "post": {
                "operationId": "createOrder",
                "summary": "Create an order",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "service",
                        "in": "path",
                        "required": true,
                        "description": "smm = social boosting; telegram = Telegram premium & stars; emails = email accounts; numbers = virtual numbers; giftcards = gift cards; vpn = PureVPN subscriptions; vtu = airtime, data and bill payments; engagement = likes, comments, follows, views, shares and saves from real users",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "smm",
                                "vtu",
                                "numbers",
                                "emails",
                                "giftcards",
                                "vpn",
                                "telegram",
                                "engagement"
                            ]
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateOrder"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "success": {
                                            "type": "boolean"
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Order"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
                                        "service": "smm",
                                        "client_reference": "shop-1042",
                                        "status": "processing",
                                        "amount": "1850.00",
                                        "currency": "NGN",
                                        "refunded_amount": "0.00",
                                        "balance_before": "50000.00",
                                        "balance_after": "48150.00",
                                        "refund_balance_before": null,
                                        "refund_balance_after": null,
                                        "description": "Instagram Followers",
                                        "created_at": "2026-11-17T09:14:03+00:00",
                                        "updated_at": "2026-11-17T09:14:03+00:00",
                                        "details": {
                                            "service": 1204,
                                            "link": "https://instagram.com/acme",
                                            "quantity": 1000,
                                            "start_count": 4210,
                                            "remains": 1000
                                        }
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Same client_reference and body seen before: the original order (header Idempotent-Replay: true)."
                    },
                    "402": {
                        "description": "Insufficient balance.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Service or product not found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Idempotency conflict or duplicate active order.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "423": {
                        "description": "API_MAINTENANCE: live quotes, orders and cancellations are paused for maintenance; nothing is charged. Reads and the sandbox still work.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "501": {
                        "description": "Service not released through the API yet.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/{service}/quote": {
            "post": {
                "operationId": "quote",
                "summary": "Price an order without placing it",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "service",
                        "in": "path",
                        "required": true,
                        "description": "smm = social boosting; telegram = Telegram premium & stars; emails = email accounts; numbers = virtual numbers; giftcards = gift cards; vpn = PureVPN subscriptions; vtu = airtime, data and bill payments; engagement = likes, comments, follows, views, shares and saves from real users",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "smm",
                                "vtu",
                                "numbers",
                                "emails",
                                "giftcards",
                                "vpn",
                                "telegram",
                                "engagement"
                            ]
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Quote"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "service": "smm",
                                        "description": "Instagram Followers",
                                        "amount": "1850.00",
                                        "currency": "NGN",
                                        "normal_amount": "2000.00"
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "423": {
                        "description": "API_MAINTENANCE: live quotes, orders and cancellations are paused for maintenance; nothing is charged. Reads and the sandbox still work.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "501": {
                        "description": "Service not released through the API yet.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/{service}/orders/{id}/cancel": {
            "post": {
                "operationId": "cancelOrder",
                "summary": "Cancel an order that has not delivered yet (numbers, email activations, engagement)",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "service",
                        "in": "path",
                        "required": true,
                        "description": "smm = social boosting; telegram = Telegram premium & stars; emails = email accounts; numbers = virtual numbers; giftcards = gift cards; vpn = PureVPN subscriptions; vtu = airtime, data and bill payments; engagement = likes, comments, follows, views, shares and saves from real users",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "smm",
                                "vtu",
                                "numbers",
                                "emails",
                                "giftcards",
                                "vpn",
                                "telegram",
                                "engagement"
                            ]
                        }
                    },
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9]{10,60}$"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Order"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "423": {
                        "description": "API_MAINTENANCE: live quotes, orders and cancellations are paused for maintenance; nothing is charged. Reads and the sandbox still work.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such order.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Order cannot be cancelled (code already received, too early, or already ended).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "The provider did not accept the cancellation.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/orders": {
            "get": {
                "operationId": "listOrders",
                "summary": "List orders",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "service",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100,
                            "default": 25
                        }
                    },
                    {
                        "name": "before",
                        "in": "query",
                        "description": "Opaque cursor: pass next_before from the previous page back unchanged.",
                        "schema": {
                            "type": "string",
                            "maxLength": 700
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/OrderList"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "orders": [
                                            {
                                                "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
                                                "service": "smm",
                                                "client_reference": "shop-1042",
                                                "status": "completed",
                                                "amount": "1850.00",
                                                "currency": "NGN",
                                                "refunded_amount": "0.00",
                                                "balance_before": "50000.00",
                                                "balance_after": "48150.00",
                                                "refund_balance_before": null,
                                                "refund_balance_after": null,
                                                "description": "Instagram Followers",
                                                "created_at": "2026-11-17T09:14:03+00:00",
                                                "updated_at": "2026-11-17T09:41:55+00:00",
                                                "details": {
                                                    "service": 1204,
                                                    "link": "https://instagram.com/acme",
                                                    "quantity": 1000,
                                                    "start_count": 4210,
                                                    "remains": 0
                                                }
                                            },
                                            {
                                                "id": "DDB5N8R2C6HJKLP4WQ7ZT9XY",
                                                "service": "vtu",
                                                "client_reference": "shop-1043",
                                                "status": "completed",
                                                "amount": "490.00",
                                                "currency": "NGN",
                                                "refunded_amount": "0.00",
                                                "balance_before": "50000.00",
                                                "balance_after": "49510.00",
                                                "refund_balance_before": null,
                                                "refund_balance_after": null,
                                                "description": "MTN airtime 500",
                                                "created_at": "2026-11-17T09:14:03+00:00",
                                                "updated_at": "2026-11-17T09:14:03+00:00",
                                                "details": {
                                                    "description": "MTN AIRTIME 500 FOR 08031234567",
                                                    "recipient": "08031234567",
                                                    "face_value": "500.00"
                                                }
                                            }
                                        ],
                                        "next_before": "eyJpZCI6MTIzfQ.9b1c0f3a77d2"
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "VALIDATION_FAILED: limit is not a whole number from 1 to 100, or a query parameter we do not know.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/{env}/v1/orders/{id}": {
            "get": {
                "operationId": "getOrder",
                "summary": "One order",
                "parameters": [
                    {
                        "name": "env",
                        "in": "path",
                        "required": true,
                        "description": "Environment. Must match the key.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "live",
                                "sandbox"
                            ]
                        }
                    },
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9]{10,60}$"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "success",
                                        "data",
                                        "request_id"
                                    ],
                                    "properties": {
                                        "success": {
                                            "type": "boolean",
                                            "enum": [
                                                true
                                            ]
                                        },
                                        "data": {
                                            "$ref": "#/components/schemas/Order"
                                        },
                                        "request_id": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "example": {
                                    "success": true,
                                    "data": {
                                        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
                                        "service": "smm",
                                        "client_reference": "shop-1042",
                                        "status": "completed",
                                        "amount": "1850.00",
                                        "currency": "NGN",
                                        "refunded_amount": "0.00",
                                        "balance_before": "50000.00",
                                        "balance_after": "48150.00",
                                        "refund_balance_before": null,
                                        "refund_balance_after": null,
                                        "description": "Instagram Followers",
                                        "created_at": "2026-11-17T09:14:03+00:00",
                                        "updated_at": "2026-11-17T09:41:55+00:00",
                                        "details": {
                                            "service": 1204,
                                            "link": "https://instagram.com/acme",
                                            "quantity": 1000,
                                            "start_count": 4210,
                                            "remains": 0
                                        }
                                    },
                                    "request_id": "req_8f3a1c52d9e04b7a"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "INVALID_JSON: the body is empty, not valid JSON, not one JSON object, nested too deeply or repeats a field name.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "PAYLOAD_TOO_LARGE: the body is bigger than the limit. Nothing was read or charged.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "UNSUPPORTED_MEDIA_TYPE: send UTF-8 JSON with Content-Type: application/json.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, wrong, revoked or expired key (INVALID_API_KEY), or bad signature (INVALID_SIGNATURE).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Wrong environment, disabled account, IP not allowed, service not enabled or not cleared.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited or daily spend cap reached.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Server error. Retry with the same client_reference.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such order.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "description": "ddb_live_... or ddb_sandbox_... key. Optional HMAC signing headers: X-DDB-Timestamp, X-DDB-Nonce, X-DDB-Signature."
            }
        },
        "schemas": {
            "Error": {
                "type": "object",
                "required": [
                    "success",
                    "error",
                    "request_id"
                ],
                "properties": {
                    "success": {
                        "type": "boolean",
                        "enum": [
                            false
                        ]
                    },
                    "error": {
                        "type": "object",
                        "required": [
                            "code",
                            "message"
                        ],
                        "properties": {
                            "code": {
                                "type": "string"
                            },
                            "message": {
                                "type": "string"
                            }
                        }
                    },
                    "request_id": {
                        "type": "string"
                    }
                }
            },
            "Ping": {
                "type": "object",
                "properties": {
                    "environment": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "maintenance": {
                        "type": "boolean",
                        "description": "true while live orders are paused (API_MAINTENANCE)"
                    }
                }
            },
            "Balance": {
                "type": "object",
                "properties": {
                    "environment": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string",
                        "enum": [
                            "NGN"
                        ]
                    },
                    "balance": {
                        "type": "string",
                        "pattern": "^-?\\d+\\.\\d{2}$"
                    }
                }
            },
            "Account": {
                "type": "object",
                "properties": {
                    "environment": {
                        "type": "string"
                    },
                    "kyc_tier": {
                        "type": "integer"
                    },
                    "application_status": {
                        "type": "string",
                        "nullable": true
                    },
                    "key": {
                        "type": "object"
                    }
                }
            },
            "Services": {
                "type": "object",
                "properties": {
                    "services": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "service": {
                                    "type": "string"
                                },
                                "available": {
                                    "type": "boolean"
                                },
                                "reason": {
                                    "type": "string",
                                    "nullable": true
                                }
                            }
                        }
                    }
                }
            },
            "Catalog": {
                "type": "object",
                "properties": {
                    "service": {
                        "type": "string"
                    },
                    "items": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    }
                }
            },
            "CreateOrder": {
                "type": "object",
                "required": [
                    "client_reference"
                ],
                "additionalProperties": false,
                "description": "One JSON object. Every field has the type shown; a field not listed here is refused with 422 VALIDATION_FAILED. Which fields apply depends on the service.",
                "properties": {
                    "client_reference": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 80,
                        "pattern": "^[A-Za-z0-9._:\\-]{1,80}$"
                    },
                    "service": {
                        "description": "smm: DDBoost service id (integer). numbers: service code (text, max 40). vtu: electricity / cable / education provider (text, max 60)",
                        "oneOf": [
                            {
                                "type": "integer",
                                "minimum": 1
                            },
                            {
                                "type": "string",
                                "maxLength": 60
                            }
                        ]
                    },
                    "link": {
                        "type": "string",
                        "maxLength": 2000
                    },
                    "quantity": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "runs": {
                        "type": "integer",
                        "minimum": 0,
                        "description": "smm drip-feed"
                    },
                    "interval": {
                        "type": "integer",
                        "minimum": 0,
                        "description": "smm drip-feed"
                    },
                    "usernames": {
                        "description": "smm: text, or a list of text lines",
                        "maxLength": 20000
                    },
                    "username": {
                        "type": "string",
                        "maxLength": 200
                    },
                    "hashtags": {
                        "type": "string",
                        "maxLength": 2000
                    },
                    "hashtag": {
                        "type": "string",
                        "maxLength": 200
                    },
                    "media": {
                        "type": "string",
                        "maxLength": 2000
                    },
                    "groups": {
                        "type": "string",
                        "maxLength": 2000
                    },
                    "keywords": {
                        "type": "string",
                        "maxLength": 2000
                    },
                    "answer_number": {
                        "description": "smm (integer or short text)"
                    },
                    "min": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "max": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "delay": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "expiry": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "newposts": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "oldposts": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "phone": {
                        "type": "string",
                        "maxLength": 20,
                        "description": "vtu"
                    },
                    "customer_phone": {
                        "type": "string",
                        "maxLength": 20,
                        "description": "vtu"
                    },
                    "network": {
                        "type": "string",
                        "maxLength": 20,
                        "description": "vtu"
                    },
                    "amount": {
                        "type": "number",
                        "minimum": 0,
                        "description": "vtu, giftcards (a JSON number)"
                    },
                    "country": {
                        "description": "numbers: country id (integer) or legacy country name (text)"
                    },
                    "operator": {
                        "type": "string",
                        "maxLength": 40,
                        "description": "numbers (legacy)"
                    },
                    "site": {
                        "type": "string",
                        "maxLength": 253,
                        "description": "emails (activations)"
                    },
                    "domain": {
                        "type": "string",
                        "maxLength": 253,
                        "description": "emails (activations)"
                    },
                    "email": {
                        "type": "string",
                        "maxLength": 254,
                        "description": "vpn: your customer's email"
                    },
                    "months": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "telegram"
                    },
                    "winners": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "telegram giveaways"
                    },
                    "stars": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "telegram stars giveaway"
                    },
                    "amount_gram": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "telegram sponsor funds"
                    },
                    "show_sender": {
                        "description": "telegram: true / false"
                    },
                    "product": {
                        "description": "telegram: product key; emails: product id"
                    },
                    "target": {
                        "type": "string",
                        "maxLength": 100,
                        "description": "telegram: username"
                    },
                    "platform": {
                        "type": "string",
                        "enum": [
                            "instagram",
                            "tiktok",
                            "x",
                            "facebook",
                            "youtube"
                        ],
                        "description": "engagement"
                    },
                    "task_type": {
                        "type": "string",
                        "enum": [
                            "view",
                            "like",
                            "comment",
                            "share",
                            "follow",
                            "save"
                        ],
                        "description": "engagement"
                    },
                    "post_url": {
                        "type": "string",
                        "maxLength": 500,
                        "description": "engagement: link to the post or profile"
                    },
                    "comments": {
                        "description": "smm custom comments / engagement comment orders: text with one comment per line, or a list of text lines (at most 20000 characters in all)"
                    },
                    "verified_percent": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "description": "engagement: share of the quantity that must come from verified accounts"
                    },
                    "scheduled_start_at": {
                        "type": "string",
                        "format": "date-time",
                        "description": "engagement: start later"
                    },
                    "advertiser_identity_username": {
                        "type": "string",
                        "maxLength": 150
                    },
                    "advertiser_identity_display_name": {
                        "type": "string",
                        "maxLength": 150
                    },
                    "type": {
                        "type": "string",
                        "description": "vtu: airtime | data | electricity | cable | education. numbers: activation (default) | rental"
                    },
                    "provider": {
                        "type": "string",
                        "enum": [
                            "standard",
                            "legacy"
                        ],
                        "description": "numbers: catalogue (default standard)"
                    },
                    "duration_hours": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "numbers rental length in hours, from the catalogue"
                    },
                    "meter_number": {
                        "type": "string",
                        "description": "vtu electricity"
                    },
                    "meter_type": {
                        "type": "string",
                        "enum": [
                            "prepaid",
                            "postpaid"
                        ]
                    },
                    "smartcard_number": {
                        "type": "string",
                        "description": "vtu cable"
                    },
                    "subscription_type": {
                        "type": "string",
                        "enum": [
                            "change",
                            "renew"
                        ]
                    },
                    "plan": {
                        "type": "string",
                        "description": "vtu data / cable / education product code from the catalogue"
                    },
                    "profile_id": {
                        "type": "string",
                        "description": "vtu education: JAMB profile code"
                    }
                }
            },
            "Order": {
                "type": "object",
                "required": [
                    "id",
                    "service",
                    "status",
                    "amount",
                    "currency"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "service": {
                        "type": "string"
                    },
                    "client_reference": {
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "processing",
                            "completed",
                            "partial",
                            "failed"
                        ]
                    },
                    "amount": {
                        "type": "string",
                        "pattern": "^\\d+\\.\\d{2}$"
                    },
                    "currency": {
                        "type": "string",
                        "enum": [
                            "NGN"
                        ]
                    },
                    "refunded_amount": {
                        "type": "string",
                        "pattern": "^\\d+\\.\\d{2}$"
                    },
                    "balance_before": {
                        "type": "string",
                        "nullable": true,
                        "pattern": "^-?\\d+\\.\\d{2}$",
                        "description": "Your wallet before this order was charged (null in the sandbox)."
                    },
                    "balance_after": {
                        "type": "string",
                        "nullable": true,
                        "pattern": "^-?\\d+\\.\\d{2}$",
                        "description": "Your wallet after the charge."
                    },
                    "refund_balance_before": {
                        "type": "string",
                        "nullable": true,
                        "pattern": "^-?\\d+\\.\\d{2}$",
                        "description": "Wallet before the refund; null when nothing was refunded."
                    },
                    "refund_balance_after": {
                        "type": "string",
                        "nullable": true,
                        "pattern": "^-?\\d+\\.\\d{2}$",
                        "description": "Wallet after the refund."
                    },
                    "description": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "details": {
                        "type": "object"
                    }
                }
            },
            "Quote": {
                "type": "object",
                "properties": {
                    "service": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "amount": {
                        "type": "string",
                        "pattern": "^\\d+\\.\\d{2}$"
                    },
                    "normal_amount": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string",
                        "enum": [
                            "NGN"
                        ]
                    }
                }
            },
            "OrderList": {
                "type": "object",
                "properties": {
                    "orders": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Order"
                        }
                    },
                    "next_before": {
                        "type": "string",
                        "nullable": true,
                        "description": "Opaque cursor for the next page; null when there are no more orders."
                    }
                }
            }
        }
    }
}