---
title: "POST /validate_ach_payment_method"
method: POST
path: "/validate_ach_payment_method"
tags: ["Payment Methods"]
---

# POST /validate_ach_payment_method

`POST /validate_ach_payment_method`

## Request

- Base URL: `https://api.paynearme-sandbox.com/json-api`
- URL: `https://api.paynearme-sandbox.com/json-api/validate_ach_payment_method`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://login.paynearme.com/oauth/token`
  - API key in query parameter `signature`

This endpoint can be used to verify an ACH payment method to confirm the bank account is valid and belongs to the consumer. To verify a bank account is valid, pass the following parameters into the request:<ul><li><code>ach_aba_pii</code></li><li><code>ach_account_pii</code></li></ul> If successful, the response will include a <code>verification_response</code> and an <code>account_response_code</code> combination that indicates the level of risk. For more information on these combinations, see [ACH Verification Services](https://apidocs.paynearme.com/devdocs/docs/ach-verification-services).

## Request body

- ValidatePaymentMethod: Verifies the current status of the bank account in real-time and reports any negative history associated with the account.
  - `site_identifier` string, required: Identifies your client site.
  - `timestamp` string, required: The Unix Epoch time of the call
  - `version` string, required: The version of the API. This version must match the version associated with your API key pair.
  - `signature` string: The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm. **NOTE:** This field is required when authenticating with the HMAC signature method; it is not required when authenticating with OAuth 2.0.
  - `ach_aba_pii` string: The 9-digit ABA/routing number to verify.
  - `ach_account_pii` string: The account number of the bank account.

## Response `200`

Payment Method Valid

- union
  - ValidatePaymentMethodResponse200
    - `status` 'ok': The status of the validation request.
    - `giact` ValidatePaymentMethodResponse200Giact: The verification and account response codes for the bank account.
      - `verification_response` string: The verification code associated with the bank account. See [ACH Verification Services](https://apidocs.paynearme.com/devdocs/docs/ach-verification-services) for more information.
      - `account_response_code` string: The Account Response Code associated with the bank account. See [ACH Verification Services](https://apidocs.paynearme.com/devdocs/docs/ach-verification-services) for more information.
  - ErrorEnvelope: Returned with HTTP 200 for every failure except a rejected OAuth 2.0 access token, which returns HTTP 401 with the same shape. Every response carries a status; on failure it is "error" and the errors array describes what went wrong.
    - `status` 'error', required
    - `errors` ErrorDetail[], required: One entry per failure.
      - `description` string, required: Human-readable description of the failure.
      - `message` string: Parameter-validation detail (APPS-17178).
      - `receipt` string: Receipt text, where the failure relates to a payment.
      - `format` string: Expected format, for parameter-validation failures.
      - `example` string: Example of a well-formed value.
      - `details` object: Processor response details (APPS-18223).

## Other responses

- `401`: OAuth 2.0 requests only. The `Authorization` header has no Bearer token, the access token is invalid, expired, or issued for a different site, or the `site_identifier` does not match any site. The response does not say which. If the request is rejected before it reaches PayNearMe, the body may not be JSON, so detect this error by the HTTP status. HMAC-signed requests never receive this status.

## Changes

- **2026-11-03** `907541f733a3`: 3 breaking, 2 warning, 5 info
  - the request property `timestamp` became required
  - added `#/components/schemas/validate_payment_method_response_200, #/components/schemas/ErrorEnvelope` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `object` to no type for status `200`
  - removed the optional property `giact` from the response with the `200` status
  - …6 more

[Operation history](https://skmtc.dev/paynearme/apis/paynearme-api-v3-0/changes/validate_ach_payment_method/post.md)

---

[API](https://skmtc.dev/paynearme/apis/paynearme-api-v3-0.md) - [All operations](https://skmtc.dev/paynearme/apis/paynearme-api-v3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/paynearme/apis/paynearme-api-v3-0/revisions/907541f733a3?raw)
