Complete micro-deposits

PUT
/accounts/{accountID}/bank-accounts/{bankAccountID}/micro-deposits

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

To access this endpoint using an access token you'll need to specify the /accounts/{accountID}/bank-accounts.write scope.

curl -X PUT "https://api.moov.io/accounts/{accountID}/bank-accounts/{bankAccountID}/micro-deposits" \
  -H "Authorization: Bearer {token}" \
  -H "X-Moov-Version: v2027.01.00" \
  -d '{
  "amounts": [
    18,
    21
  ]
}'
mc, _ := moov.NewClient()

var accountID string
var bankAccountID string
amounts := []int{18, 21}
 
mc.MicroDepositConfirm(ctx, accountID, bankAccountID, amounts)
The request completed successfully.
application/json
{
  "status": "verified"
}

x-request-id

string required
A unique identifier used to trace requests.
The server could not understand the request due to invalid syntax.
application/json
{
  "error": "string"
}

x-request-id

string required
A unique identifier used to trace requests.
The request contained missing or expired authentication.

x-request-id

string required
A unique identifier used to trace requests.
The user is not authorized to make the request.

x-request-id

string required
A unique identifier used to trace requests.
The requested resource was not found.

x-request-id

string required
A unique identifier used to trace requests.
The request conflicted with the current state of the target resource.
application/json
{
  "error": "string"
}

x-request-id

string required
A unique identifier used to trace requests.
The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
application/json
{
  "amounts": "string"
}

x-request-id

string required
A unique identifier used to trace requests.
Request was refused due to rate limiting.

x-request-id

string required
A unique identifier used to trace requests.
The request failed due to an unexpected error.

x-request-id

string required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.

x-request-id

string required
A unique identifier used to trace requests.

Headers

X-Moov-Version

string
Set this header to v2027.01.00 to use the API described in this specification. When omitted, the server defaults to v2024.01.00, the earliest supported version, which may not match the behavior documented here. An unrecognized well-formed version uses the latest supported version that is not newer than the requested version, when one exists. For example, v2026.08.00 uses v2026.07.00. A malformed value, such as 2022, returns a 404 response.
Possible values: v2027.01.00

Path parameters

accountID

string required

bankAccountID

string required

Body

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

amounts

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

Response

application/json

status

string<enum> required
Possible values: verified