Complete micro-deposits

Complete the micro-deposit validation process by passing the amounts of the two transfers within three tries.

To use this endpoint from the browser, you’ll need to specify the /accounts/{accountID}/bank-accounts.write scope when generating a token.
PUT
/accounts/{accountID}/bank-accounts/{bankAccountID}/micro-deposits
cURL JavaScript
1
2
3
4
5
6
7
8
curl -X POST "https://api.moov.io/accounts/{accountID}/bank-accounts/{bankAccountID}/micro-deposits" \
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "amounts": [
      18,
      21
    ]
  }'\
1
2
3
4
5
6
7
const moov = new Moov(credentialsObject);

const accountID = "accountID";
const bankAccountID = "bankAccountID";
const microDeposits = [18, 21]

const response = await moov.bankAccounts.completeMicroDeposits(accountID, bankAccountID, microDeposits);
200 404 409 429
Micro-Deposits Successfully verified
{
  "status": "verified"
}
No account with the specified accountID was found or micro-deposits have not been sent for the source.
The amounts provided are incorrect or the bank account is in an unexpected state.
Request was refused due to rate limiting.

X-Retry-In

string <duration>
How long (in milliseconds) to wait until able to retry the request.

Path parameters

accountID

string <uuid> required
ID of the account.

bankAccountID

string <uuid> required
ID of the bank account

Body

application/json
Request to complete the micro-deposit verification workflow.

amounts

array
Two positive integers, in cents, equal to the values of the micro-deposits sent to the bank account.

Response

application/json

status

string<enum>
The micro-deposit status.
Possible values: verified