post https://platform-api.sandbox.testessential.net/invoice/payment
This endpoint retrieves an existing payment or creates a new payment for an invoice. If a payment already exists, it returns the payment details; otherwise, it creates a new payment record.