Skip to content

LUD-03: Provide recommendation for zero balance withdrawal response #232

@wbobeirne

Description

@wbobeirne

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:

  1. minWithdrawable and maxWithdrawable as 0
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions