ProBuy Logo
PB

ProBuy Docs

Version 1.0

Integration Journey Overview

Follow this blueprint to move from your first Supplier Portal login to a production-ready integration. Each phase links directly to the right portal screen or technical guide so your team always knows the next action.

Lifecycle at a Glance

ProBuy Integration Lifecycle

1

Create Your Supplier Account

Register your company in the ProBuy Supplier Portal using your CR number. Complete OTP verification and company profile setup.

  • ✅ Finish company details and compliance questions
  • ✅ Enable two-factor authentication for admins
  • ⏳ Wait for admin approval (see below)
Tip: Need a refresher on portal navigation? Start with the Supplier Portal Getting Started guide.
2

Generate API Credentials

Head to Integrations → API Tokens inside the portal and create a dedicated token for (sandbox and production) environment. Store tokens securely on your backend—never expose them in client code.

Environment
Sandbox
API Base URL
https://sandboxapi.probuy.dev
Supplier Portal
https://sandboxsupplier.probuy.dev
Company Portal
https://sandboxcompany.probuy.dev
Environment
Production
API Base URL
https://api.probuy.me
Supplier Portal
https://supplier.probuy.me
Company Portal
https://company.probuy.me
Tip: Rotate tokens regularly and label them by integration so you can revoke access quickly when needed.
3

Configure Webhooks

In the portal, open Integrations → Webhooks and register your HTTPS endpoint to receive order lifecycle events. Subscribe at least to order.approved, order.declined, and order.completed to keep your system in sync.

Use your webhook handler to update order status, release inventory, and trigger downstream workflows.

Tip: Verify signatures on every webhook and return a 200 response.
4

Choose an Integration Path

Select the implementation style that fits your stack. You can mix approaches if you run multiple channels:

  • Backend SDK: Streamlined Node.js implementation with helpers for checkout sessions and signature validation.
  • Direct REST APIs: Full control for any language or backend using standard HTTPS requests.
5

Build & Test the Flow

Implement the customer checkout flow, power it with your chosen SDK or APIs, and drive the redirect to ProBuy. Use sandbox credentials and test cards referenced in the Testing section to verify every outcome.

  • ☑️ Successful checkout and redirect to success URL
  • ☑️ Decline handling with retry options
  • ☑️ Webhook reconciliation and order fulfillment
  • ☑️ Settlement reporting in the Supplier Portal
6

Go Live & Monitor

Switch tokens and endpoints to production once the go-live checklist is complete. Enable alerting on webhook failures and API error rates. Keep an eye on settlement reports and dispute notifications through the Supplier Portal.

Tip: Document your rollback plan, including how to disable the payment method and revert order status if needed.

Decision Matrix

Path
Backend SDK (Node.js)
Best For
Custom partner platforms or service backends built with Node.js/TypeScript
Prerequisites
Server with Node.js 18+, secure env storage
Documentation
Path
Direct REST API
Best For
Any language/framework that prefers raw HTTP integration
Prerequisites
Ability to sign requests, manage webhooks
Documentation

Testing & Launch

Support Channels

Integration Support

Technical questions, SDK guidance, API troubleshooting.

Availability: Sun–Thu · 9am–7pm (GMT+3)