chatformdocs
API referenceV1

Check the custom domain now

Reads Cloudflare immediately instead of waiting for the next automatic check. Once `status` is `active`, register the domain in the merchant's Razorpay or Cashfree dashboard (Stripe needs nothing): https://chatform.in/docs/payments#register-your-domain-with-the-gateway

POST
/v1/domains/check

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/domains/check"
{  "domain": {    "hostname": "string",    "status": "pending",    "error": "string",    "hint": "string",    "records": [      {        "type": "CNAME",        "name": "string",        "value": "string"      }    ],    "checkedAt": 0,    "createdAt": 0,    "dnsProvider": {      "id": "string",      "name": "string",      "dnsUrl": "string"    },    "autoConfigureUrl": "string",    "autoConfigureSize": {      "width": 0,      "height": 0    }  }}