Cancelling a Sale
Asset owners can cancel the listing of items they had previously put up for sale by signing the required cancellation request with their private key.
When a cancellation mutation is triggered, the buyNow will be cancelled immediately only in the case that there are no payments in progress.
If there were payments being processed, the buyNow will transition to
PENDING_CANCEL
state. If an on-going payment is completed successfully, the asset will move to ASSET_TRANSFERRING
, and eventually be transferred, as usual. On the other hand, as soon as all on-going payments expire, the buyNow will be cancelled.The
CancelBuyNow
mutation has the form described below:GraphQL
mutation {
cancelBuyNow(
input: {
signature,
buyNowId,
}
)
}
where:
signature
is the current asset owner (i.e. the seller) signature.buyNowId
is the identifier of the buyNow to cancel.
Last modified 1mo ago