- Submit a Transfer request with a source value_type of
wire - Submit a Transfer request with a source value_type of
ach_debit - Create an Automation, which automatically mints stablecoins to a pre-configured destination wallet when funds are received via ach or wire.
Submitting a Transfer request with a source value_type of wire
Here is an example of onramping to your own stablecoin (SBC) via wire transfer by calling the Transfers endpoint with the source transfer_type of wire.
POST https://api.brale.xyz/accounts/account_id/transfers
Request
Response
pending. Once Brale receives the funds at the bank account provided in source_deposit_instructions the stablecoins will immediately be minted to the destination wallet.
Submitting a Transfer request with a source value_type of ach_debit
You can initiate ACH debits from Plaid-linked addresses. See Addresses for the full flow of linking Plaid accounts as addresses you can pull from. This guide is specifically designed for first party funding of stablecoin mints, into a Brale custodial wallet.
POST https://api.brale.xyz/accounts/account_id/transfers
Request
Response
Fetching Transfers
Query a transfer that has been created. GEThttps://api.brale.xyz/accounts/account_id/transfers/:id
Response
source.payment_details appears when Brale has underlying payment metadata to expose for the source leg of a transfer. Wire transfers typically include the full set of fields (sender_name, sender_bank_name, imad, etc.). ACH transfers may include only a subset — fields may be null or omitted depending on available rail metadata, and may include trace_number as the ACH trace identifier. See Transfers — source.payment_details for the full field reference.Fiat to Stablecoin Automation (Automatic Onramp)
Automations provide a unique account number and routing number that accepts wire transfers and ACH deposits, and automatically reconcials funds received and mints them to a bound wallet address.
Here is an example of onramping to your own stablecoin (SBC) via wire transfer by creating a fiat-to-stablecoin automation.
POST https://api.brale.xyz/accounts/account_id/automations
Request
https://api.brale.xyz/accounts/{account_id}/automations/{automation_id}
Response
When an automation is no longer needed, archive it by sendingPATCH /accounts/{account_id}/automations/{automation_id}with{ "status": "archived" }. This closes the virtual account and stops future deposits from being processed.