পেমেন্ট
GET https://lifterbrand.com/api/payments/
curl --request GET \
--url 'https://lifterbrand.com/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://lifterbrand.com/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
প্যারামিটার | বিবরণ | বিবরণ |
---|---|---|
page | ঐচ্ছিক পূর্ণসংখ্যা | পৃষ্ঠা নম্বর যেটা আপনি ফলাফল চান। ডিফল্ট হিসাবে ১ প্রস্তুত করা হয়েছে। |
results_per_page | ঐচ্ছিক পূর্ণসংখ্যা | প্রতি পৃষ্ঠায় আপনি কতগুলি ফলাফল চান। অনুমোদিত মানগুলি হল: 10 , 25 , 50 , 100 , 250 , 500 । ডিফল্ট হিসাবে 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,
"date": "2021-03-25 15:08:58"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://lifterbrand.com/api/payments?&page=1",
"last": "https://lifterbrand.com/api/payments?&page=1",
"next": null,
"prev": null,
"self": "https://lifterbrand.com/api/payments?&page=1"
}
}
GET https://lifterbrand.com/api/payments/{payment_id}
curl --request GET \
--url 'https://lifterbrand.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://lifterbrand.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,
"date": "2021-03-25 15:08:58"
}
}