Payment Methods

POST /vet_payment_method

Changed on

Validates whether a consumer has entered a valid ABA/routing number or card number. Use this endpoint when you want to validate payment method information before collecting additional details (e.g., in an IVR flow).</br></br>ACH routing numbers are validated using a table lookup against the Federal Reserve's database of valid routing numbers. Credit and debit cards are validated using the Luhn checksum algorithm. Submit only one of <code>payment_method_ach_aba_pii</code> or <code>payment_method_card_number_pii</code> per request.

Request

  • Base URL
    https://api.paynearme-sandbox.com/json-api
  • Auth
    • OAuth 2
      Client credentials
      Token URLhttps://login.paynearme.com/oauth/token
    • or API key in query parameter signature

Request body

OR

Example request

{
  "payment_method_ach_aba_pii": "325271268"
}

Response

Payment Method Valid

OR

Example response

{
  "status": "error"
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property errors from the response with the status

    6 more changes in this revision