Required fields in response missing

The description of endpoint /sapi/v1/capital/withdraw/history says confirmNo and info in the response are required.

However, in practice the appear to be optional?

confirmNo and info are not always available in the response of the /sapi/v1/capital/withdraw/history endpoint.

That is what my post is about.

The specs of the response object in the swagger however say that they are all non-optional.

How are we supposed to know which fields are optional and which aren’t if we can’t trust the swagger spec? Are we supposed to smell it?

Will raise this inconsistency with the team responsible.

1 Like