---
updatedAt: 2026-04-06T17:51:32.000Z
agentTools:
  projectIndex: https://docs.pagar.me/llms.txt
---

# Ativar link de pagamento em construção

> 📘 Importante!
>
> Essa documentação se refere a URL e autenticação de uma conta em Produção, caso queira realizar testes em uma conta de Test, você deve utilizar as seguintes informações:
>
> **REQUEST URL:** <https://sdx-api.pagar.me/core/v5/paymentlinks/{payment_link_id}/activate>
>
> **AUTENTICATION:** sk\_test
>
> **O body continuará o mesmo!**

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "pagarme-api",
    "version": "5"
  },
  "servers": [
    {
      "url": "https://api.pagar.me/core/v5"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/paymentlinks/{payment_link_id}/activate": {
      "patch": {
        "summary": "Ativar link de pagamento em construção",
        "description": "",
        "operationId": "ativar-link-de-pagamento-em-construção",
        "parameters": [
          {
            "name": "payment_link_id",
            "in": "path",
            "description": "ID do link de pagamento. Exemplo: pl_gD2G97aVBqvREz3Hr4u1deLW40JlnmQ8",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```