Prerequisites
Installation
1
Add the gem
Add to your Then run:
Gemfile:2
Run the generator
config/initializers/simiz.rb— configuration filedb/migrate/*_create_simiz_transactions.rb— migration for the transactions table
3
Run migrations
4
Mount the engine
Add to your This registers the webhook endpoint at
config/routes.rb:/simiz/webhooks.5
Configure credentials
Using Rails credentials:Add:Or use environment variables:
Configuration
The initializer atconfig/initializers/simiz.rb:
Usage
Creating a transaction
Checking transaction status
Processing refunds
Webhook handling
The engine handles webhook signature verification automatically. Subscribe to events using Active Support Notifications:Supported payment methods
Supported currencies
Webhook events
Test mode
Set the following environment variables or Rails credentials:sandbox.api.simiz.io and no real money is charged.
Full sandbox documentation
See all test numbers and scenarios in the Sandbox Testing guide.
Troubleshooting
- Webhook signature invalid
- Gem not loading
- API key errors
Solutions:
- Verify your webhook secret in credentials or environment variables
- Ensure the engine is mounted and the webhook endpoint is accessible
- Check that no Rack middleware is modifying the raw request body
Next steps
Webhook Verification
Learn about webhook configuration and signature verification.
API Reference
Explore the full Simiz API.
Sandbox Testing
Test all payment scenarios before going live.
Support
Need help? Contact our support team.
Changelog
Version history
Version history

