POST
method, and the body must include the necessary details for creating a payment transaction.ApiKey: ********************
curl --location --request POST 'https://app.hisabkitab.co/third-party/payment-transactions' \
--header 'ApiKey: <api-key>' \
--form 'payment_voucher_number="3"' \
--form 'date="13-02-2025"' \
--form 'bank_cash_ledger_id="4"' \
--form 'total_paid_amount="11771.00"' \
--form 'ledger_id="2"' \
--form 'narration=""' \
--form 'is_manage_transaction="1"' \
--form 'payment_mode="2"' \
--form 'transaction_id[]="6"' \
--form 'invoice_number[]="8"' \
--form 'bill_type[]="1"' \
--form 'paid_amount[]="11771.00"' \
--form 'discount_amount[]="0"' \
--form 'rounding_amount[]="0"' \
--form 'upload_payment_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"
}