Payment Status
Fetches user subscriptions
GET
{{BASE_URL}}/api/payments/{payment_id}/status
Path Parameters
Name
Type
Description
payment_id
integer
ID of the payment
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
{
"status": 200,
"response_code": 0,
"success": true,
"errors": [],
"message": "Payment status retrieved",
"data": {
"id": 46,
"amount": 2.0,
"status": "pending",
"mpesa_reference": false,
"subscription_type": "bundle",
"course_ids": [
11,
12
],
"payment_date": null,
"failure_reason": false
}
}
Last updated
Was this helpful?