Skip to main content
API Documentation v2.0

PagaSul Global
Payments API

Seamless transactions and local payment methods across LATAM. Low fees, high conversion rates, one single integration.

APM-First Architecture

We prioritize local payment preferences — Pix, Mercado Pago, wallets, bank transfers — over generic card processing, resulting in higher conversion rates.

Flexible User Flows

Support for both Host-to-Host (H2H) embedded experiences and Redirect flows lets you tailor checkout based on your app's capabilities.

Enterprise-Grade Security

HMAC-SHA256 request signing and integer-based merchant identification ensure transaction integrity through strict authentication protocols.

Simple Integration

One API call to create a payment

create-payment.js
const response = await fetch("https://api.pagasul.com/v2/pay-in", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "signature": generateSignature(payload, secretKey)
  },
  body: JSON.stringify({
    client_id: 123,
    client_payment_id: "payment_35",
    amount: 12.34,
    currency: "BRL",
    payment_method: "BR.PIX",
    payer: {
      id: "customer_1234",
      cpf: "231.002.999-00"
    },
    payment_options: {
      callback_url: "https://your-site.com/webhook"
    }
  })
});

Supported across 12+ payment methods