The buyer of immovables may cancel the sale by refunding the price (or any amount specified by agreement if otherwise agreed upon; the same applies in Article 583, paragraph (1)) and costs of the contract paid by the buyer in accordance with a special agreement on redemption executed simultaneously with the contract for sale. In such a case, unless a particular intention is manifested by the parties, it is deemed that the fruit of the immovables and the interest on the price have been set off against each other.
不動産の売主は、売買契約と同時にした買戻しの特約により、買主が支払った代金(別段の合意をした場合にあっては、その合意により定めた金額。第五百八十三条第一項において同じ。)及び契約の費用を返還して、売買の解除をすることができる。この場合において、当事者が別段の意思を表示しなかったときは、不動産の果実と代金の利息とは相殺したものとみなす。
Read this with the articles around it
cancellation
解除
Ending a contract by one party's notice to the other, where the contract or the law gives that party a right to cancel (Civil Code, Article 540, paragraph (1)). The Civil Code lets a party cancel for the other's failure to perform: after a demand to perform within a reasonable time that is not met, unless what is still missing is minor (Article 541), or at once where performance has become wholly impossible, or the other party has clearly refused to perform, among other cases where performance clearly will not come (Article 542, paragraph (1)). On cancellation each party must put the other back in the position before the contract, and damages can still be claimed (Article 545, paragraphs (1) and (4)); a lease, though, ends only from then on (Article 620). Cancellation differs from rescission (取消し), after which the act is treated as void from the start (Article 121).
Written for this site using Civil Code, Arts. 121, 540, 541, 542, 545, 620 as a reference.