I am evaluating Invoice Ninja for our company, and have following situation:
A client makes a one-off purchase on our website via credit card (a new customer and payment intent are created, resulting finally in a charge), without using the Invoice Ninja Client Dashboard. Nonetheless the payment should be visible in Invoice Ninja.
When the purchase is done via the built-in Invoice Ninja Client Dashboard (via the “Buy Now” button feature), everything works automatically, and in the internal dashboard the button “View in Stripe” appears for this specific customer. Is there a way to do this “manually” via API?
The first problem I am facing is, when retrieving the client via for example
GET <url>/api/v1/clients/10, there is no information about the Stripe customer ID (even though the customer has a Stripe button). Secondly, I would need to be able to update clients via API and attaching Stripe customer IDs to them. Is there another endpoint I am missing?
payments endpoint, it is possible to provide a
transaction_reference item, this is also returned in the GET request. I was trying to find something similar in the
clients endpoint for the customer ID …
Thanks for any hints!