Record payment
Records a payment received from a customer. Optionally settle specific documents by pairing each hash_id with an amount_paying — partial settlement is supported and the document’s payment status tracks what remains. Non-cash payment modes need a bank account configured on your account, otherwise the request fails with MISSING_BANK_ACCOUNT. Set send_sms or send_email to notify the customer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is an API key from the API Integration section of your dashboard. Keys are scoped to the company they are generated in — for testing, add a separate test company and generate the key there, so requests never touch your real books.
Body
Amount to be paid
27
Payment date [DD-MM-YYYY]
"13-06-2024"
Payment mode
Cash, Cheque, UPI, Card, Net Banking, paylater, cardless_emi, EMI, TDS, Credits, Opening Balance "UPI"
Customer ID
"CUST123"
Notes, will be shared with the customer
""
Send SMS, customer will be notified through SMS
true
Send Email, customer will be notified through Email
true
Exclusive Notes for internal purpose
""
Documents to be settled, if any

