Quick trade
Last updated
Last updated
Creates a quick trade transaction based on the specified listings and offers, confirming that the quick trade can be executed. When the quick trade is created, the listings and offers are reserved for some time. The items are released when the quick trade is cancelled, executed, or expires.
/v1/quick-trade
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
An array of listing ids which are being purchased as part of the quick trade. This adds to a currency deficit in the quick trade.
An array of offers which are being accepted as part of the quick trade. This adds to a currency surplus in the quick trade.
Cancelling a quick trade releases the offers and listings involved so that other users on the marketplace can interact with them. If a user prematurely leaves the quick trade flow, the quick trade should be cancelled.
/v1/quick-trade/{id}/cancel
UUID of the quick trade to cancel
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
No body
The offers and listings in the quick trade will be accepted and purchases on behalf of the user. The user will be charged/credited according to whether the quick trade creates a currency deficit/surplus.
/v1/quick-trade/{id}/execute
UUID of the quick trade to execute
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with