Hi $payment_link store somewhere in DB? if yes please let me know in which table and, also how to get the payment link without sending an invoice to the customer’s email
Hi,
You can use the API to download the list of invoices, if you add ?include=invitations
it will add the invitation record with the invoice link.
but how to create an invoice without sending it. right now it stores as a draft.
If the invoice is in the draft state it means it hasn’t been sent.
can we get a payment link (invitation link) while the invoice draft?
what I really want is we don’t want customers to get emails when we create invoices from API. we planing to send invoices manually to individuals customers with a payment link (invitation link)
please let me know if this is possible to achieve
Yes. When you create an invoice with the API if you load it with ?include=invitations
in the URL it will include the invoice invitations which contain the link.
Quick clarification.
even tho if the invoice is in draft status still we get the invitation link right?. and from that link when the customer makes a payment invoice status will update to paid?
Yes, that is correct