<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.democracycraft.net/index.php?action=history&amp;feed=atom&amp;title=Treasury_Licence</id>
	<title>Treasury Licence - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.democracycraft.net/index.php?action=history&amp;feed=atom&amp;title=Treasury_Licence"/>
	<link rel="alternate" type="text/html" href="https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;action=history"/>
	<updated>2026-09-16T01:44:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13606&amp;oldid=prev</id>
		<title>STRAWBERRYSARA at 18:58, 14 September 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13606&amp;oldid=prev"/>
		<updated>2026-09-14T18:58:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:58, 14 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Staff may also limit or revoke your Treasury API access if you handle your API keys recklessly, including sharing them with others or exposing them publicly. Follow the security guidance above to keep your accounts and applications secure.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Staff may also limit or revoke your Treasury API access if you handle your API keys recklessly, including sharing them with others or exposing them publicly. Follow the security guidance above to keep your accounts and applications secure.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Licenses]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key s80049_democracycraft_mediawiki:diff:1.41:old-13604:rev-13606:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>STRAWBERRYSARA</name></author>
	</entry>
	<entry>
		<id>https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13604&amp;oldid=prev</id>
		<title>Vennefly: small addition</title>
		<link rel="alternate" type="text/html" href="https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13604&amp;oldid=prev"/>
		<updated>2026-09-14T14:47:26Z</updated>

		<summary type="html">&lt;p&gt;small addition&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:47, 14 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unfortunately, in the event that you do give out an API key and get scammed, Staff will not be able to reimburse the damages to you. The same applies if a security vulnerability in your or someone else&amp;#039;s application gets abused to drain your account or to do other damage.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unfortunately, in the event that you do give out an API key and get scammed, Staff will not be able to reimburse the damages to you. The same applies if a security vulnerability in your or someone else&amp;#039;s application gets abused to drain your account or to do other damage.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Rate Limits ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Rate Limits&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, Abuse, Recklessness &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Every type of request has a rate limit, which may be different for personal and business API keys. You can find all rate limits on [https://api.democracycraft.net/economy/swagger-ui/index.html#/transfer-controller/transfer Swagger]. Exceeding the rate limits results in a HTTP 429 status code with a &amp;lt;code&amp;gt;Retry-After&amp;lt;/code&amp;gt; header (in seconds). If you get this, please back off on the requests and retry later. Persistently exceeding your rate limits or purposefully sending malicious requests to the API may lead to your API access being limited or revoked entirely, as well as to other punishments from the Staff Team.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Every type of request has a rate limit, which may be different for personal and business API keys. You can find all rate limits on [https://api.democracycraft.net/economy/swagger-ui/index.html#/transfer-controller/transfer Swagger]. Exceeding the rate limits results in a HTTP 429 status code with a &amp;lt;code&amp;gt;Retry-After&amp;lt;/code&amp;gt; header (in seconds). If you get this, please back off on the requests and retry later. Persistently exceeding your rate limits or purposefully sending malicious requests to the API may lead to your API access being limited or revoked entirely, as well as to other punishments from the Staff Team.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Staff may also limit or revoke your Treasury API access if you handle your API keys recklessly, including sharing them with others or exposing them publicly. Follow the security guidance above to keep your accounts and applications secure.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key s80049_democracycraft_mediawiki:diff:1.41:old-13600:rev-13604:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Vennefly</name></author>
	</entry>
	<entry>
		<id>https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13600&amp;oldid=prev</id>
		<title>Vennefly: Initial creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.democracycraft.net/index.php?title=Treasury_Licence&amp;diff=13600&amp;oldid=prev"/>
		<updated>2026-09-14T12:42:21Z</updated>

		<summary type="html">&lt;p&gt;Initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Jobs}}&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;Treasury&amp;#039;&amp;#039;&amp;#039; licence allows you to use the [https://economy.democracycraft.net/docs/guides/api Treasury API] in order to manage your personal and business accounts with external software. This is useful when creating:&lt;br /&gt;
&lt;br /&gt;
* Banks or other financial institutions&lt;br /&gt;
* Payments systems for businesses&lt;br /&gt;
* Verification systems&lt;br /&gt;
* Personalised dashboards&lt;br /&gt;
* Applications to manage employee pay&lt;br /&gt;
* and much, much more!&lt;br /&gt;
&lt;br /&gt;
== What does it do? ==&lt;br /&gt;
{{Warn|Using the Treasury API requires knowledge of computer programming. Use of the API by inexperienced players can easily lead to security issues, and is therefore not recommended.}}&lt;br /&gt;
Using the Treasury API, you can get information about or manage many aspects of the Economy right from your own custom applications. This includes:&lt;br /&gt;
* Making payments to businesses or individuals&lt;br /&gt;
* Getting the transactions of your personal or business account&lt;br /&gt;
* Creating and managing webhooks (which let your system know when a transaction comes in)&lt;br /&gt;
* Getting or managing information about your company and employees&lt;br /&gt;
* Getting information about other companies, including their balance&lt;br /&gt;
* Getting the balance of other players&lt;br /&gt;
* Getting information and statistics about chestshops&lt;br /&gt;
&lt;br /&gt;
Implementing these functionalities into your own applications can be very powerful, and can elevate your business to the next level. For example: you can almost fully automate every aspect of a bank.&lt;br /&gt;
&lt;br /&gt;
== How do I get started? ==&lt;br /&gt;
{{Warn|Never share your API key with anyone!}}&lt;br /&gt;
Once you have obtained the Treasury Licence, you gain access to a command which allows you to generate your own API key. To obtain a key for your personal account, run &amp;lt;code&amp;gt;/treasuryapi personal issue&amp;lt;/code&amp;gt;. To obtain one for your business, run &amp;lt;code&amp;gt;/treasuryapi business issue &amp;lt;business name&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When you run these commands, the API key is shown in chat. It is shown once, so make sure to copy it somewhere safe! You can retrieve it later with &amp;lt;code&amp;gt;/treasuryapi personal/business export &amp;lt;keyId&amp;gt;&amp;lt;/code&amp;gt; (it gives you a shareable link to the key), or replace it with &amp;lt;code&amp;gt;/treasuryapi personal/business reissue &amp;lt;keyId&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
With your key in hand, you can get started! Find all information you need on how to use the Treasury API in the [https://economy.democracycraft.net/docs/guides/api Documentation] and on [https://api.democracycraft.net/economy/swagger-ui/index.html Swagger]. &lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
The Treasury API is an incredibly powerful tool, but with that also come some risks. Please adhere to the following instructions in order to keep your account secure.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NEVER share your API key with anyone!&amp;#039;&amp;#039;&amp;#039; Someone with your API key can impersonate you and has full access to the account the key is associated with. They can very easily take all your money, or use your key in a way which is illegal or against the [[Rules|Server Rules]].&lt;br /&gt;
* Getting help from someone? Consider options that do not require you to give them an API key. For example by having them set everything up on a machine you have access to, revoking their access, and only entering the API key after they no longer have access. Or by using an intermediary business that uses their own accounts.&lt;br /&gt;
* In the event that you really do need to give someone API access for your business, make sure they are very trustworthy. Then, add them as a Co-Proprietor to your business so they can generate their own API key to use. That way, transactions and other API calls still lead back to them, not you! But remember: they still have full access to your account.&lt;br /&gt;
* Make sure you know what you&amp;#039;re doing. If your application has security vulnerabilities, users of your application may be able to do things that you didn&amp;#039;t intend for them to. Including possibly draining your account.&lt;br /&gt;
* Regularly rotate (change) your API keys. You can do so through the API or the in-game command &amp;lt;code&amp;gt;/treasuryapi personal/business reissue &amp;lt;keyId&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* If you feel that something is amiss: rotate your keys and always feel free to contact Staff.&lt;br /&gt;
* Never commit a key to source control or paste it into a public channel.&lt;br /&gt;
* Use a separate key per application so you can revoke one without breaking the others.&lt;br /&gt;
* Revoke keys you no longer use.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, in the event that you do give out an API key and get scammed, Staff will not be able to reimburse the damages to you. The same applies if a security vulnerability in your or someone else&amp;#039;s application gets abused to drain your account or to do other damage.&lt;br /&gt;
&lt;br /&gt;
== Rate Limits ==&lt;br /&gt;
Every type of request has a rate limit, which may be different for personal and business API keys. You can find all rate limits on [https://api.democracycraft.net/economy/swagger-ui/index.html#/transfer-controller/transfer Swagger]. Exceeding the rate limits results in a HTTP 429 status code with a &amp;lt;code&amp;gt;Retry-After&amp;lt;/code&amp;gt; header (in seconds). If you get this, please back off on the requests and retry later. Persistently exceeding your rate limits or purposefully sending malicious requests to the API may lead to your API access being limited or revoked entirely, as well as to other punishments from the Staff Team.&lt;/div&gt;</summary>
		<author><name>Vennefly</name></author>
	</entry>
</feed>