Payment Processing
Process Payslip
POST
api/process-payment
Description:
This endpoint is used for processing payments (pay slips, invoices).
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request Body:
Depending on the type of payment, the required fields differ.
For One-Time Payments (Pay slips or Invoices):
For Instant Payments:
Notes:
bank_name must match exactly the bank name as returned by your provider lookup (e.g. via
getBankCodeByName
).category_name and subcategory_name are used to resolve the corresponding IDs for the invoice.
relationship_manager_email is used to identify the relationship manager for the transaction.
Response:
The API returns a JSON response with a message and data structure. Below is a sample response (the structure will be similar regardless of payment type):
Last updated