v1

latestOpenAPI 3.0.12026-07-263591116.9 KB
Payment V2

Record payment

post/v2/payment

Request body

amountnumber required

Amount to be paid

payment_datestring required

Payment date [DD-MM-YYYY]

payment_mode'Cash' | 'Cheque' | 'UPI' | 'Card' | 'Net Banking' | 'paylater' | 'cardless_emi' | 'EMI' | 'TDS' | 'Credits' required

Payment mode

notesstring

Notes, will be shared with the customer

send_smsboolean

Send SMS, customer will be notified through SMS

send_emailboolean

Send Email, customer will be notified through Email

exclusive_notesstring

Exclusive Notes for internal purpose

customerstring required

Customer ID

Example request

{
  "amount": 27,
  "payment_date": "13-06-2024",
  "bank_details": {
    "account_number": "1234567890",
    "ifsc": "SBIN0000001",
    "bank_name": "State Bank of India",
    "branch": "Mumbai"
  },
  "payment_mode": "UPI",
  "send_sms": true,
  "send_email": true,
  "customer": "CUST123",
  "documents": [
    {
      "amount_paying": 27,
      "hash_id": "SLascded"
    }
  ]
}

Response

Payment recorded successfully

successboolean

Success flag

messagestring

Response message

error_codestring

Error Code

errorsobject

Errors

Example response

{
  "success": true,
  "message": "Message",
  "data": {
    "serial_number": "INV-123"
  }
}