---
agentTools:
  projectIndex: https://docs.mundipagg.com/llms.txt
---

# Ativar faturamento manual

Configuração da assinatura que indica se o faturamento será feito de forma `manual` ou `automática`.
`Caso esteja ativa`, as faturas não serão geradas automaticamente pelo nosso sistema, ficando a cargo do lojista realizar o faturamento pelo endpoint [Criar Fatura](https://docs.mundipagg.com/reference#criar-fatura).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Mundipagg API",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.mundipagg.com/core/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/subscriptions/{subscription_id}/manual-billing": {
      "post": {
        "summary": "Ativar faturamento manual",
        "description": "Configuração da assinatura que indica se o faturamento será feito de forma `manual` ou `automática`.\n`Caso esteja ativa`, as faturas não serão geradas automaticamente pelo nosso sistema, ficando a cargo do lojista realizar o faturamento pelo endpoint [Criar Fatura](https://docs.mundipagg.com/reference#criar-fatura).",
        "operationId": "ativar-faturamento-manual",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": \"sub_kpWeWOBcOcpqe8jg\",\n    \"code\": \"PX7ECLF6Y3\",\n    \"start_at\": \"2019-05-07T00:00:00Z\",\n    \"interval\": \"month\",\n    \"interval_count\": 1,\n    \"billing_type\": \"postpaid\",\n    \"next_billing_at\": \"2019-06-07T00:00:00Z\",\n    \"payment_method\": \"credit_card\",\n    \"currency\": \"BRL\",\n    \"installments\": 1,\n    \"status\": \"active\",\n    \"created_at\": \"2019-05-07T21:32:28Z\",\n    \"updated_at\": \"2019-05-07T21:33:22Z\",\n    \"manual_billing\": true\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "sub_kpWeWOBcOcpqe8jg"
                    },
                    "code": {
                      "type": "string",
                      "example": "PX7ECLF6Y3"
                    },
                    "start_at": {
                      "type": "string",
                      "example": "2019-05-07T00:00:00Z"
                    },
                    "interval": {
                      "type": "string",
                      "example": "month"
                    },
                    "interval_count": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "billing_type": {
                      "type": "string",
                      "example": "postpaid"
                    },
                    "next_billing_at": {
                      "type": "string",
                      "example": "2019-06-07T00:00:00Z"
                    },
                    "payment_method": {
                      "type": "string",
                      "example": "credit_card"
                    },
                    "currency": {
                      "type": "string",
                      "example": "BRL"
                    },
                    "installments": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "active"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2019-05-07T21:32:28Z"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2019-05-07T21:33:22Z"
                    },
                    "manual_billing": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "5aba89f6b169810058a71e9a:5cd1f6ca7028350422192665"
}
```