Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.01 KB

AcceptOffer.md

File metadata and controls

29 lines (19 loc) · 1.01 KB

Accepts offer sent by another user

HTTP Request

POST https://api-trade.wax.io/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 -- This is required if you're using OAuth and do not have TRADES_NO_2FA scope, or if you're authenticated on the front-end via cookies. Not required when using an API Key to authenticate.
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.