Skip to main content

Brale provides a testnet environment for non-production requests. There is no separate sandbox.

Only testnets (Sepolia, Solana Devnet, Base Sepolia, etc.) are supported. Fiat flows and blockchain mainnets (Ethereum, Solana, etc.) are not supported in testnet. See the full set of supported blockchain networks.

1. Create API Credentials scoped to Testnet

Create an application on the Settings page in the Dashboard. Image Select Testnet as Network and enable all resources. Image

2. Mint Tokens on Testnets

When you submit a mint on testnet, we skip the fiat leg and immediately mint on-chain. This simulates an onramp transaction and acts as a faucet to mint tokens for other flows (payouts, etc.). POST https://api.brale.xyz/accounts/account_id/transfers
Request
{
  "amount": {
    "value": "100",
    "currency": "USD"
  },
  "source": {
    "value_type": "USD",
    "transfer_type": "wire"
  },
  "destination": {
    "address_id": "2VcUIonJeVQzFoBuC7LdFT0dRe4",
    "value_type": "SBC",
    "transfer_type": "solana_devnet"
  }
}

3. Burn Tokens on Testnets

When you submit a redemption on testnet, we immediately burn on-chain and skip the fiat payout. This simulates an offramp transaction. POST https://api.brale.xyz/accounts/account_id/transfers
Request
{
  "amount": {
    "value": "100",
    "currency": "USD"
  },
  "source": {
    "address_id": "2VcUIonJeVQzFoBuC7LdFT0dRe4",
    "value_type": "SBC",
    "transfer_type": "solana_devnet"
  },
  "destination": {
    "value_type": "USD",
    "transfer_type": "wire"
  }
}

Follow the Quick Start Guide

Follow Quick Start - Your First Stablecoin Transfer for next steps to get deeper with the Brale API.