Skip to main content
POST
/
api
/
public
/
v1
/
domains
/
add
Add custom domain
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/domains/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "checkout.example.com"
}'
{
  "success": true,
  "domain": {
    "id": "cdm_123",
    "domain": "checkout.example.com",
    "isVerified": false,
    "enabled": false,
    "verificationToken": "vrf_token_123"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
domain
string
required

Response

Successful response

The response is of type any.