Developer
POST /merchant-domains/{id}/verify

Verify a merchant domain

Merchants

Description

Check the DNS TXT records for a merchant domain and mark it as verified when the expected token is present.

Authentication Required: User must be authenticated and have the 'merchant' feature flag.

Parameters

id integer path required
Merchant domain ID

Responses

200 Merchant domain verified successfully
application/json
statusstring
Example: success
messagestring
Example: Merchant domain verified successfully
dataobject
401 Authentication required
application/json
403 Insufficient permissions - user must be merchant
application/json
404 Merchant domain not found
application/json
422 TXT record not found yet
application/json
statusstring
Example: error
messagestring
Example: TXT record not found
dataobject