paperos-labs / mercury-bank.js

A simple demo of the Mercury API for submitting an Application & Verifying Webhooks
Mozilla Public License 2.0
0 stars 0 forks source link

latest mercury updates #8

Closed coolaj86 closed 2 months ago

coolaj86 commented 3 months ago

Here's the latest example. I still need to compare (or replace?) it with the one in the repo here.

{
  "inviteEmail": "coolaj86@proton.me",
  "about": {
    "legalBusinessName": "Cabinets Inc.",
    "website": "cabinets.com",
    "industry": "real_estate",
    "countryOfOperation": "US",
    "description": "We make custom-built cabinets that we sell on Etsy.",
    "operations": "LocalBusiness"
  },
  "businessContactDetails": {
    "address1": "81 Langton St",
    "city": "San Francisco",
    "state": "CA",
    "postalCode": "94103",
    "country": "US",
    "phoneNumber": "+14159947093"
  },
  "beneficialOwners": [
    {
      "firstName": "Immad",
      "lastName": "Akhund",
      "jobTitle": "CEO",
      "email": "test@example.com",
      "percentOwnership": 50,
      "citizenshipStatus": "USCitizen",
      "identificationType": "Passport",
      "address1": "149 Laidley St",
      "city": "San Francisco",
      "state": "CA",
      "country": "US",
      "postalCode": "94103",
      "phoneNumber": "+18596300123",
      "isPep": "IsNotPep",
      "identificationBlob": "data:image/gif;name=Clear.gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAICTAEAOw==",
      "dateOfBirth": "1980-01-01"
    }
  ],
  "formationDetails": {
    "companyStructure": "CCorp",
    "federalEin": "81-9292920",
    "formationDocumentType": "ArticlesOfIncorporation",
    "formationDocumentFileBlob": "data:application/pdf;name=pdf.pdf;base64,JVBERi0xLgoxIDAgb2JqPDwvUGFnZXMgMiAwIFI+PmVuZG9iagoyIDAgb2JqPDwvS2lkc1szIDAgUl0vQ291bnQgMT4+ZW5kb2JqCjMgMCBvYmo8PC9QYXJlbnQgMiAwIFI+PmVuZG9iagp0cmFpbGVyIDw8L1Jvb3QgMSAwIFI+Pg==",
    "eINDocumentFileBlob": "data:application/pdf;name=pdf.pdf;base64,JVBERi0xLgoxIDAgb2JqPDwvUGFnZXMgMiAwIFI+PmVuZG9iagoyIDAgb2JqPDwvS2lkc1szIDAgUl0vQ291bnQgMT4+ZW5kb2JqCjMgMCBvYmo8PC9QYXJlbnQgMiAwIFI+PmVuZG9iagp0cmFpbGVyIDw8L1Jvb3QgMSAwIFI+Pg=="
  },
  "businessDetails": {
    "USOperations": "We currently have plans to implement a partner ship with XYZ Inc. during the coming quarter",
    "WebPresence": "https://linkedin.com/, https://www.nytimes.com/international/",
    "InvalidWebsite": "https://www.google.com/"
  },
  "businessLegalAddress": {
    "address1": "81 Langton St",
    "city": "San Francisco",
    "region": "CA",
    "country": "US",
    "postalCode": "94103"
  },
  "businessPhysicalAddress": {
    "address1": "81 Langton St",
    "city": "San Francisco",
    "region": "CA",
    "country": "US",
    "postalCode": "94103"
  },
  "applicationType": "DefaultApplication",
  "partner": "abc123",
  "webhookURL": "http://example.com/api/webhooks/mercury"
}