nex_mail_buy
Purchase a receiving mailbox for a chosen duration, with TEMPORARY or MAINSTREAM options, by charging the account balance at the current server price.
Instructions
Buy a receiving mailbox. MAINSTREAM needs a supported suffix and has no login password; TEMPORARY may take a domainId. No custom prefix, renewal or refund. Charges the balance at the current server price; call it directly when the user's task needs it (a price inquiry is not a purchase request). If the outcome is unclear, reconcile records and billing before any retry. At most 3 attempts per resource flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| suffix | No | Required for MAINSTREAM; forbidden for TEMPORARY. | |
| domainId | No | TEMPORARY only; omit for automatic domain assignment. | |
| durationHours | Yes |