安装我们的应用 🪄 点击地址栏右上角的 图标。

账户付款

GET https://www.dunlv.com/api/payments/
curl --request GET \
--url 'https://www.dunlv.com/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-02-05 19:10:56 }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://www.dunlv.com/api/payments?&page=1", "last": "https://www.dunlv.com/api/payments?&page=1", "next": null, "prev": null, "self": "https://www.dunlv.com/api/payments?&page=1" } }
GET https://www.dunlv.com/api/payments/{payment_id}
curl --request GET \
--url 'https://www.dunlv.com/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-02-05 19:10:56 } }