Log in

Stablecoin to Fiat (Offramp)

Brale makes it easy for you and your customers to convert stablecoins into USD via wire transfer or ACH.


In order to submit a stablecoin-to-fiat transaction, first you need to:

  • Create an Account respresenting your customer
  • Create a Financial Institution which is your customer's bank account where Brale will deposit USD
  • Deposit stablecoins to a Brale custodial address (address with type internal)

Link a Financial Institution to your customer's Account

You can add financial institutions in two ways:

  1. Financial Institutions API
  2. Plaid (coming soon)

Here is an example of directly adding a financial institution.

POST https://api.brale.xyz/financialinstitution/external

{
  "name": "Company ABC Checking",
  "transferType": ["Ach", "Wire"],
  "metadata": {
    "nickname": "Payroll Account",
    "createdBy": "InternalUser123"
  },
  "bankDetails": {
    "owner": "John Doe",
    "accountNumber": "1234567890",
    "routingNumber": "987654321",
    "name": "Bank Corp",
    "address": {
      "streetLine1": "123 Mockingbird Lane",
      "streetLine2": "Apt 4B",
      "city": "Metropolis",
      "state": "NY",
      "zip": "10001",
      "country": "US"
    },
    "accountType": "checking"
  }
}


Sample Response

{
	"id": "2AbCdEfGHiJkLmN0pQrStUvWxYz"
}


Stablecoin to USD via Wire

Once your customer has a Financial Institution and stablecoins are held in a Brale controlled address, you can submit a Transfer request with the destination of the financial institution.

POST https://api.brale.xyz/transfer

{
	"amount": "100.00", 
	"sourceAddress": {
		"addressId": "string", 
		"valueType": "YSBC", 
		"transferType": "Solana"
	}, 
	"destinationBank": {
		"bankId": "2AbCdEfGHiJkLmN0pQrStUvWxYz", 
		"valueType": "USD", 
		"transferType": "wire",
		"originatorToBeneficiaryInfo": "Some string up to X chars",
	  "statementDescriptor": "BRL*Transaction",
	  "ultimateCreditor": "John Doe"
	}
}

Brale will burn the stablecoins from the Source Address immediately, and then transfer USD to the destination bank account.


Stablecoin to MXN via SPEI

POST https://api.brale.xyz/transfer

{
	"amount": "100.00", 
	"sourceAddress": {
		"addressId": "string", 
		"valueType": "USDC", 
		"transferType": "solana"
	}, 
	"destinationBank": {
		"bankId": "2AbCdEfGHiJkLmN0pQrStUvWxYz", 
		"valueType": "MXN", 
		"transferType": "spei",
	}
}