https://docs.near-intents.org/near-intents/market-makers/verifier/deposits-and-withdrawals/withdrawals#refunds-on-failed-withdrawals-warning
there seems to be some incoherency in the docs around withdrawals, first it is stated that:
- If msg is specified, the contract will use ft_transfer to process the withdrawal
- If msg is not specified, or "msg": null in json, the withdrawal will be done using an ft_transfer_call function call
a couple of paragraphs later this line comes in:
However, this is not always the case. Due to complexities related to the asynchronous and sharded nature of the NEAR blockchain, refunds will only be processed when msg is unspecified or has a value null, i.e., when ft_transfer is used for processing the withdrawal.
normally ft_transfer_call requires a msg.