# Get a person object Returns details about a person. Endpoint: GET /rest/people/{person_id} Version: 3.0.0-beta01 Security: oauth_client_credentials_token, oauth_user_token ## Header parameters: - `DailyPay-API-Version` (integer) The version of the DailyPay API to use for this request. If not provided, the latest version of the API will be used. - `Accept` (string) The media type of the requested payload. This should be set to to signify your client can receive responses in the JSON:API format. For more details, see https://jsonapi.org. Enum: "application/vnd.api+json", "*/*" ## Path parameters: - `person_id` (string, required) Unique ID of the person Example: "aa860051-c411-4709-9685-c1b716df611b" ## Response 200 fields (application/vnd.api+json): - `data` (object, required) - `data.type` (string, required) - `data.id` (string, required) Example: "aa860051-c411-4709-9685-c1b716df611b" - `data.attributes` (object, required) A person is a record of someone known to DailyPay. There will only ever be one person record per human being. - `data.attributes.disallow_reason` (string,null, required) The statuses and required actions are: - The person has not been disallowed, and is free to use DailyPay. - The person has not completed registration or account verification. - The person has an outstanding, unrecoverable balance with DailyPay, and should contact support. - Access has been revoked. Enum: "INACTIVE", "DELINQUENT", "BANNED", null - `data.attributes.state_of_residence` (string) The two-letter abbreviation for the state in which the person resides, if located in the United States. This is used for regulatory compliance purposes. Example: "NY" - `data.attributes.products` (object, required) Products that the person is enrolled in or eligible for. - `data.attributes.products.dailypay_card` (object, required) The DailyPay Visa®️ Prepaid Card program. - `data.attributes.products.dailypay_card.eligible` (boolean, required) Whether the person is eligible to enroll in the DailyPay Visa®️ Prepaid Card program. Example: true - `data.attributes.products.dailypay_card.enrolled` (boolean, required) Whether the person is enrolled in the DailyPay Visa®️ Prepaid Card program. - `data.links` (object, required) - `data.links.self` (string, required) The URI for the user ## Response 400 fields (application/vnd.api+json): - `errors` (array, required) A list of errors that occurred. - `errors.code` (string, required) A code that indicates what went wrong. Please consider this an open enum, where new codes may be added over time. Example: "INVALID_PARAMETERS" - `errors.status` (string, required) The HTTP status code for the error. Example: "400" - `errors.detail` (string, required) A message that explains the meaning of the error code. Developers are advised not to make programmatic use of this value, as it may change Example: "The request failed because it was not in the correct format or did not contain valid data." - `errors.links` (object, required) A list of links to resources that may be helpful in resolving the error. - `errors.links.about` (string) Example: "https://developer.dailypay.com/tag/Errors" - `errors.source` (object) Location in the request that may have caused the error. - `errors.source.parameter` (string) The name of the parameter that caused the error. Example: "filter[first_name]" - `errors.source.pointer` (string) A JSON Pointer to the location in the request that caused the error. Example: "/data/attributes/first_name" - `errors.source.header` (string) The name of the header that caused the error. Example: "Accept" - `errors.meta` (object, required) Additional information about the error. - `errors.meta.request_id` (string) A UUID for the originating request. Example: "3c526bf4-f3c0-4c4a-a4cb-95f7db8b3bbe" - `errors.meta.trace_id` (string) An ID used for tracing purposes. Example: "4016616108459136584" ## Response 401 fields (application/vnd.api+json): - `errors` (array, required) A list of errors that occurred. - `errors.status` (string, required) The HTTP status code for the error. Example: "400" - `errors.detail` (string, required) A message that explains the meaning of the error code. Developers are advised not to make programmatic use of this value, as it may change Example: "The request failed because it was not in the correct format or did not contain valid data." - `errors.links` (object, required) A list of links to resources that may be helpful in resolving the error. - `errors.links.about` (string) Example: "https://developer.dailypay.com/tag/Errors" - `errors.source` (object) Location in the request that may have caused the error. - `errors.source.parameter` (string) The name of the parameter that caused the error. Example: "filter[first_name]" - `errors.source.pointer` (string) A JSON Pointer to the location in the request that caused the error. Example: "/data/attributes/first_name" - `errors.source.header` (string) The name of the header that caused the error. Example: "Accept" - `errors.meta` (object, required) Additional information about the error. - `errors.meta.request_id` (string) A UUID for the originating request. Example: "3c526bf4-f3c0-4c4a-a4cb-95f7db8b3bbe" - `errors.meta.trace_id` (string) An ID used for tracing purposes. Example: "4016616108459136584" - `errors.code` (string, required) A code that indicates what went wrong. Enum: "INVALID_TOKEN", "UNAUTHORIZED" ## Response 403 fields (application/vnd.api+json): - `errors` (array, required) A list of errors that occurred. - `errors.status` (string, required) The HTTP status code for the error. Example: "400" - `errors.detail` (string, required) A message that explains the meaning of the error code. Developers are advised not to make programmatic use of this value, as it may change Example: "The request failed because it was not in the correct format or did not contain valid data." - `errors.links` (object, required) A list of links to resources that may be helpful in resolving the error. - `errors.links.about` (string) Example: "https://developer.dailypay.com/tag/Errors" - `errors.source` (object) Location in the request that may have caused the error. - `errors.source.parameter` (string) The name of the parameter that caused the error. Example: "filter[first_name]" - `errors.source.pointer` (string) A JSON Pointer to the location in the request that caused the error. Example: "/data/attributes/first_name" - `errors.source.header` (string) The name of the header that caused the error. Example: "Accept" - `errors.meta` (object, required) Additional information about the error. - `errors.meta.request_id` (string) A UUID for the originating request. Example: "3c526bf4-f3c0-4c4a-a4cb-95f7db8b3bbe" - `errors.meta.trace_id` (string) An ID used for tracing purposes. Example: "4016616108459136584" - `errors.code` (string, required) A code that indicates what went wrong. Enum: "FORBIDDEN" ## Response 404 fields (application/vnd.api+json): - `errors` (array, required) A list of errors that occurred. - `errors.status` (string, required) The HTTP status code for the error. Example: "400" - `errors.detail` (string, required) A message that explains the meaning of the error code. Developers are advised not to make programmatic use of this value, as it may change Example: "The request failed because it was not in the correct format or did not contain valid data." - `errors.links` (object, required) A list of links to resources that may be helpful in resolving the error. - `errors.links.about` (string) Example: "https://developer.dailypay.com/tag/Errors" - `errors.source` (object) Location in the request that may have caused the error. - `errors.source.parameter` (string) The name of the parameter that caused the error. Example: "filter[first_name]" - `errors.source.pointer` (string) A JSON Pointer to the location in the request that caused the error. Example: "/data/attributes/first_name" - `errors.source.header` (string) The name of the header that caused the error. Example: "Accept" - `errors.meta` (object, required) Additional information about the error. - `errors.meta.request_id` (string) A UUID for the originating request. Example: "3c526bf4-f3c0-4c4a-a4cb-95f7db8b3bbe" - `errors.meta.trace_id` (string) An ID used for tracing purposes. Example: "4016616108459136584" - `errors.code` (string, required) A code that indicates what went wrong. Enum: "RECORD_NOT_FOUND", "NOT_FOUND" ## Response 500 fields (application/vnd.api+json): - `errors` (array, required) A list of errors that occurred. - `errors.status` (string, required) The HTTP status code for the error. Example: "400" - `errors.detail` (string, required) A message that explains the meaning of the error code. Developers are advised not to make programmatic use of this value, as it may change Example: "The request failed because it was not in the correct format or did not contain valid data." - `errors.links` (object, required) A list of links to resources that may be helpful in resolving the error. - `errors.links.about` (string) Example: "https://developer.dailypay.com/tag/Errors" - `errors.source` (object) Location in the request that may have caused the error. - `errors.source.parameter` (string) The name of the parameter that caused the error. Example: "filter[first_name]" - `errors.source.pointer` (string) A JSON Pointer to the location in the request that caused the error. Example: "/data/attributes/first_name" - `errors.source.header` (string) The name of the header that caused the error. Example: "Accept" - `errors.meta` (object, required) Additional information about the error. - `errors.meta.request_id` (string) A UUID for the originating request. Example: "3c526bf4-f3c0-4c4a-a4cb-95f7db8b3bbe" - `errors.meta.trace_id` (string) An ID used for tracing purposes. Example: "4016616108459136584" - `errors.code` (string, required) A code that indicates what went wrong. Enum: "UNEXPECTED_ERROR"