Moyasar integration
Saudi-native, API-first payment gateway. Create and capture payments, issue refunds, and send hosted invoices (Mada, Visa, Mastercard, Apple Pay).
Payments
- Create Payment — Create a payment
- Get Payment — Fetch a payment by id
- List Payments — List payments (page-numbered, declared meta.total_count; page width is vendor-fixed at 40 — no size param exists)
- Refund Payment — Refund a captured payment
- Capture Payment — Capture an authorized payment
Invoices
- Create Invoice — Create a hosted invoice
- Get Invoice — Fetch an invoice
- List Invoices — List invoices (same page-numbered envelope as payments: invoices + meta.total_count)
Trigger
- On Payment Event — Fire on a Moyasar payment webhook (paid/failed/refunded)