POST /vet_payment_method
Changed onValidates 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 URLhttps://api.paynearme-sandbox.com/json-api
- Auth
- OAuth 2Client credentialsToken URLhttps://login.paynearme.com/oauth/token
- or API key in query parameter signature
Request body
Example request
{
"payment_method_ach_aba_pii": "325271268"
}Response
Payment Method Valid
Example response
{
"status": "error"
}Changes
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
errorsfrom the response with the status
6 more changes in this revision
- breaking