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"
}
}Add a new custom domain to the account
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"
}
}