Connecting: users' wallets and your central wallet

There are two kinds of wallet, and they connect differently:

The rest of this section is for the central wallet.

  1. Open https://ibirapay.com/spark, fill in the company, your name and e-mail, and accept the terms.
  2. Confirm the e-mail (the link is valid for 24 hours). The page then shows your first key once: proxy host and port, API key (ik_..., goes in username) and secret (sk_..., goes in password). Copy it into your secret store. IBIRAPAY keeps only a hash.
  3. The e-mail you receive afterwards has a link to your account page, where you create up to 5 active keys (for example one per app or environment) and revoke them. Treat that link like a password. The page also shows your account ID, which goes in the text a wallet signs when you register it (section 5.5). A key has a type, chosen when you create it: a proxy key (the SOCKS5 login for the central wallet, described here) or a registration key (for the registration API of section 5.5; it does not open the proxy, and a proxy key does not open the registration API).

The API key and secret are a SOCKS5 login (API key = username, secret = password) for the IBIRAPAY front door (proxy.ibirapay.com, port 1080). It identifies your company, lets IBIRAPAY measure your use, and can be revoked at once (open connections are cut within about 15 seconds). It is not what protects your users' money: that is the mnemonic. SOCKS5 sends the secret without encryption of its own, so rotate a key that may have leaked. Use one key per server and per environment, and never put it in an app that runs on your users' devices (see section 10).