POST method, and the body must include the necessary details for creating a payment transaction.ApiKey: ********************{
"receipt_number": "1",
"date": "22-09-2025",
"bank_cash_ledger_id": 201963,
"ledger_id": 201963,
"total_received_amount": 200,
"payment_mode_id": "4911",
"reference_number": "123123",
"narration": "ABCD",
"is_manage_transaction": 1,
"settle_invoices_data": [
{
"transaction_id": 14425,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 84122,
"adj_amount_1": "123",
"adj_ledger_2": 83518,
"adj_amount_2": "123"
},
{
"transaction_id": 14426,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 83521,
"adj_amount_1": "123",
"adj_ledger_2": 83515,
"adj_amount_2": "123"
}
],
"upload_receipt_invoice": []
}curl --location --request POST 'https://app.hisabkitab.co/third-party/payment-transactions' \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"receipt_number": "1",
"date": "22-09-2025",
"bank_cash_ledger_id": 201963,
"ledger_id": 201963,
"total_received_amount": 200,
"payment_mode_id": "4911",
"reference_number": "123123",
"narration": "ABCD",
"is_manage_transaction": 1,
"settle_invoices_data": [
{
"transaction_id": 14425,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 84122,
"adj_amount_1": "123",
"adj_ledger_2": 83518,
"adj_amount_2": "123"
},
{
"transaction_id": 14426,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 83521,
"adj_amount_1": "123",
"adj_ledger_2": 83515,
"adj_amount_2": "123"
}
],
"upload_receipt_invoice": []
}'{
"data": {
"id": 3,
"company_id": 6,
"date": "2025-02-12T18:30:00.000000Z",
"payment_voucher_number": "3",
"bank_cash_ledger_id": "4",
"ledger_id": "2",
"total_paid_amount": "11771.00",
"narration": null,
"is_manage_transaction": true,
"payment_mode": "2",
"reference_number": null,
"is_import": false,
"created_by": 8,
"created_at": "2025-02-13T10:30:43.000000Z",
"updated_at": "2025-02-13T10:30:43.000000Z"
},
"success": true,
"message": "Payment transaction created Successfully"
}