Difference between revisions of "Billing API Examples"

 
Line 6: Line 6:
  
 
* In the sample pages configure the form to post to your billingapi.aspx by changing this:
 
* In the sample pages configure the form to post to your billingapi.aspx by changing this:
<source lang="html4strict">action="http://127.0.0.1:8880/billingapi.aspx"</source>
+
<source lang="html4strict">action="http://127.0.0.1:8880/Aspx/billingapi.aspx"</source>
 
 
* If you are using MVC templates this is the url to the billingapi.aspx: http://your-ip:8880/Aspx/billingapi.aspx
 
  
 
[[File:BillingApiExamples.zip]]
 
[[File:BillingApiExamples.zip]]

Latest revision as of 20:31, 2 January 2021

These pages post information to billingapi.aspx to create, suspend, activate and delete game servers.

  • You can post information from code with php using the curl commands.
  • Don't use these pages directly in your application because everybody will be able to see your TCAdmin login.
  • In the sample pages configure the form to post to your billingapi.aspx by changing this:
action="http://127.0.0.1:8880/Aspx/billingapi.aspx"

File:BillingApiExamples.zip

Retrieved from "https://help.tcadmin.com/index.php?title=Billing_API_Examples&oldid=2323"