Get posting date of payment entry

I want to get payment entry posting date in apply client script on customer doctype so how can i get it

You can use frappe.get_doc

https://frappeframework.com/docs/v14/user/en/api/document#frappeget_doc