Fund Go Account
Overview
You can fund your Go Account by depositing cryptocurrency and tokens, as well as fiat currency, into your Go Account. Depositing fiat currency into your Go Account requires a wire transfer from your whitelisted bank account to a BitGo bank account. Your bank may charge a wire-transfer fee. Contact your bank to learn more. If you created your testnet enterprise through the Developer Portal, your Go Account automatically includes test fiat. To request more, contact support@bitgo.com.
Prerequisites
Steps
You can connect bank accounts using Plaid or by manually entering bank-account details. Select the option that best suites your use case.
Connecting bank accounts with Plaid creates a widget on your app that enables sharing bank account details between Plaid and BitGo. This method is likely the most user-friendly way to connect bank accounts.
1. Get Link Token
Get a link token from Plaid to securely connect and fetch bank account information.
1 2 3 4 5 6 7
export ENTERPRISE_ID="ENTERPRISE_ID" export ACCESS_TOKEN="YOUR_ACCESS_TOKEN" curl -X GET \ "https://app.bitgo-test.com/api/accounts/v1/enterprise/$ENTERPRISE_ID/plaid/link" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN"
Step Result
After logging into Plaid, you receive a token from Plaid that you must pass to BitGo in the next step.
1 2 3
{ "link_token": "sting", }
2. Post Public Token
Pass the Plaid token to BitGo.
1 2 3 4 5 6 7 8 9 10 11
export ENTERPRISE_ID="ENTERPRISE_ID" export ACCESS_TOKEN="YOUR_ACCESS_TOKEN" export PUBLIC_TOKEN="PLAID_PUBLIC_TOKEN" curl -X POST \ "https://app.bitgo-test.com/api/accounts/v1/enterprise/$ENTERPRISE_ID/plaid/link" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d '{ "public_token": "'"$PUBLIC_TOKEN"'" }'
Step Result
BitGo fetches bank-account details from Plaid, enabling fiat transfers between accounts.
1 2 3 4
{ "enterprise": "60e6229d19d3c400068bde7da6d41b6f", // Enterprise ID the Plaid authentication is linked to "status": "active" }
3. Get Deposit Details
Get bank account details for BitGo and a memo ID. All wire transfers must include a memo ID. This ID links your deposit to your account.
1 2 3 4 5 6 7
export ACCESS_TOKEN="YOUR_ACCESS_TOKEN" export GO_ACCOUNT_ID="GO_ACCOUNT_ID" curl -X GET \ "https://app.bitgo-test.com/api/v2/tfiatusd/wallet/$GO_ACCOUNT_ID/depositinfo" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN"
Step Result
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{ "token": "ofctusd", "toAddress": "d73d8cd5eddf2834-JTHCZLVEDA", "toBankAccount": { "accountNumber": "71667015628", "address1": "1233 Executive St, Ste. 500", "address2": "La Jolla, CA 92037", "address3": "USA", "id": "5d05ae53c7ecc82b3965ac95cee60f88", "name": "Awesome Bank WIRE", "owner": { "name": "BitGo Inc.", "address1": "2443 Ash St", "address2": "Palo Alto, 94306", "address3": "USA" }, "idHash": "d91d8cd5eddf2834", "routingNumber": "914286384", "shortCountryCode": "US", "swiftCode": "AWESUS77", "verificationState": "approved" } }
4. Wire Fiat Currency
Wiring fiat currency from your bank account requires using their app or API. Review their documentation or contact them to learn more.
Note: Ensure to include the memo ID in order to prevent delays in accrediting funds to your Go Account.
Step Result
The balance of fiat currency in your Go Account updates with the deposited amount. The deposited balance is immediately available for trades. You can verify successful deposits with the Get Account Balance endpoint.