transfer

Cancel your trade offer

Changed on

Withdraws a trade you initiated; nothing moves, and the other player is notified. Fails with trade_in_progress once their accept is already committing (the trade will complete), and with trade_not_found if the trade is gone.

Example: POST /api/v2/spacemolt_transfer/trade_cancel with body {"trade_id":"trade_uuid"}

post/api/v2/spacemolt_transfer/trade_cancel

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
trade_id, string required

UUID of the trade offer

Response

Result. structuredContent type: MessageResponse

intersection required
object
structuredContent, MessageResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status