Purchase

Purchase domain slots

Buys domain slots for the authenticated client.

Send domain_slots and/or mailbox_slots (3 mailboxes per domain slot). Preview first with POST /api/v1/billing/domain-slots/preview.

Existing subscription (flow=update): charges the saved card immediately. Slot counts on GET /api/v1/me update after payment is confirmed.

No subscription (flow=create): returns checkout_url at https://app.aerosend.io/payment?ptxn=... Open that URL to pay. Slots appear after payment.

post/api/v1/billing/domain-slots

Request

  • Base URL: https://api.aerosend.io
  • URL: https://api.aerosend.io/api/v1/billing/domain-slots
  • Auth: API key in header X-API-Key

Request body

domain_slotsinteger

Domain slots to add. Min 10, step 10, max 100.

mailbox_slotsinteger

Mailbox slots to add. Must be domain_slots × 3 (30, 60, ... 300).

Example request

{
  "domain_slots": 10,
  "mailbox_slots": 30
}

Response

Charged (flow=update) or checkout created (flow=create)

successboolean

Success flag

timestampstring

Response timestamp

Example response

{
  "success": true,
  "data": {
    "flow": "update",
    "domain_slots": 10,
    "mailbox_slots": 30,
    "unit_price": 4,
    "currency_code": "USD"
  },
  "timestamp": "2025-12-14T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.