Commit Graph

4 Commits

Author SHA1 Message Date
Sam Choukri
f1166b8b90 Added methods: GetPayout, GetPayoutItem, and CancelPayoutItem 2017-11-07 15:58:58 -08:00
Sam Choukri
3beae33bc0 Fix json parsing of the details field in API error responses with a new ErrorResponseDetail type.
The `details` field in the json response from API errors is an array of json objects (not a single object).
Also, the value for the "link" object is not a string but rather another nested array of json objects.
The parsing of the `details` json field is now correctly unmarshalled into a new `ErrorResponseDetail` type
instead of the previously broken `map[string]string` type.
2017-10-26 10:15:12 -07:00
Aliaksandr Pliutau
541052cf48 #23: fixed 2017-03-02 11:19:08 +07:00
Aliaksandr Pliutau
dd920d5151 #23: unit_test.go, integration_test.go 2017-03-02 10:43:23 +07:00