Pay2bd APIs Documentation

Intoduction

Pay2Local is a fast, secure, and fully automated payment platform that enables merchants to process deposits (payin) and withdrawals (payout) through Bangladesh's major mobile financial services.

Supported Services

  • Bkash - Market leader in mobile financial services
  • Nagad - Government-backed digital payment platform
  • Upay - Emerging mobile payment solution

Key Features

H2H Mode for All Services

H2H (Head-to-Head) Mode allows merchants to collect payment directly from customers using agent wallet numbers. This applies to:

  • p2p_agent - Person-to-agent transactions
  • p2c_qr - QR code payments
  • p2c_api - API-based payments

Dual Transaction Tracking

Every transaction uses:

  • merchant_payment_id - Your system's order ID
  • request_id - Pay2Local's tracking ID

Security Features

  • HMAC SHA-256 signature verification
  • Encrypted communication channels
  • Automated callback system

Getting Started

To begin integration:

  1. Register for a merchant account
  2. Obtain API credentials
  3. Configure callback URLs
  4. Implement the API endpoints

On this page