Skip to content

Incorrect Type for charge_remainder_fee in getSplitOptionsResponse Schema #37

@renatoastra

Description

@renatoastra

I identified an issue with the getSplitOptionsResponse schema where the property charge_remainder_fee was incorrectly typed as optional(nullable(string)). This was causing errors when interacting with the API, as the correct type should be optional(nullable(boolean)).

Problem

  • Property: charge_remainder_fee
  • Current Type: optional(nullable(string))
  • Expected Type: optional(nullable(boolean))

Steps to Reproduce:

  • Use the SDK to interact with the getSplitOptionsResponse.
  • Note that the charge_remainder_fee is returned or expected as a boolean, causing type errors with the current schema.

Proposed Solution:
I've submitted a pull request that corrects the type to optional(nullable(boolean)), along with adjustments to the related interfaces.

Pull Request Link: #36 - Fix incorrect type for charge_remainder_fee

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