Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 850 Bytes

Accepts offer sent by another user

HTTP Request

POST https://api-trade.opskins.com/ITrade/AcceptOffer/v1/

Authentication

API key required.

OAuth Scopes

  • trades
  • open_cases (restricted to only case-opening offers)

Input

Parameter Type Required Description
twofactor_code int + 2-factor authentication code
offer_id int + Trade offer Id you want to accept

Output

Parameter Type Description
offer object Standard Trade Offer Object
new_items array-object New items for the recipient (the user that makes this API call). Standard Item Object
failed_cases int A count of failed case openings, 0 if none failed.