transfer

Decline a trade offer

Changed on

Declines the offer; nothing moves, and the offerer is notified. Fails with trade_in_progress once the accept is already committing, and with trade_not_found if the trade is gone.

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

post/api/v2/spacemolt_transfer/trade_decline

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