Invoice to Square API

Job ID: 31326025

Budget: $30 – $250 USD

I need a script that would get invoice details from API by invoice ID and setup a dollar amount to be sent to the square API for payment. For example:
pay.company.com/1232

Connect to invoice API to get invoice #, and invoice amount by invoice id 1232

setup a payment screen using squares api so customer can enter credit card details and pay via square api.

Then get the square response and post to invoce api and mark invoice as paid and log payment details.

Here is the invoice API documentation:

https://marketplace.connectwise.com/docs/redoc/manage/finance.html#tag/Invoices/paths/~1finance~1invoices~1{id}/get
Related categories: PHP JavaScript MySQL HTML JSON