Skip to content

PayoutItem amount is a string not an integer #47

@airblade

Description

@airblade

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions