srb tc can flag bad payloads before runtime. It is published as surge_api on RubyGems and requires Ruby 3.2 or newer.
This page covers installing the gem, sending your first request, paginating list endpoints, rescuing typed errors, and verifying webhook signatures inside a Rails controller.
Install and authenticate
Add to your Gemfile:Gemfile