PayBridge documentation¶
PayBridge.SDK v2.0.0 targets .NET 10 and uses EF Core 10 for persistence.
Create and verify payments from ASP.NET Core through a common interface for Paystack, Flutterwave, Stripe and other gateways.
Install PayBridge.SDK¶
Run this from your ASP.NET Core project folder:
dotnet add package PayBridge.SDK --version 2.0.0
See the NuGet package or GitHub release. For .NET 8, use PayBridge.SDK 1.2.0.
Find the right guide¶
| What you want to do | Where to start |
|---|---|
| Create and verify a mock payment without gateway credentials | Quick Start |
| Upgrade an existing project to .NET 10 and EF Core 10 | Upgrade to v2 |
| Check which gateways support refunds, webhooks and other operations | Gateway capability matrix |
| Collect a payment with MTN MoMo | MTN MoMo |
| Configure and call a real gateway in a sandbox | API cookbook and example API |
| Integrate Ozow's ZAR hosted checkout | Ozow One API guide |
| Choose a gateway automatically | Automatic routing |
| Verify callbacks and handle retries safely | Webhook security, replay protection and payment idempotency |
| Set up persistence or track refunds | Integration testing and databases and refund persistence |
Before going live¶
- Check which operations and signature checks your gateway supports.
- Verify payment creation, status checks, callbacks and any refund flows you intend to use in a provider sandbox.
- Store credentials in a server-side secret store and configure webhook signature verification, replay protection and payment idempotency.
- Review migration coverage for your chosen database.