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"
}'
{
  "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

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team

Body

application/json
account_number
string
required
Example:

"1234567890123456"

routing_number
string
required
Example:

"123456789"

version
enum<integer>
required

Response

Successful Validation

status
boolean
Example:

true

message
string
Example:

"Validation processed successfully"

data
object
errors
string
Example:

null

error_code
string
Example:

null