Developer API for Bangladesh

Payment Gateway API Bangladesh — Hosted Checkout & Verification

SofolX provides a developer-friendly integration path for Bangladeshi websites that need hosted payments, server-side transaction verification and callback/webhook automation without building the entire payment workflow from scratch.

✓ Create payment API
✓ Server-side verify endpoint
✓ Success/cancel callbacks
✓ Webhook-driven order automation

API Payment Flow

Your backend creates a payment using the merchant Brand Key and receives a hosted checkout URL. After the customer completes payment, your backend verifies the transaction before fulfilling the order.

Security Best Practices

Keep Brand Keys on the server, use HTTPS, verify every transaction before fulfillment and make webhook processing idempotent. Never trust a browser-only success message as proof of payment.

Recommended integration checklist

  • Store API keys outside public JavaScript
  • Validate amount and transaction status server-side
  • Use unique order references
  • Handle pending/failed responses
  • Log and retry webhooks safely

bKash, Nagad and Local Payment Methods

The same SofolX API can present merchant-enabled local payment methods through a consistent hosted checkout, reducing custom gateway code in the merchant application.

Frequently Asked Questions

Does SofolX have a payment verification API?

Yes. SofolX exposes a server-side transaction verification endpoint documented in the API guide.

Can I integrate SofolX with PHP?

Yes. Any backend that can make HTTPS requests can integrate the hosted payment and verification flow.