LogoDOCS

PaynPlus Checkout

RECOMMENDED

The easiest and most secure way to accept payments. Redirect your customers to our conversion-optimized, hosted payment page that automatically supports GCash, Maya, QRPh, and Cards.

No PCI Burden

Card data never touches your servers. We handle all compliance and security requirements.

Mobile Optimized

A responsive design that ensures the highest conversion rates across all devices.

Quick Integration

Go live in minutes with a single API call and webhook listener.

Integration Flow

1

Create a Checkout Session

Your backend calls our API with the order amount, currency, and return URLs.

2

Redirect Customer

Redirect the user to the checkout_url returned in Step 1.

3

Customer Pays

The customer securely enters their payment details on the PaynPlus hosted page.

4

Fulfillment (Webhook)

Customer is redirected to your success page, and your server receives a payment.success webhook.

1. Create a Session

Make a POST request from your backend using your Secret Key.

Request (Node.js)
const response = await fetch('https://api.paynplus.com/v1/checkout/sessions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk_live_your_secret_key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    amount: 2500.00,
    currency: 'PHP',
    reference_id: 'ORDER-88912',
    success_url: 'https://yourstore.com/success?ref=ORDER-88912',
    cancel_url: 'https://yourstore.com/cart'
  })
});

API Response

{
  "id": "cs_xyz1234567890",
  "status": "ACTIVE",
  "amount": 2500.00,
  "checkout_url": "https://checkout.paynplus.com/pay/cs_xyz1234567890",
  "expires_at": "2026-05-02T10:30:00Z"
}

Ready to receive payments?

Learn how to securely listen for successful transactions.