Skip to content

WalletsAPI.CustomersIdWalletsGet(context, id).Execute() function returning error #1

@SojebSikder

Description

@SojebSikder

Problem Summery

WalletsAPI.CustomersIdWalletsGet(context, id).Execute() function returning error:

json: cannot unmarshal string into Go struct field DtoWalletResponse.balance of type float32

Root Cause

api json response returning string value, but struct data type in float32, conversion not applied properly

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