* created billing agreements file
* CreateBillingAgreementToken created with new types
* updated formatting
* error to return nil
* removed new line
* added test
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.