Merchant Setup

Request domain verification token

Generates a verification token for proving domain ownership. The token can be placed via DNS TXT record, HTML meta tag, or a verification file. Each POST regenerates the token, invalidating any previous one. Only the API key that created the merchant can call this.

post/v1/merchants/{id}/domain-verification

Request

  • Base URL: https://api.insumermodel.com
  • URL: https://api.insumermodel.com/v1/merchants/{id}/domain-verification
  • Auth: API key in header X-API-Key

Path parameters

idstring required

Merchant ID

Request body

domainstring required

Domain to verify (e.g. example.com). No protocol prefix.

Response

Verification token generated

oktrue

Example response

{
  "data": {
    "methods": {
      "dns": {
        "type": "TXT"
      }
    }
  },
  "meta": {
    "version": "1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.