# buy traffic

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/static_direct_proxy/buy_traffic:
    post:
      summary: buy traffic
      deprecated: false
      description: ''
      tags:
        - Static proxy/static direct proxy
        - static direct proxy
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{AUTH_TOKEN}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount_gb:
                  description: extra traffic amount GB to buy
                  type: integer
                id:
                  description: record id
                  type: integer
                is_datacenter:
                  description: true for datacenter, false for residential
                  type: boolean
              x-apifox-refs: {}
              x-apifox-orders:
                - amount_gb
                - id
                - is_datacenter
              required:
                - amount_gb
                - id
                - is_datacenter
            example:
              amount_gb: 100
              id: 1
              is_datacenter: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta_message:
                    type: string
                    description: success or other error msg
                  meta_status:
                    type: integer
                    description: 1 success, negative for error
                x-apifox-refs: {}
                x-apifox-orders:
                  - meta_message
                  - meta_status
                required:
                  - meta_status
                  - meta_message
          headers: {}
          x-apifox-name: result
      security: []
      x-apifox-folder: Static proxy/static direct proxy
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2880121/apis/api-88999365-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
