Skip to main content
POST
/
merchant
/
verify-domain
{
  "success": false,
  "error": {
    "status": 400,
    "code": "VALIDATION_INVALID",
    "message": "Invalid verification method"
  },
  "data": null
}
Verify domain ownership for the merchant.
merchantId
string
required
Merchant UUID
method
string
required
Verification method (dns, file, meta)
success
boolean
Indicates if the request was successful
data
object
Verification instructions

Example Request

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

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

Error Responses

{
  "success": false,
  "error": {
    "status": 400,
    "code": "VALIDATION_INVALID",
    "message": "Invalid verification method"
  },
  "data": null
}