> For the complete documentation index, see [llms.txt](https://dev.flexshopper.com/medusa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.flexshopper.com/medusa/payment-methods/verify-ach.md).

# Verify ACH

Checks if given ACH info is valid

<mark style="color:orange;">`POST`</mark> /v3/paymentMethods/<mark style="color:orange;">{userId}</mark>/verifyACH

## Request

The details below help you form your HTTP requests to this endpoint.

### Path Parameters

The endpoint path expects parameters.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>userId</td><td>string</td><td>true</td><td>Customer Id</td></tr></tbody></table>

### Body

You must provide a JSON payload.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>accountNumber</td><td>string</td><td>true</td><td>user ACH account number</td></tr><tr><td>routingNumber</td><td>string</td><td>true</td><td>user ACH routing number</td></tr></tbody></table>

## Response

The details below help you understand the responses you could get from this endpoint.

### Samples

Below are samples of responses, with tabs corresponding to returned status code.

{% tabs %}
{% tab title="200" %}

```javascript
{
    "data": {
        "accountResponseCode": "_5555",
        "status": true
    }
}
```

{% endtab %}

{% tab title="400" %}

```javascript
{
    "error": {
        "statusCode": 400,
        "code": "",
        "message": "\"accountNumber\" is required",
        "data": {}
    }
}
```

{% endtab %}
{% endtabs %}

### Schema

The response's schema is outlined below.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>data</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>data.accountResponseCode</td><td>string</td><td>false</td><td>Giact response code</td></tr><tr><td>data.status</td><td>boolean</td><td>true</td><td>Result of ACH verification</td></tr></tbody></table>
