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

# Verify Domain

> Verify domain ownership

Verify domain ownership for the merchant.

<ParamField path="merchantId" type="string" required>
  Merchant UUID
</ParamField>

<ParamField path="method" type="string" required>
  Verification method (dns, file, meta)
</ParamField>

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  Verification instructions
</ResponseField>

## Example Request

```bash theme={null}
curl -X POST https://api.transaction.gg/merchant/verify-domain \
  -H "Authorization: Bearer jwt_token" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantId": "merchant_uuid",
    "method": "dns"
  }'
```

## Example Response

```json theme={null}
{
  "success": true,
  "data": {
    "verification": {
      "method": "dns",
      "instructions": "Add TXT record: transaction-verification=abc123",
      "token": "abc123"
    }
  }
}
```

## Error Responses

<ResponseExample name="Invalid Method">
  ```json theme={null}
  {
    "success": false,
    "error": {
      "status": 400,
      "code": "VALIDATION_INVALID",
      "message": "Invalid verification method"
    },
    "data": null
  }
  ```
</ResponseExample>
