Get Payments By Invoice Number

Hello,

I was wondering if it was possible to get a payment using the invoice number via the API? I was able to send a get request to get an invoice from the API from the invoice number but the payment does not seem to be working the same. Below is the curl request I am sending. This is just returning all the payments in the system.

curl -X GET URL/public/api/v1/payments?invoice_number=STDINV2272 -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest" -H "Content-Type:application/json"

Hi,

Sorry, it isn’t supported