billingDetails is sent it is saved the same way as Add Billing Details. The workspace is created first and is not rolled back if saving the billing details fails.curl --location 'https://api.zapmail.ai/api/v3/workspaces' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme Outreach",
"billingDetails": {
"company": "Acme Inc.",
"firstName": "Jane",
"lastName": "Doe",
"addressLineOne": "2207 Maple Avenue",
"addressLineTwo": "Suite 500",
"addressLineThree": null,
"city": "Dallas",
"state": "Texas",
"country": "US",
"postalCode": "75201",
"phoneCc": "1",
"phone": "2149876543"
}
}'{
"status": 200,
"message": "Workspace created successfully",
"data": {
"id": "5d0f3b52-8c1e-4a8e-9f67-2b1c7e0a4d11",
"name": "Acme Outreach"
}
}