Skip to content

Sponsorship Webhook Events - Docs show "monthly_price_in_dollars" as a number, but actually arrives as string. #3493

Description

@bitbound

What article on docs.github.com is affected?

https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#sponsorship

What part(s) of the article would you like to see updated?

The docs show "monthly_price_in_dollars" for sponsorship events as a number:

      "monthly_price_in_cents": 500,
      "monthly_price_in_dollars": 5,

But they actually arrive as a string (this is from my Recent Deliveries on my sponsors page):

      "monthly_price_in_cents": 500,
      "monthly_price_in_dollars": "5.0",

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions