Payments

Org'una ait ödemeleri listele.

Ödemeleri listele

GET/api/v1/payments

Sorgu parametresi: limit (varsayılan 50, en fazla 100).

curl "http://localhost:3000/api/v1/payments?limit=20" \
  -H "Authorization: Bearer mm_live_xxx"
{
  "object": "list",
  "data": [
    {
      "id": "clx...",
      "amount": 1990,
      "currency": "usd",
      "fee": 100,
      "net": 1890,
      "status": "completed",
      "customer_email": "ornek@email.com",
      "payment_link": "clx...",
      "created": 1750000000
    }
  ]
}

Alanlar

amount   integer  Brüt tutar (minor units)
fee      integer  Platform komisyonu
net      integer  Sana yazılan net (amount - fee)
status   string   completed | pending | failed | abandoned