Unable to upload any further verification documents to Stripe Connect bank account in order to activate payouts

Query - Which specific parameters should I use to generate the correct token for updating my Stripe bank account in order to activate payouts?

I've attempted to activate payouts for my Stripe bank account by using a test routing and account number (test number link) to trigger verification, but encountered issues that disabled payouts.

Routing number: 110000000 , Account number: 000999999991

In an effort to resolve this issue, I tried adding additional documentation related to the error message received when creating the account with the aforementioned test numbers.

Error Message:

documents.bank_account_ownership_verification.files

First Attempt: I made an attempt to update the account using these fields but was unsuccessful

account = {
  documents: {
    bank_account_ownership_verification: {
      files: this.file.value
    }
  }
};

A corresponding error was received from Stripe stating:

Unrecognized token creation parameter: 'documents' is not a recognized parameter. This may lead to integration issues in the future.

Second Attempt: Subsequently, I tried updating the account with the below fields but once again failed to observe any change in the payout status.

account = {
  individual: {
    verification: {
      additional_document: {
        front: this.file.value,
        back: this.file2.value
      }
    }
  }
};

An error response from Stripe mentioned:

Error updating account. You cannot modify

individual[verification][additional_document][front]
via API if an account is verified. Please contact us for assistance.

Just so you know, although I can generate the account token from both attempts, neither successfully updates the account on Stripe to enable payouts.

Below is the code snippet used to create the account token which is then sent to my server for calling the Stripe API to update the account:

// First attempt
let account = {
  tos_shown_and_accepted: true,
  documents: {
    bank_account_ownership_verification: {
      files: this.file.value
    }
  }
};
// Second attempt
let account = {
  tos_shown_and_accepted: true,
  individual: {
    verification: {
      additional_document: {
        front: this.file1.value,
          back: this.file2.value
        }
      }
   }
};

from(this.stripe.createToken('account', account)).pipe(take(1)).subscribe((result: any) => {

  if (result.error) {
    this.alertService.danger(result.error.message);
  } else {

    this.accountService.updateStripeAccount(this.route.snapshot.paramMap.get('id'), result.token.id).subscribe(() => {
      this.router.navigate(['/account/banks/accounts']);
      this.alertService.info("Account updated successfully");
    }, error => {
      console.log(error);
    }).add(() => {
      this.loadingAccount = false;
    });

  }
});

Answer №1

You cannot achieve this using Account Tokens.

At the moment, Account Tokens do not support the documents hash, so trying to pass in

documents.bank_account_ownership_verification
will not be effective. Your only choice is to provide
documents.bank_account_ownership_verification
directly (refer to apiref) when updating the Account without utilizing a token.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Guide on specifying a type for a default export in a Node.js module

export const exampleFunc: Function = (): boolean => true; In the code snippet above, exampleFunc is of type Function. If I wish to define a default export as shown below, how can I specify it as a Function? export default (): boolean => true; ...

Guide to achieving a powerful click similar to a mouse

I've been struggling to get an audio file to play automatically for the past three days, but so far I haven't had any luck. The solutions I've tried didn't work in my browser, even though they worked on CodePen. Can anyone help me make ...

Navigating Routes with Router in Angular 7: A Step-by-Step Guide

Within my sidebar navigation component, the sidebar.component.html file is structured as follows: <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top" id="sideNav"> <a class="navbar-brand" href="#page-top"> <span cl ...

Is Node.js truly a single-threaded and non-blocking platform?

As I delve into the world of Node.js, one thing that has caught my attention is the fact that it operates on a single thread and is non-blocking in nature. While I have a solid understanding of JavaScript and how callbacks work, the concept of Node.js bei ...

Is there a way to determine the negative horizontal shift of text within an HTML input element when it exceeds the horizontal boundaries?

On my website, I have a standard HTML input field for text input. To track the horizontal position of a specific word continuously, I have implemented a method using an invisible <span> element to display the content of the input field and then utili ...

Ways to retrieve base64 encoded information from an image within an HTML document

On my registration form, users have the option to select an avatar from 2 choices: Select a default avatar Upload their own custom avatar This is how I have implemented it in my HTML page. <img id="preview" src="img/default_1.png"> The chosen av ...

E/AndroidRuntime: CRITICAL ERROR: main --- java code in an android app

I've been working on a map application and I've run into some issues. Can anyone help me figure out what's wrong with my code? ERROR 10-25 01:37:41.296 28673-28673/com.onemap.activities E/AndroidRuntime: FATAL EXCEPTION: main 10-25 01:37:4 ...

execute various scripts in content_scripts depending on the "matches" provided

I am new to JavaScript and currently working on customizing the script from the MDN tutorial, Your First WebExtension My goal is to draw either a red or blue box around a webpage based on whether it is http:// or https://. But I have encountered a proble ...

Issue with PassportJs not forwarding users after successful authentication

I'm facing some challenges with implementing Passport for authentication. I have set up my signup strategy in the following way: passport.use('local_signup', new localStrategy({ usernameField: 'username', passwordField:&apo ...

Tips for transmitting variable values through a series of objects in a collection: [{data: }]

How to pass variable values in series: [{data: }] In the code snippet below, I have the value 2,10,2,2 stored in the variable ftes. I need to pass this variable into series:[{data: }], but it doesn't seem to affect the chart. Can anyone guide me on ...

``There is an issue with the onsubmit property that prevents the opening of

I have encountered an issue with my forms that has me stumped. Despite searching online for help, I can't seem to figure out why my implementation is not working as intended. The concept is straightforward. I've embedded a form within a JSP page ...

Update the style class of an <img> element using AJAX

My success with AJAX enables PHP execution upon image click. However, I seek a real-time visual representation without page reload. Thus, I aim to alter <img> tag classes on click. Presently, my image tag resembles something like <img title="< ...

The term "Cardlist" has not been defined and is therefore causing an

I created a CardList and attempted to add cards into the list using map, but encountered an error import React from 'react'; import Card from './Card'; const CardsContainer = ({robots}) => { const cardComponents = robots.map((r ...

Encountering a POST 504 error while attempting to proxy an Angular application to a Node server

error message: Failed to connect to http://localhost:4200/api/user/login with a 504 Gateway Timeout error. Encountered this issue while attempting to set up a login feature in my Angular application and establish communication with the Express backend. Th ...

Establish HTTP headers for accessing the Oxford API in an Angular 6 application

public performAutocomplete(wordInput):any { let headersOptions = { headers:{ 'Accept': 'application/json', 'app_id': 'myid', "app_key": "mykey" } as any } this.wordTyped = wordInp ...

What is the method for indicating the data type in an XDR request?

Currently, I am successfully using XDR for cross domain resource sharing in IE. However, I am facing an issue with specifying the return dataType to receive JSON as responseText. Below is the snippet of my code: if (window.XDomainRequest && $.browser.m ...

I am curious about how to implement overflow:hidden along with position:sticky in React.js

My attempt to address the white space issue caused by a navbar I created led me to try using overflow:hidden. The navbar is generated using the Header component, and I desired for it to have a position: sticky attribute. However, I realized that I cannot ...

The content security policy is preventing a connection to the signalr hub

Currently, I am developing an application using electron that incorporates React and Typescript. One of the features I am integrating is a SignalR hub for chat functionality. However, when attempting to connect to my SignalR server, I encounter the followi ...

The Magic of jQuery Cross Site Fetch

It seems like this should be simple, but I am having trouble figuring it out... I'm using jQuery to fetch a remote page from a different server, grab the HTML content, and then insert that content into a hidden DIV. However, when I try to do this wit ...

Why does WebStorm fail to recognize bigint type when using TSC 3.4.x?

Currently, I am working on the models section of my application and considering switching from using number to bigint for id types. However, despite knowing that this is supported from TSC 3.2.x, WebStorm is indicating an error with Unresolved type bigint. ...