The organizations endpoint provides details about a business entity, such as an employer, or a group of people, such as a division.
The response includes the organization name and ID which can be used to make subsequent endpoint calls related to the organization and its employees.
Lookup organization by ID for a detailed view of single organization.
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 details about an organization.
Bad Request
Invalid authentication credentials
Not authorized to perform this operation
Resource was not found
Unexpected error occured
{- "data": {
- "type": "organizations",
- "id": "f0b30634-108c-439c-a8c1-c6a91197f022",
- "attributes": {
- "name": "DailyPay",
- "products": [
- "ODP",
- "FRIDAY"
]
}, - "links": {
}
}
}
Get organizations with an optional filter
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 a list of organization objects that match the filter. If no organizations match the filter, the resulting collection will be empty. If no filter is provider, the resulting collection will include all accessible organizations.
required | Array of objects (OrganizationResource) |
Bad Request
Invalid authentication credentials
Not authorized to perform this operation
Unexpected error occured
{- "data": [
- {
- "type": "organizations",
- "id": "f0b30634-108c-439c-a8c1-c6a91197f022",
- "attributes": {
- "name": "DailyPay",
- "products": [
- "ODP",
- "FRIDAY"
]
}, - "links": {
}
}
]
}