curl --request GET \
--url https://api.grailpay.com/api/v3/people/{uuid} \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "",
"data": {
"person": {
"client_reference_id": "reference_12345",
"status": "APPROVED",
"uuid": "7c41f6a2-a4b9-4df8-9225-2c1b7312042e",
"payout_type": "batch",
"first_name": "John",
"last_name": "Dew",
"email": "[email protected]",
"phone": "2457856490",
"address": {
"line_1": "10554 W Quarles Ave",
"line_2": "Suite 123",
"city": "Littleton",
"state": "CO",
"zip": "80127"
},
"timestamps": {
"created_at": "2024-06-25 13:57:03"
}
},
"bank_accounts": [
{
"aggregator_type": "manual",
"uuid": "9b97f121-a449-4b52-9f36-6c55f18394d6",
"is_default": true,
"account_number": "********1234",
"routing_number": "*****6789",
"account_name": "John Doe",
"account_type": "checking",
"timestamps": {
"created_at": "2024-06-25 13:57:03"
}
}
],
"relations": {
"merchant": {
"uuid": "c6bcfbbb-98ff-4d8b-a8f5-1559c3dcb718"
}
}
},
"errors": null,
"request_id": "2d6a4c39-8fcf-4d80-9189-b4764eac31f2"
}This endpoint will return detail of the person. When making a request to an API for a person’s information, you typically need to provide a unique identifier UUID. The UUID is generated at the time of registration and is associated with the person’s account.
curl --request GET \
--url https://api.grailpay.com/api/v3/people/{uuid} \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "",
"data": {
"person": {
"client_reference_id": "reference_12345",
"status": "APPROVED",
"uuid": "7c41f6a2-a4b9-4df8-9225-2c1b7312042e",
"payout_type": "batch",
"first_name": "John",
"last_name": "Dew",
"email": "[email protected]",
"phone": "2457856490",
"address": {
"line_1": "10554 W Quarles Ave",
"line_2": "Suite 123",
"city": "Littleton",
"state": "CO",
"zip": "80127"
},
"timestamps": {
"created_at": "2024-06-25 13:57:03"
}
},
"bank_accounts": [
{
"aggregator_type": "manual",
"uuid": "9b97f121-a449-4b52-9f36-6c55f18394d6",
"is_default": true,
"account_number": "********1234",
"routing_number": "*****6789",
"account_name": "John Doe",
"account_type": "checking",
"timestamps": {
"created_at": "2024-06-25 13:57:03"
}
}
],
"relations": {
"merchant": {
"uuid": "c6bcfbbb-98ff-4d8b-a8f5-1559c3dcb718"
}
}
},
"errors": null,
"request_id": "2d6a4c39-8fcf-4d80-9189-b4764eac31f2"
}Token-based authentication using Authorization: Bearer <YOUR_API_KEY> provided by the GrailPay Support Team.
person UUID
"7c41f6a2-a4b9-4df8-9225-2c1b7312042e"