Skip to content

Integration Guide ​

This guide walks you through the complete integration process with the Pine Labs API. Follow these 7 steps to start processing transactions.

Starting a New Integration?

We recommend the Dynamic Product Catalog for new integrations. It provides structured product fields, built-in validation, fulfillment mapping, and real-time updates via webhooks.

The step-by-step guide below uses the legacy Product Listing API, which is maintained for existing integrations. See the Migration Guide if you are migrating from legacy to the new catalog.

Integration Flow ​

StepDescriptionLink
1Get available products and their codesProduct Listing
2Select JomPAY billers, data plans, or PTPTN accountsJomPAY Billers / Sub Products
3Check if the network/service is availableNetwork Status
4Retrieve outstanding bill amounts (Beta)Bill Presentment
5Process the actual paymentMake Payment
6Verify final transaction statusMake Payment
7Reconcile transactionsReconciliation

Prerequisites ​

Before you begin integration:

  1. Create an account — Sign up on staging for testing or request production access.
  2. Get API credentials — Generate your API key and HMAC secret from Developer > API Keys in the Dashboard.
  3. Authenticate — Set up API Key authentication for API requests.
  4. Set up callbacks — Configure your callback URL for transaction updates.

Best Practices ​

Idempotency

Always use the same refid when retrying a failed transaction. This prevents duplicate charges.

Check Network Status

Before processing payments, always check the network status to ensure the service is available.

Complete Example

See a complete end-to-end walkthrough showing every API call for a Digi Prepaid reload, from authentication to reconciliation.

Support ​

Need help with integration?

Pine Labs API Documentation