Developer Hub

Build, integrate, and scale with PigaPay's powerful APIs and SDKs

REST API SDKs Webhooks Documentation Support

SDKs & Libraries

Integrate PigaPay with your favorite programming language

Popular API Endpoints

Commonly used endpoints to get you started

POST

Create Payment

/api/v1/payments

Send a mobile money payment request to a customer's phone

  • Amount and reference
  • Customer phone
  • Who pays the fee
  • Splits
GET

Get Payment Status

/api/v1/payments/{id}

Retrieve payment status and details

  • Status
  • Fee and net amount
  • Provider reference
POST

Create Checkout Page

/api/v1/checkout

A PigaPay payment page to send your customer to

  • Amount and description
  • Return addresses
  • Expiry
GET

List Payments

/api/v1/payments

Your payments, newest first

  • Status filter
  • Date filter
  • Pagination

Code Examples

Quick start examples to integrate PigaPay

// Create a new payment with PHP require_once 'vendor/autoload.php'; $client = new PigaPay\Client('your_api_key'); $payment = $client->payments->create([ 'amount' => 10000, 'currency' => 'TZS', 'method' => 'mobile_money', 'customer' => [ 'name' => 'John Doe', 'phone' => '+255700000000', 'email' => 'john@example.com' ] ]); // Check payment status echo "Payment ID: " . $payment->id;

Ready to Build?

Get started with PigaPay's APIs and start building today.

View Full Documentation
Kiswahili Report a payment problem

Talk to us