Domains
Purchase a domain
Changed onPurchase a domain. Price will be deducted from user's balance (includes commission).
post/api/v1/domains
Request
- Base URLhttps://api.pwapps.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLhttps://api.pwapps.com/api/v1/user/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"domain": "example.com"
}Response
Successful Response
Example response
{
"chargedBalance": "real",
"domain": "example.com",
"expirationDate": "2027-02-05T00:00:00Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"pricePaid": 12.49,
"status": "registered"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
the
response's property pattern^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$was added for the status
- info