rate is returned as an object ID. The Shippo API is designed in this way to manage the size of the response.
Request:
Get a transaction
response sample
expand. When you expand an object, the returned response includes the parameters in that object.
Request:
Get a transaction including expand request
Get a transaction including expand response
Get a transaction including expand multiple objects