Create a trade offer V2
POST/v2/offers
This endpoint is responsible for initiating a buy/sell trade offer on behalf of the user.
The request triggers the creation of a trade offer that can later be accepted by the user within its validity (as defined in offer_validity & expires_at response parameters).
The offer includes details such as the asset to be traded, the fiat currency and the amount either in fiat currency or in units of the asset being traded.
By accommodating both fiat and asset unit denominations, the user experience is enhanced, catering to a wide range of trading preferences and strategies.
The trade offer response outlines the details of the proposed trade, including: asset, amount, price, fees, preliminary tax calculations if applicable, and any warning messages relevant to the user.
Request
Responses
- 201
- 401
- 403
- 404
- 409
- 422
- 429
- 500
- 503
New offer has been created
Unauthorized
Forbidden
Error
Insufficient funds
Error
Too Many Requests
Response Headers
The rate limit ceiling for the current time window. Envoy may include multiple limits and window metadata.
50, 50;w=1The number of requests remaining in the current rate limit window.
0The number of seconds until the current rate limit window resets.
1Indicates the request was rate limited by the Envoy proxy.
trueError
Maintenance or Service unavailable