You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LUD-03 should provide an explicit recommendation for what to do if a requester has no amount they could withdraw. Right now someone could choose to implement this as:
minWithdrawable and maxWithdrawable as 0
Return an {"status": "ERROR"} error
While either approach should probably be handled from clients, it would be nice to have an expectation around this and reduce ambiguity.
As an aside, it might also be wise to specify that the *Withdrawable amounts should never be negative, unless there's a case for that that I'm not thinking of.
The text was updated successfully, but these errors were encountered:
wbobeirne
changed the title
Provide recommendation for zero balance withdrawal response
LUD-03: Provide recommendation for zero balance withdrawal response
Aug 21, 2023
LUD-03 should provide an explicit recommendation for what to do if a requester has no amount they could withdraw. Right now someone could choose to implement this as:
minWithdrawable
andmaxWithdrawable
as0
{"status": "ERROR"}
errorWhile either approach should probably be handled from clients, it would be nice to have an expectation around this and reduce ambiguity.
As an aside, it might also be wise to specify that the
*Withdrawable
amounts should never be negative, unless there's a case for that that I'm not thinking of.The text was updated successfully, but these errors were encountered: