Skip to content

GO-SDK INSUFFICIENT_FUND - Balance details #1646

Description

@mimol91

When making transfer I can see that SDK returns
V2ResponseError with fields
Details: nil
ErrorCode: INSUFFICIENT_FUND
ErrorMessage:Not enough funds. Needed [GBP/2 100] (only [GBP/2 90] available)`

The numscript uses overdraft up to limit,

The only way to know the available balance is to parse this string.
Do you consider in future returning error type that has those details? Or is there a other way to find out available balance?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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