POST /ai-insight/generate-mailbox-analysis instead.ACTIVE, not disabled, and on an ACTIVE domain in the workspace. When none match, the call fails with 400.quantity is the number of matched mailboxes. An unpaid cart order is created for them.checkoutUrl is the link to pay the remainder. walletUsed is always true.POST /ai-insight/calculate-pricing, POST /ai-insight/purchase-plan.curl --location 'https://api.zapmail.ai/api/v3/ai-insight/purchase-mailboxes' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '{
"mailboxIds": [
"3f6c1a52-8d4e-4b7a-9c21-5e0d7a1b2c33",
"7a9d2e41-1b3c-4f58-a6d0-2c8e4b9f1a07"
]
}'{
"status": 200,
"message": "Payment link",
"data": {
"checkoutUrl": "https://invoice.stripe.com/i/acct_1Nxyz/live_abc123",
"checkoutSession": false,
"walletUsed": true
}
}