v1

latestOpenAPI 3.0.12026-07-264182324.3 KB
Payment Methods

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.

post/vet_payment_method

Request body

OR

Example request

{
  "payment_method_ach_aba_pii": "325271268"
}

Response

Payment Method Valid

status'ok' | 'error'

The status of the validation request.

errorsstring[]

A list of error messages returned when validation fails.