Base URLs
The Base URLs gives you a list of the root addresses you’ll use to send all API requests. Choose the Sandbox URL when developing and testing your integration, and switch to the Production URL when you’re ready to go live.Environment | API URL | Dashboard Url |
---|---|---|
Sandbox | https://api.staging.bnplx.io | https://app.staging.bnplx.io |
Production | https://api.bnplx.io | https://app.bnplx.io |
Sandbox
Your playground. Build, break, and perfect your integration here without any real-world consequences — it’s all fake money anyway. What you get:- Test all API endpoints and webhooks
- Simulate various transaction scenarios
- Validate your integration logic
- Train your team on the platform
- Perform load testing (within reasonable limits)
- Test error handling and edge cases
Production
The production environment is where real business happens. This is your live environment handling actual customer transactions and real money movements. What Happens Here- Real customer transactions are processed
- Live business analytics and reporting
- Full compliance and security monitoring
- Production-level support and monitoring
- Real-time webhook notifications
Your Launch Path
- Sandbox → Test everything
- Validate → Make sure it works
- Production → Flip the switch
- Profit → Watch the money flow
Payments Endpoints
Everything you need to handle the complete payment lifecycle. Each endpoint accepts JSON requests and returns structured responses.-
Create Payment: Start a new payment request. Include order details, customer info, and payment preferences.
POST {{url}} /payments
-
Confirm Payment: Confirm payment after customer authentication. This locks in the payment method and terms.
POST /payments//confirm
-
Capture Payment: Capture authorized funds and settle the transaction. Money moves from customer to merchant.
POST {{url}}/payments/{payment_id}
/capture
-
Cancel Payment: Cancel payment before capture. No money changes hands, customer is notified.
POST {{url}}/payments/{payment_id}/cancel
-
Refund Payment: Return money to customer. Support both full and partial refunds with automatic reconciliation.
POST {{url}}/payments/{payment_id}/refund