#zepatrik_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1501877912469635072
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Indeed, that's not a publicly supported API parameter โ the Dashboard often has multiple 'exclusive' features and this is one of them
The workaround is to manually update each invoice pre-finalisation with the memo
That will not work for our use-case though where we have hundreds of subscriptions that we need to manage in an automated way.
Templates will also not work as the text has to be different per subscription, although it seems that this is also an "exclusive" feature?
Sure, you can automate it via webhooks. For example, you'd receive an invoice.created event ~1 hour before it's finalised and at that point you can call this API to set the property as needed (via a webhook)
Yes, templates aren't yet supported via the API ๐
ok makes sense, I interpreted your "manually" as "via the dashboard"
are there plans to expose this?
Which part? The description parameter or templates?
The description on the subscription directly.
Don't really think templating makes senses here for you, FWIW, given that each memo is unique
Not that I'm aware of, but I'll flag it with the team
Somehow related, is there a way to have clickable links in the invoice description?
Don't believe so no, they don't support markdown
thats very unfortunate... also proper templating support for templates e.g. through metadata would be really helpful
can I request those features somewhere?
What do you mean?
I just flagged your invoice_settings[description] request โ was already other users asking for this, too
An invoice "template" currently is very static, it doesn't allow templating, e.g. by inserting metadata into the description.
I don't know what you mean by 'metadata into the description'
The "invoice description" property of the invoice template is not templatable. It would be nice to have something like Please go to [your dashboard](https://example.com/dashboard/{{.Subscription.Metadata.WorkspaceID}}) for details. in the invoice template description, because then I can change the wording in the template easily, but still have the full customizability.
Got it, so you'd want to be able to reference other properties on the subscription
just reference anything really