-
Notifications
You must be signed in to change notification settings - Fork 30
Trade Offer Methods
v4.1.0 or later is required to use this Trade Offer Methods.
In order to use these methods you need authorization cookies. To get cookies use Protobuf Steam Auth package.
- Accept Trade Offer
- Cancel Trade Offer
- Countered Offer
- Create Trade Offer
- Decline Trade Offer
- Incoming Offers
- Sent Offers
- Trade Link
- Trade Offer
- Trade Receipt
Arguments: tradeOfferId
, options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
partner_id |
null |
string/int | Yes | SteamID64 of partner |
Arguments: tradeOfferId
Options are not needed
Arguments: tradeOfferId
, options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
partner_id |
null |
string/int | Yes | SteamID64 of partner |
message |
"" |
string | No | Trade Offer message |
my_items |
[] |
array | Yes | Offered items |
partner_items |
[] |
array | Yes | Received items from partner |
Keys my_items
and partner_items
must contains following array(-s) with keys:
app_id
context_id
amount
asset_id
Arguments: tradeLink
, options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
partner_id |
null |
string/int | Yes | SteamID64 of partner |
message |
"" |
string | No | Trade Offer message |
my_items |
[] |
array | Yes | Offered items |
partner_items |
[] |
array | Yes | Received items from partner |
Keys my_items
and partner_items
must contains following array(-s) with keys:
app_id
context_id
amount
asset_id
Arguments: tradeOfferId
Options are not needed
Example of Decline Trade Offer
Arguments: options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
history |
false |
bool | No | Allows to show old/completed offers |
Arguments: options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
history |
false |
bool | No | Allows us to show old/completed offers |
Options are not needed
Arguments: tradeOfferId
Options are not needed
Arguments: tradeOfferId
, options
List of options:
Name | Default value | Type | Required | Description |
---|---|---|---|---|
language |
english |
string | No | Return data in your language |
Powered by Steam and CSGOFloat API. Is not affiliated with or endorsed by Valve Corporation.