Skip to main content
POST
/
3p
/
api
/
v2
/
bank-accounts
/
validate
Validate bank account and routing number ( STABLE )
curl --request POST \
  --url https://api.grailpay.com/3p/api/v2/bank-accounts/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_number": "1234567890123456",
  "routing_number": "123456789",
  "version": "1",
  "billing_merchant_user_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "billing_processor_mid": "123456789"
}
'
{
  "status": true,
  "message": "Validation processed successfully",
  "data": {
    "uuid": "<string>",
    "account_number": "<string>",
    "routing_number": "<string>",
    "version": "<string>",
    "validity": true,
    "validated_at": "2023-11-07T05:31:56Z",
    "risk_score": 123,
    "confidence_level": "<string>"
  },
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Token-based authentication using Authorization: Bearer <YOUR_API_KEY> provided by the GrailPay Support Team.

Body

application/json
account_number
string
required
Example:

"1234567890123456"

routing_number
string
required
Example:

"123456789"

version
enum<integer>
required
Available options:
1,
2
billing_merchant_user_uuid
string<uuid>

(optional) The UUID of the merchant user to be billed for this account validation.

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

billing_processor_mid
string

(optional) The processor MID to be billed for this account validation.

Example:

"123456789"

Response

Successful Validation

status
boolean
Example:

true

message
string
Example:

"Validation processed successfully"

data
object
errors
string
Example:

null

error_code
string
Example:

null