Prepare Your Account

Environment

EnvironmentHostDescription
Sandbox (Testing)https://sandbox.onebrick.io/v2Use this host to do testing during development phase.
Production (Live)https://api.onebrick.io/v2Use this host for real usage. You can only access this host after you complete your account verification process (Brick Pay Registration) from the dashboard.

Things to prepare to use API :

  • Sign up to Brick dashboard and get your API credentials Client ID and Client Secret .
  • Setting up your callback URL. For payment integration you need to setup disbursement URL for payment out API and virtual account for accept payment API.
  • Top up your balance
    • Sandbox Environment (Testing) :
      If you are in sandbox, use button Add Test Balance in the homepage to add your balance.
    • Production Environment (Live) :
      You can top up money through virtual account provided in the top up feature. Follow guide here to start topping up your balance in production.