# 查询回调密钥 (/zh/docs/conta-digital/endpoints/webhooks/get_callback_secret)

## GET /transactions/callback-secret

`GET https://api.hub.payzu.com.br/api/v1/transactions/callback-secret`

Scope: `WEBHOOK_READ`. Tells whether the account already has a callback secret. The value is not returned.

### Responses

**200** Secret status.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `hasCallbackSecret` | boolean | yes | Whether the account already has a callback secret. |

**401** Missing, invalid or expired credential.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `message` | string | yes | Description in Portuguese, ready to display. It may change at any time. |
| `code` | string | yes | Stable error code. Your system decides what to do based on it. |
| `details` | object | no | Structured error context, when available. |

**403** Not allowed: scope, IP or disabled operation.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `message` | string | yes | Description in Portuguese, ready to display. It may change at any time. |
| `code` | string | yes | Stable error code. Your system decides what to do based on it. |
| `details` | object | no | Structured error context, when available. |