API to update payment status for order in SW 6?

Hi Experts,

I am an integration developer, working on integrating NetSuite with Shopware using integration tool called as Celigo.
I want to update payment status of an order (for ex. in progress, paid, failed, done) using API endpoint.
I was able to find an API for updating the order status with below URL.
https://sw6.shop.ecomedic.de/public/api/_action/order/c1fe54c6a96143929ec298276bd1b5f6/state/process
But having difficulties while updating payment status.
Anyone has any idea, tips or link to useful resources to achieve this.

Thanks,
Swapnil

Hi All,

I was able to do that using -

Get order transaction id first-
https://sw6.shop.ecomedic.de/public/api/order/c1236a96143929ec298276bd1b5f6/transactions

and then Update order transaction status
https://sw6.shop.ecomedic.de/public/api/_action/order_transaction/1834565a8fec64e56b9b5298b9c2b80b1/state/paid

This is work:

https://you-project-url/public/api/_action/order_transaction/your-id-transaction/state/your-state