For programmers

Dear Programmer, Technology Creator!


Join our idea how to improve the world - define and create how you can digitally pay from point A to point B when neither A nor B asks for ID of each other. Our revolution in payments already runs on Android and desktop platforms: Linux, Windows and Mac. We also have a server version. Thanks to this everyone willing to accept billon will find the right solution for him/herself. We do not want to limit the possibilities - almost anything what you come up with should be possible. This will allow you to earn real money with one click.

 

How it works?

Our API allows you to integrate with any form of interaction with the customer, no matter whether it is based on a web site, server, application or any other solution – it just requires the possibility to place our button - "pay" or "give donation" – on it. If you can put this button within your service with allow access for our application located somewhere on the Internet (even on your phone), from now on anyone who clicks on your button (under which you have defined the beneficiary) may pay a predefined or voluntary amount. Which means that the "pay" button placed anywhere, triggers a request for payment delivered to the device on which the payer has the billon wallet installed.

 

Technologically it works like this...

 

 

dla developerow en

 

The recommended way to create a button calling the request for payment

1:  <button onclick="pay()"> PaySomeAmount </button> <!-- you can put nice graphics with button 'Pay' here -->
2:  <script src="//billon.info/lib/js/billon.js"></script> <!--  we use ready-made libraries here -->
3:  <script src="//billon.info/lib/js/billon-agent.js"></script>
4:  <script src="//billon.info/lib/js/billon-object.js"></script>
5:  <script src="//billon.info/lib/js/billon-user.js"></script>
6:  <script src="//billon.info/lib/js/billon-loadingBar.js"></script>
7:  <script> function PaySomeAmount(ReqestedAmount) {
8:  billon.loadingBar(	// the user initiates a payment request here	
    {
9:       connection: new billon.agent("http://example:1400/exampleProxy"), // Sails.js controller 'ExampleProxyController' on NodeJS server
10:      request:
         {
11:         Address: "PaySomeAmount",
12:         Data: function (UserLoginName) {
13:            return {               
14:               amount: ReqestedAmount, // note: PLN x 1000
15:               user: UserLoginName
         }; } },
16:      listen: // we are waiting for the success of pay (from WUI via ExampleProxyController) 
         {
17:         Address: "status",
18:         Data: function (requestResponse)
            {
19:            return {
20:               taskId: requestResponse.taskId
              }; },
21:         Response: function (response)
            {
22:            switch (response.status)
                {
23:               case "FINISHED_OK":
24:                  // handler of successfully finished payment here
25:                  break;               
26:               case "FINISHED_ERR_USER_REJECTED":
27:                  // handler of rejection of payment here
28:                  break;
29:               case "FINISHED_ERR_USER_NOT_FOUND":
30:                  // handler for unsuccessful search for user
31:                  break;
32:               default:
                     // optional advanced handler here
    } } } }); } </script>

NodeJS proxy service for processing the payment should be run after placing code of button on the page. More about above script is descripted on the page „Scripts in user's browser”.

Plate payments should be used for the quick payments with the mobile phone for articles that are published on the webpages.

 

 

...and the customer sees it like this...

 dla developerow klient en

 

 



Let us know about yourself!

Write to us and tell us what we can do for you! How we can help so that your pages, apps, shops, emails, banners, or other places on the Web or elsewhere, could further exploit the potential of digital money. 

Contact Form

Add a photo to your feedback (jpg, png, max 1MB, optional)