public-api

Buy a new service, paid from the key's wallet. Needs Idempotency-Key.

post/api/v1/accounts

Request

  • Base URL
    https://api.rahanetwork.cloud (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rahanetwork.cloud/api/v1/accounts
  • Auth
    none declared

Request body

product_idinteger nullable

required, except for API agents

gbinteger nullable

API agents: GB of traffic; 0 is an unlimited account

ipinteger nullable

API agents: simultaneous IPs (an unlimited account's billed size; a volume account's device limit, up to the seller's cap)

daysinteger nullable

API agents: the service's length

testboolean nullable

API agents: a test account (volume, on the test squads)

squadsstring[] nullable

API agents: squad ids from GET /squads (omit for the regular ones)

usernamestring nullable

omit for a generated one

discount_codestring nullable
notifyboolean

false: the bot sends no receipt to Telegram

Response

Successful Response

unknown required

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the / request property's min was decreased from 1.00 to 0.00

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json