The people endpoint allows you to see information related to who owns resources such as jobs and accounts.
Functionality: Retrieve limited details about a person, including their name, global status, and state of residence.
Returns details about a person.
DailyPay-API-Version | integer Default: 3 The version of the DailyPay API to use for this request. If not provided, the latest version of the API will be used. Example: 3 |
Accept required | string The media type of the requested payload. This should be set to Value: "application/vnd.api+json" |
Returns the person object.
Bad Request
Invalid authentication credentials
Not authorized to perform this operation
Resource was not found
Unexpected error occured
{- "data": {
- "type": "people",
- "id": "aa860051-c411-4709-9685-c1b716df611b",
- "attributes": {
- "disallow_reason": null,
- "state_of_residence": "NY"
},
}
}
Update a person object.
DailyPay-API-Version | integer Default: 3 The version of the DailyPay API to use for this request. If not provided, the latest version of the API will be used. Example: 3 |
Accept required | string The media type of the requested payload. This should be set to Value: "application/vnd.api+json" |
Returns the person object.
required | object (PersonResource) | ||||||||||||||||
|
Bad Request
Invalid authentication credentials
Not authorized to perform this operation
Resource was not found
Unprocessable entity
Unexpected error occured
{- "data": {
- "type": "people",
- "id": "aa860051-c411-4709-9685-c1b716df611b",
- "attributes": {
- "state_of_residence": "NY"
}
}
}
{- "data": {
- "type": "people",
- "id": "aa860051-c411-4709-9685-c1b716df611b",
- "attributes": {
- "disallow_reason": null,
- "state_of_residence": "NY"
},
}
}