ການຈ່າຍເງິນບັນຊີ
GET https://9qrcode.com/api/payments/
curl --request GET \
--url 'https://9qrcode.com/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.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": "[email protected]",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": 2025-04-11 03:14:37 },
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://9qrcode.com/api/payments?&page=1",
"last": "https://9qrcode.com/api/payments?&page=1",
"next": null,
"prev": null,
"self": "https://9qrcode.com/api/payments?&page=1"
}
}
GET https://9qrcode.com/api/payments/{payment_id}
curl --request GET \
--url 'https://9qrcode.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"plan_id": 1,
"processor": "stripe",
"type": "one_time",
"frequency": "monthly",
"email": "[email protected]",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": 2025-04-11 03:14:37 }
}