PPGLink Mayar client
Mayar.id · PGLink

Create a Mayar payment

The form calls this app's server route, which adds your X-API-Key and forwards the request to PGLink. The key never reaches the browser.

Mode

POST /payments — creates a Mayar invoice and returns a checkout link.

What will be sent

{
  "provider": "MAYAR",
  "amount": 50000,
  "mayarPaymentMethod": "qris",
  "channel": "QRIS"
}