/api/v2/payment/updatePaidPOSTThis endpoint updates the payment status to mark a payment as paid in the system.
Include the JWT token in the Authorization header:
Authorization: Bearer <your_jwt_token>
Content-Type: application/jsonAuthorization: Bearer <your_jwt_token>The request body should be a JSON object with the following field:
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | The unique identifier of the payment to update |
POST /api/v2/payment/updatePaid
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
{
"id": "4463"
}
{
"status": "OK",
"message": "Payment status updated successfully",
"returnData": {
"id": "4463",
"status": "PAID",
"updated_at": "2025-09-23T13:45:00Z"
}
}
{
"status": "ERROR",
"message": "Payment ID is required"
}