Skip to main content
PATCH
/
embedded-banking
/
v1
/
bank-account-applications
/
{id}
Update an existing bank account application.
curl --request PATCH \
  --url https://api.sandbox.tesouro.com/embedded-banking/v1/bank-account-applications/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "applicant": {
    "hasValue": true,
    "value": {
      "authentication": {
        "password": "<string>"
      },
      "birthDate": "2023-12-25",
      "firstName": "<string>",
      "hasAcceptedDisclosures": true,
      "homeAddress": {
        "address1": "<string>",
        "address2": "<string>",
        "address3": "<string>",
        "city": "<string>",
        "countryCode": "AFG",
        "postalCode": "<string>",
        "state": "<string>"
      },
      "isLegallyAuthorized": true,
      "lastName": "<string>",
      "mobilePhoneNumber": "<string>",
      "ownershipPercentage": 123,
      "personalIdentificationNumber": {
        "type": "SSN",
        "value": "<string>"
      },
      "workEmailAddress": "<string>"
    }
  },
  "businessDetails": {
    "hasValue": true,
    "value": {
      "address": {
        "address1": "<string>",
        "address2": "<string>",
        "address3": "<string>",
        "city": "<string>",
        "countryCode": "AFG",
        "postalCode": "<string>",
        "state": "<string>"
      },
      "businessStructureType": "CORPORATION_PUBLIC",
      "dbaName": "<string>",
      "formationDate": "2023-12-25",
      "legalName": "<string>",
      "northAmericanIndustryClassificationSystemCode": "SOYBEAN_FARMING",
      "phoneNumber": "<string>",
      "taxId": {
        "type": "EIN",
        "value": "<string>"
      },
      "website": "<string>"
    }
  },
  "businessOwners": {
    "hasValue": true,
    "value": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "birthDate": "2023-12-25",
        "firstName": "<string>",
        "homeAddress": {
          "address1": "<string>",
          "address2": "<string>",
          "address3": "<string>",
          "city": "<string>",
          "countryCode": "AFG",
          "postalCode": "<string>",
          "state": "<string>"
        },
        "lastName": "<string>",
        "mobilePhoneNumber": "<string>",
        "ownershipPercentage": 123,
        "personalIdentificationNumber": {
          "type": "SSN",
          "value": "<string>"
        }
      }
    ]
  },
  "individualValidationSource": {
    "hasValue": true,
    "value": "<string>"
  },
  "organizationValidationSource": {
    "hasValue": true,
    "value": "<string>"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "applicant": {
    "birthDate": "2023-12-25",
    "disclosuresAcceptedAtDateTime": "2023-11-07T05:31:56Z",
    "firstName": "<string>",
    "hasAcceptedDisclosures": true,
    "homeAddress": {
      "address1": "<string>",
      "address2": "<string>",
      "address3": "<string>",
      "city": "<string>",
      "countryCode": "AFG",
      "postalCode": "<string>",
      "state": "<string>"
    },
    "isLegallyAuthorized": true,
    "lastName": "<string>",
    "mobilePhoneNumber": "<string>",
    "ownershipPercentage": 123,
    "workEmailAddress": "<string>"
  },
  "businessDetails": {
    "address": {
      "address1": "<string>",
      "address2": "<string>",
      "address3": "<string>",
      "city": "<string>",
      "countryCode": "AFG",
      "postalCode": "<string>",
      "state": "<string>"
    },
    "businessStructureType": "CORPORATION_PUBLIC",
    "dbaName": "<string>",
    "legalName": "<string>",
    "northAmericanIndustryClassificationSystemCode": "SOYBEAN_FARMING",
    "phoneNumber": "<string>",
    "website": "<string>"
  },
  "businessOwners": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "birthDate": "2023-12-25",
      "firstName": "<string>",
      "homeAddress": {
        "address1": "<string>",
        "address2": "<string>",
        "address3": "<string>",
        "city": "<string>",
        "countryCode": "AFG",
        "postalCode": "<string>",
        "state": "<string>"
      },
      "lastName": "<string>",
      "mobilePhoneNumber": "<string>",
      "ownershipPercentage": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Path Parameters

id
string<uuid>
required

The application ID.

Body

Request model for updating an existing bank account application. Uses Tesouro.Common.Types.Rest.Optional&lt;T&gt; for partial-update semantics — see that type for the absent / explicit-null / explicit-value contract.

applicant
object

Applicant details to update. Absent = preserve; explicit value = replace; explicit null = clear.

businessDetails
object

Business details to update. Absent = preserve; explicit value = replace; explicit null = clear.

businessOwners
object

List of business owners. Absent = preserve existing owners. Explicit empty array = clear all owners. The resulting list replaces the stored owner list.

individualValidationSource
object

Validation source for individual KYC (bypass-KYC partners only). Absent = preserve.

organizationValidationSource
object

Validation source for organization KYC (bypass-KYC partners only). Absent = preserve.

Response

Application updated successfully.

Response model for a bank account application.

id
string<uuid>
required

Unique identifier for the bank account application.

applicant
object

Applicant information for the bank account.

businessDetails
object

Business details associated with the application.

businessOwners
null | object[]

List of business owners associated with the application.