This endpoint is used for processing payents (payslips, invoices).
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request Body:
{
"user_id": <id of the user>
"payment_type": "one_time",
"payment_date": "2023-07-14",
"one_time_type": "paystub",
"transaction_id": <ID of the paystub>
}