سلام. کلیه خدمات رایگان می باشد.

پرداخت‌های حساب

GET https://98push.ir/api/payments/
curl --request GET \
--url 'https://98push.ir/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
پارامترها جزئیات توضیحات
page اختیاری عدد صحیح شماره صفحه‌ای که می‌خواهید نتایج از آن دریافت شوند. پیش‌فرض 1 است.
results_per_page اختیاری عدد صحیح تعداد نتایجی که در هر صفحه می‌خواهید. مقادیر مجاز: 10 , 25 , 50 , 100 , 250 , 500 , 1000. پیش‌فرض 25 است.
{ "data": [ { "id": 1, "plan_id": 1, "processor": "stripe", "type": "one_time", "frequency": "monthly", "email": "example@example.com", "name": null, "total_amount": "4.99", "currency": "USD", "status": true, "datetime": 2025-10-14 13:19:19 }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://98push.ir/api/payments?&page=1", "last": "https://98push.ir/api/payments?&page=1", "next": null, "prev": null, "self": "https://98push.ir/api/payments?&page=1" } }
GET https://98push.ir/api/payments/{payment_id}
curl --request GET \
--url 'https://98push.ir/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "plan_id": 1, "processor": "stripe", "type": "one_time", "frequency": "monthly", "email": "example@example.com", "name": null, "total_amount": "4.99", "currency": "USD", "status": true, "datetime": 2025-10-14 13:19:19 } }