Skip to main content
GET
/
3p
/
api
/
v1
/
bank-account
/
list
/
{user_uuid}
Get all bank accounts for a user ( SUNSETTING )
curl --request GET \
  --url https://api.grailpay.com/3p/api/v1/bank-account/list/{user_uuid} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "",
  "data": [
    {
      "uuid": "f7a809c8-1987-4627-b1ab-885550cbbb5a",
      "account_number": "12345678901234",
      "routing_number": "056008849",
      "account_name": "Jack Jones",
      "account_type": "savings",
      "aggregator_type": "manual",
      "created_at": "2023-10-16 16:19:42",
      "is_default": true
    },
    {
      "uuid": "9abaa7dc-b31d-4fdf-b8a5-e62c8a582c9b",
      "account_number": "1111222233330000",
      "routing_number": "011401533",
      "account_name": "Jack Jones",
      "account_type": "savings",
      "aggregator_type": "plaid",
      "created_at": "2023-11-29 13:31:48",
      "is_default": false
    }
  ],
  "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

Path Parameters

user_uuid
string<uuid>
required

UUID of the user

Response

Successful response

status
boolean
Example:

true

message
string
Example:

""

data
object[]
Example:
[
{
"uuid": "f7a809c8-1987-4627-b1ab-885550cbbb5a",
"account_number": "12345678901234",
"routing_number": "056008849",
"account_name": "Jack Jones",
"account_type": "savings",
"aggregator_type": "manual",
"created_at": "2023-10-16 16:19:42",
"is_default": true
},
{
"uuid": "9abaa7dc-b31d-4fdf-b8a5-e62c8a582c9b",
"account_number": "1111222233330000",
"routing_number": "011401533",
"account_name": "Jack Jones",
"account_type": "savings",
"aggregator_type": "plaid",
"created_at": "2023-11-29 13:31:48",
"is_default": false
}
]
errors
string
Example:

null

error_code
string
Example:

null