I was surprised to find that a PayoutItem instance's amount is a string. I expected it to be an integer, or possibly a float, like a Payment instance's amount or a Payout instance's amount.
There's no difference in the API documentation for the various resources' amounts to indicate that the type can differ.
Is this intentional?