> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Documentação das APIs da DeliveryVip, em português. Regras que mais quebram integrações: (1) Merchant API: faça polling em GET /merchant/v3/events:polling no máximo a cada 30 s por token; confirme todo evento recebido com POST /merchant/v3/events/acknowledgment e corpo [{"id": "<eventId>"}] (o campo lido é id, não eventId), inclusive eventos repetidos ou que o sistema não trata; deduplique por eventId; o evento é só um aviso, busque o pedido na orderURL. (2) Tokens client_credentials valem 24 h e não têm refresh_token: peça outro ao receber 401. (3) Webhooks: valide a assinatura HMAC sobre o corpo bruto e responda 2xx rápido; o polling é a reconciliação. (4) Open Delivery: host od.deliveryvip.com.br, um client_secret por loja, datas em UTC. (5) Fidelidade: o operador implementa 5 rotas assinadas com HMAC e chama o config push; o estorno precisa ser idempotente. (6) Partner API: scope dv.partner. Não invente endpoints: use a referência gerada das specs OpenAPI.

# Obter detalhes do plano

> Consulte um plano de cobrança pelo ID.

`GET /partner/v2/{partnerId}/plans/{planId}` devolve um plano. Valem as mesmas regras de visibilidade de [Listar planos](/docs/guides/partner/plans/utilizando-a-api/listar-planos.md): com o ID de uma revenda, um plano `DIRECT_MERCHANT` retorna `404`.

| Status | Quando |
| - | - |
| `200 OK` | O plano. |
| `403 Forbidden` | `partnerId` fora do alcance do token. |
| `404 Not Found` | Plano inexistente ou não visível para esse `partnerId`. |

```bash cURL theme={null}
curl 'https://api.deliveryvip.com.br/partner/v2/{partnerId}/plans/{planId}' \
  --header 'Authorization: Bearer {token}'
```

```js Node.js theme={null}
const response = await fetch(`https://api.deliveryvip.com.br/partner/v2/${partnerId}/plans/${planId}`, {
  headers: { Authorization: `Bearer ${token}` },
})
const plan = await response.json()
```

```python Python theme={null}
response = requests.get(
    f"https://api.deliveryvip.com.br/partner/v2/{partner_id}/plans/{plan_id}",
    headers={"Authorization": f"Bearer {token}"},
)
plan = response.json()
```

```json Resposta (200) theme={null}
{
  "id": "aa67c98c-d81f-5a9c-b0bc-26caa0051aea",
  "name": "Plano Base",
  "standard": true,
  "code": "HSAROW",
  "status": "AVAILABLE",
  "visibility": "PUBLIC",
  "features": [
    { "featureType": "DELIVERY_TAKEOUT", "inclusionType": "INCLUDED" },
    { "featureType": "MULTI_STORE", "inclusionType": "INCLUDED" },
    { "featureType": "DOMAIN_CUSTOM", "inclusionType": "ADDITIONAL" }
  ]
}
```

Os campos estão em [Definições de planos](/docs/guides/partner/plans/definicoes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.