Crypto-as-a-Service

Overview

Collect end-user tax documentation to support year-end tax reporting. Your application presents the disclosure and eDelivery options, collects the required information, submits the documentation to BitGo, and retrieves the submitted tax record.

The integration workflow supports collecting Form W-9, Form W-8BEN, and Form W-8BEN-E information. The document type depends on the end user's tax residency, entity type, and applicable reporting requirements. Your application remains responsible for presenting the forms and disclosures to the end user, collecting accurate information, and handling sensitive tax data securely.

Prerequisites

Cookbook

Need just the steps? Expand the cookbook below to get started:

Generate Tax DocumentsOpen Cookbook

Get the latest text and version number of the legal disclosure and agreement for tax document eDelivery. You must share this with your end users in your application before submitting their consent and attestation to BitGo.

Endpoint: Get legal disclosure and agreement

export AGREEMENT_ID="taxEDeliveryConsent"
export ACCESS_TOKEN="<SERVICE_USER_ACCESS_TOKEN>"

curl -X GET \
  "https://app.bitgo-test.com/api/identity-service/v1/agreements/$AGREEMENT_ID" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Step Result

{
  "agreementId": "taxEDeliveryConsent",
  "revision": 1,
  "content": {
    "title": "Go paperless this tax season",
    "description": "Save time and reduce clutter by getting your tax documents delivered electronically. It's fast, secure, and eco-friendly.",
    "disclosure": "Please confirm your consent to electronic delivery, or select \"Continue with postal delivery\" to receive paper copies.",
    "termsLinkText": "Terms of electronic delivery",
    "options": {
      "confirmEDelivery": "Confirm E-delivery",
      "continueWithPostalDelivery": "Continue with postal delivery"
    }
  }
}

2. Submit Documentation

Submit your end user's completed tax documentation to BitGo, along with their choice of electronic (true) or postal (false) delivery.

Note

BitGo allows one completed tax form submission per enterprise per calendar year. Requests that fail validation (400 Bad Request) don't count toward this limit and can be corrected and retried.

Endpoints:

export ENTERPRISE_ID="<END_USER_ENTERPRISE_ID>"
export ACCESS_TOKEN="<SERVICE_USER_ACCESS_TOKEN>"

curl -X POST \
  "https://app.bitgo-test.com/api/identity-service/v1/enterprises/$ENTERPRISE_ID/tax-forms/w-8ben" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d '{
    "eDeliveryConsent": true,
    "irsVersion": "2021_OCT",
    "name": "Jane Doe",
    "country": "GB",
    "permanentAddress": {
      "firstLine": "10 Downing St",
      "city": "London",
      "postalCode": "SW1A 2AA",
      "country": "GB"
    },
    "ftin": "GB999999999",
    "dateOfBirth": "1985-06-15",
    "hasSignedAndCertified": true,
    "signatureTimestamp": "2026-01-15T12:00:00Z",
    "signature": "Jane Doe"
  }'

Step Result

BitGo validates and stores the submitted tax documentation and returns the accepted record with masked taxpayer identification numbers (tin, ftin, and usTin).

{
  "data": {
    "eDeliveryConsent": true,
    "irsVersion": "2021_OCT",
    "name": "Jane Doe",
    "country": "GB",
    "permanentAddress": {
      "firstLine": "10 Downing St",
      "city": "London",
      "postalCode": "SW1A 2AA",
      "country": "GB"
    },
    "ftin": "*****4321",
    "dateOfBirth": "1985-06-15",
    "ftinNotLegallyRequired": false,
    "hasSignedAndCertified": true,
    "signatureTimestamp": "2026-01-15T12:00:00Z",
    "completedFor": "ACCOUNT_HOLDER",
    "signature": "Jane Doe"
  }
}

3. Retrieve Submitted Tax Documentation

Retrieve the completed tax documentation on file for an enterprise. Taxpayer identification numbers appear masked by default. If no documentation has been submitted, the response is { "data": {} }.

Endpoint: Get Tax Documentation Data

export ENTERPRISE_ID="<END_USER_ENTERPRISE_ID>"
export ACCESS_TOKEN="<SERVICE_USER_ACCESS_TOKEN>"

curl -X GET \
  "https://app.bitgo-test.com/api/identity-service/v1/enterprises/$ENTERPRISE_ID/tax-forms" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Step Result

{
  "data": {
    "wForm": {
      "eDeliveryConsent": true,
      "id": "0177df49-c1aa-4d0b-bbeb-67a0c1b33a94",
      "createdAt": "2026-01-15T12:00:00Z",
      "hasCertified": true,
      "documentType": "W-9",
      "name": "John Doe",
      "taxClassification": "INDIVIDUAL",
      "address": {
        "firstLine": "123 Pine St",
        "secondLine": "Apt 456",
        "city": "Seattle",
        "stateOrProvince": "WA",
        "postalCode": "98000",
        "country": "US"
      },
      "tin": "*****6789",
      "tinType": "SSN",
      "isNotSubjectBackupWithholding": true,
      "hasSignedAndCertified": true,
      "signatureTimestamp": "2026-01-15T12:00:00Z",
      "completedFor": "ACCOUNT_HOLDER"
    }
  }
}

Next Steps

You can check if your end users submitted their tax forms using the following endpoints:

Endpoint Submitted
Get Enterprise Returns 200 with documents.wForm and documents.submissions.
Get Tax Documentation Data Returns 200 with data.wForm.

See Also