prufa_register_discovery_domain
Register a domain to enable full-auto discovery, then publish the provided DNS TXT record to verify ownership. Optionally opt into test payment flows.
Instructions
[Pro] Register a domain for full-auto discovery and get the DNS TXT record to publish. For an unverified domain the response carries a 'verification' object {method, record_name, record_type:'TXT', record_value, hint} — publish that TXT record at your DNS provider, then call prufa_verify_discovery_domain. Set test_payments_opt_in to allow discovery to exercise test-mode payment flows. This DNS-ownership authorization is separate from gremlin mutation opt-in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Apex or subdomain to authorize, e.g. 'app.example.com'. | |
| idempotency_key | No | Optional. Replays of the same key within 24h return the original response without re-executing — pass one to make retries safe. Omitted: a fresh key is generated, so each call executes. | |
| test_payments_opt_in | No | Allow discovery to exercise test-mode payment flows. |