POSThttps://seller-api.playerauctions.com/api/v1/offers/account
Create a new account offer.
Related flow: Account Offer Creation Flow
i. Request Example
When isAuto is false (Manual Delivery)
{
"gameId": 3637,
"serverId": 4144,
"categoryId": 4144,
"price": 99.99,
"selleraftersaleprotection": 30,
"offerDuration": 30,
"title": "Simple Title",
"offerDesc": "<p>Simple Description.</p>",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"agreeCheck": true,
"isAuto": false,
"manual": {
"loginName": "loginName",
"retypeLoginName": "loginName",
"choose1": true,
"choose2": true,
"choose3": true,
"choose4": true,
"choose5": true,
"deliveryGuarantee": 5
}
}
When isAuto is true (Auto Delivery)
{
"gameId": 3637,
"serverId": 4144,
"categoryId": 4144,
"price": 99.99,
"selleraftersaleprotection": 30,
"offerDuration": 30,
"title": "Simple Title",
"offerDesc": "<p>Simple Description.</p>",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"agreeCheck": true,
"isAuto": true,
"autoDelivery": {
"loginName": "loginName",
"retypeLoginName": "loginName",
"password": "123password",
"retypePassword": "123password",
"characterName": "CharacterName",
"firstCDKey": "example-key",
"isInfoSame": true,
"original": {
"firstName": "John",
"lastName": "Doe",
"phone": "0123456789",
"email": "test@example.com",
"city": "Shanghai",
"country": "China"
},
"current": {
"phone": "0123456789",
"email": "test@example.com",
"city": "Shanghai",
"country": "China"
},
"choose5": true,
"instruction": "Extra instruction.",
"securityQuestion": "SecurityQuestion",
"securityAnswer": "Answer",
"retypeSecurityAnswer": "Answer",
"parentalPassword": "password123"
}
}
ii. Request Parameters
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| gameId | int | Yes | Game ID. |
| serverId | int | Yes | Server ID {id}. You can get the server's tree-structured data from the api/v1/games/{id}/{type}/servers endpoint. |
| categoryId | int | Yes | Faction ID (The {id} of the leaf node). You can get the server's tree-structured data from the api/v1/games/{id}/{type}/servers endpoint. |
| price | decimal | Yes | Offer price. |
| sellerAfterSaleProtection | int | Yes | Seller after sale protection period in days.Available values: 0, 7, 14, 30. |
| offerDuration | int | Yes | Offer duration in days. Available values: 3, 7, 14, 30. |
| title | string | Yes | Offer title. |
| offerDesc | string | No | Offer description. |
| screenShot | string | No | Screenshot URL. |
| agreeCheck | boolean | Yes | Indicates whether you agree to the [Secure Seller Delivery Agreement]. Only 'true' is accepted. |
| isAuto | boolean | Yes | Whether auto delivery is enabled. |
| manual | object | No | Manual login information (required if isAuto is false). |
| └─ loginName | string | No* | (Required when isAuto is false) Login name for manual delivery. |
| └─ retypeLoginName | string | No* | (Required when isAuto is false) Retyped login name for confirmation. |
| └─ choose1 | boolean | No* | (Required when isAuto is false) Indicates whether you know the parental password. Only 'true' is accepted. |
| └─ choose2 | boolean | No* | (Required when isAuto is false) Indicates whether you know the game account telephone number provided during registration. Only 'true' is accepted. |
| └─ choose3 | boolean | No* | (Required when isAuto is false) Indicates whether you have access to the game account's registered email. Only 'true' is accepted. |
| └─ choose4 | boolean | No* | (Required when isAuto is false) Indicates whether you know the first name and last name of the registered game account owner. Only 'true' is accepted. |
| └─ choose5 | boolean | No* | (Required when isAuto is false) Indicates whether you know the Security Question Answer. Only 'true' is accepted. Fill 'true' if there is no Security Question. |
| └─ deliveryGuarantee | int | No* | (Required when isAuto is false) Delivery guarantee time. You can get the list of available options from the api/v1/games/{id}/{type}/deliveryTimes endpoint. |
| autoDelivery | object | No | Auto delivery login information (required if isAuto is true). |
| └─ loginName | string | No* | (Required when isAuto is true) Login name for auto delivery. |
| └─ retypeLoginName | string | No* | (Required when isAuto is true) Retyped login name for confirmation. |
| └─ password | string | No* | (Required when isAuto is true) Account password. |
| └─ retypePassword | string | No* | (Required when isAuto is true) Retyped password for confirmation. |
| └─ characterName | string | No | Character name in the game. |
| └─ firstCDKey | string | No* | (Required when isAuto is true) Registration CD Key. Refer to Game List endpoint. isCDKeyRequired indicates if you need to input this field. |
| └─ isInfoSame | boolean | No* | (Required when isAuto is true) Whether original and current info are the same. |
| └─ original.firstName | string | No* | (Required when isAuto is true) Original account holder's first name. |
| └─ original.lastName | string | No* | (Required when isAuto is true) Original account holder's last name. |
| └─ original.phone | string | No* | (Required when isAuto is true) Original phone number. |
| └─ original.email | string | No* | (Required when isAuto is true) Original email address. |
| └─ original.city | string | No* | (Required when isAuto is true) Original city. |
| └─ original.country | string | No* | (Required when isAuto is true) Original country. |
| └─ current.phone | string | No* | (Required when isAuto is true) Current phone number. |
| └─ current.email | string | No* | (Required when isAuto is true) Current email address. |
| └─ current.city | string | No* | (Required when isAuto is true) Current city. |
| └─ current.country | string | No* | (Required when isAuto is true) Current country. |
| └─ choose5 | boolean | No* | (Required when isAuto is true) Indicates whether you know the Security Question Answer. Only 'true' is accepted. Fill 'true' if there is no Security Question. |
| └─ instruction | string | No | Extra delivery instructions. |
| └─ securityQuestion | string | No* | (Required when isAuto is true) Security question for account recovery. |
| └─ securityAnswer | string | No* | (Required when isAuto is true) Answer to security question. |
| └─ retypeSecurityAnswer | string | No* | (Required when isAuto is true) Retyped security answer for confirmation. |
| └─ parentalPassword | string | No* | (Required when isAuto is true) Parental control password. |
iii. Response Example
Success Response (JSON)
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"offerId": 71394136,
"navigateURL": "https://www.playerauctions.com/lol-account/71394136a!simple-title/",
"title": "Simple Title",
"productType": "account",
"gameName": "League of Legends",
"productName": "Accounts",
"screenShot": "",
"imageBlacklist": ""
}
}Error Response
{
"code": 10002,
"message": "Invalid parameter.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}iv. Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Response code. 10000 indicates success; other values indicate an error. |
| message | string | Response message. Contains error details on failure. |
| requestId | string | Unique identifier for the request, used for tracking. |
| data.offerId | int | Created offer ID. |
| data.navigateURL | string | URL to navigate to the offer page. |
| data.title | string | Offer title. |
| data.productType | string | Product type. |
| data.gameName | string | Game name. |
| data.productName | string | Product name. |
| data.screenShot | string | Image URL for the offer. |
| data.imageBlacklist | string | Blacklisted offer image identifier. Empty indicates that it is not on the blacklist. |