Embed DailyPay and On Demand Pay features into your application.
DailyPay Public Rest API (3.0.0-beta01)
MIT
https://developer.dailypay.com/_mock/developer-resources/documentation/
https://api.{environment}.com/
API Status
Please subscribe to the DailyPay Status Page for the current status of the DailyPay Public REST API.
Environments
In general, DailyPay APIs have two environments per API and follow the naming structure of api.dailypay.com
for the Production environment and api.dailypayuat.com
for the UAT environment.
API Name | Production URL | UAT URL |
---|---|---|
DailyPay Public REST API | https://api.dailypay.com | https://api.dailypayuat.com |
Data Exchange API | https://api.dailypay.com | https://api.dailypayuat.com |
Payments API | https://payments-api.dailypay.com | https://payments-api.dailypayuat.com |
Environment | Purpose | Access | Data |
---|---|---|---|
Production | Live environment for processing production API Traffic | Restricted access for authorized clients and users only | Real production data exchanges including money movement |
UAT | Staging environment for developers to test new features, updates, and changes | Less restricted access for both developers and testers | Test data and exchanges without money movement |
Function | UAT | Production |
---|---|---|
Testing user data without PII | ✓ | |
Ability to mock transfer of funds | ✓ | |
Ability to integrate with custom code | ✓ | ✓ |
Access to real-world transactions like ACH Deposits | ✓ | |
Live customer data | ✓ | |
Live transactions moving real funds | ✓ |
Filtering
Efficiently retrieve DailyPay REST API resources with filtering queries by specifying query parameters in the request URL. This guide outlines how to build your queries.
The request URL for a filtered query is structured as follows:
https://api.dailypay.com/{endpoint}?filter[{field}]={value}
Each filter is a standard URL query parameter key-value pair. Filter parameters follow the jsonapi specification of a query parameter family, where the parameter key is the base name filter
followed by a square-bracketed ([]
) field name.
- The
{endpoint}
is the resource you want to filter, such as organizations, transfers, or paychecks. - A
{field}
is the attribute of a resource you want to filter by, such as a person's employee ID or a transfer's status. - A
{value}
is any value that could be a valid payload for the attribute, such as "DailyPay" for an organization name, or "PROCESSING" for a transfer status.
The symbols used in DailyPay's filter strings MUST be urlencoded.
For example, a curl would look like:
curl \
--get 'https://api.dailypayuat.com/rest/jobs' \
--header "Authorization: Bearer ${ACCESS_TOKEN}" \
--data-urlencode "filter[external_identifiers.primary_identifier]=040919553433" \
--include
When using one of our published SDKs, you do not have to transform or urlencode filter keys.
Filter for a paycheck with the status "IN_TRANSIT".
GET https://api.dailypay.com/paychecks?filter[status]=IN_TRANSIT
Use multiple query parameters across different fields filter[{field}]={value}
at the same time to fine tune the response. Each result will match all filters.
GET https://api.dailypay.com/paychecks?filter[job.id]=12345&filter[status]=PROCESSING
Versioning
Each API at DailyPay adheres to semver standards for versioning, represented as
MAJOR.MINOR.PATCH
:- The
MAJOR
version is incremented for breaking changes. - The
MINOR
version is incremented for backwards compatible changes. - The
PATCH
version is incremented for backwards compatible bug fixes.
- The
DailyPay will issue a new major API version when a breaking change occurs.
To avoid breaking your code, developers are responsible for updating their API calls to interact with new versions of the DailyPay APIs.
Communication about API changes will be in the changelogs for the APIs or available from your DailyPay representatives.
- New resources
- New optional query parameters
- New optional body properties on PATCH, POST, PUT
- New properties on existing API responses
- Property order changes on existing API responses
- Changes to the content, length, or format of error messages and other human-readable strings
Your API version controls the API behavior, properties in responses, available parameters in requests, and so on.
If you want to use API version v3
of the DailyPay Public REST API, specify the URL https://api.dailypay.com/rest
or https://api.dailypayuat.com/rest
.
Accounts
The accounts endpoint provides comprehensive information about money accounts. You can retrieve account details, including the account's unique ID, a link to the account holder, type, subtype, verification status, balance details, transfer capabilities, and user-specific information such as names, routing numbers, and partial account numbers.
Functionality: Access detailed user account information, verify account balances, view transfer capabilities, and access user-specific details associated with each account.
Jobs
The jobs endpoint provides access to comprehensive information about a person's employment. It enables you to retrieve details about individual jobs, including information about the organization they work for, status, wage rate, job title, location, paycheck settings, and related links to associated accounts.
- Mock server
https://developer.dailypay.com/_mock/developer-resources/documentation/rest/jobs/{job_id}
- DailyPay REST API server
https://api.dailypay.com/rest/jobs/{job_id}
- JavaScript
- Go
- C#
- Java
- Python
- Ruby
- cURL
import { SDK } from "@dailypay/dailypay";
const sdk = new SDK({
version: 3,
security: {
oauthClientCredentialsToken: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
tokenURL: "<YOUR_TOKEN_URL_HERE>",
},
},
});
async function run() {
const result = await sdk.jobs.read({
jobId: "aa860051-c411-4709-9685-c1b716df611b",
});
console.log(result);
}
run();
Returns the job object.
A job describes the financial relationship between a person and an organization.
Holds unique identifiers for the employee or job defined by external organizations.
The first name of the person as it is listed in their employee profile.
The last name of the person as it is listed in their employee profile.
Activation is the process of verifying that data is available for a Job, and that a person has verified their identity as the Person associated with the Job. Only paychecks from Jobs with activated
status will contribute to an earnings balance account.
To deactivate a job, update activation_status to DEACTIVATED
.
Enum Value | Description |
---|---|
DEACTIVATED | Job is no longer activated for DailyPay. |
DEACTIVATION_PENDING | Job is no longer activated for DailyPay, and deactivation is pending. |
ACTIVATION_REQUIRED | Job data is available but a person has not activated this Job for a DailyPay account. |
ACTIVATION_UNDER_REVIEW | Job data is available but a manual review step is underway. |
ACTIVATED | Job data is available and ready for use with DailyPay. A remainder pay account may still need to be configured by setting |
A monetary quantity expressed in units of the lowest denomination in the associated currency. For example, { amount: 7250, currency: 'USD' }
resolves to $72.50.
A three-letter ISO 4217 currency code. For example, USD
for US Dollars, EUR
for Euros, or JPY
for Japanese Yen.
SETUP_REQUIRED
Direct deposit is not set up for this Job. Update this resource's relationships to set up direct deposit.SETUP_PENDING
A system action is still pending.SETUP_COMPLETE
Direct deposit is set up for this Job.
The relationships between the job and other resources, including the accounts to which paychecks from this job are deposited.
The DEPOSITORY
account to which paychecks from this job will attempt to be deposited.
{ "data": { "type": "jobs", "id": "e9d84b0d-92ba-43c9-93bf-7c993313fa6f", "attributes": { "external_identifiers": { … }, "first_name": "Edith", "last_name": "Clarke", "activation_status": "DEACTIVATED", "wage_rate": { … }, "title": "Computer", "department": "Finance", "location": "New York, New York", "direct_deposit_status": "SETUP_COMPLETE" }, "links": { "self": "https://api.dailypay.com/rest/jobs/e9d84b0d-92ba-43c9-93bf-7c993313fa6f" }, "relationships": { "person": { … }, "organization": { … }, "direct_deposit_default_depository": { … }, "direct_deposit_default_card": { … } } } }
The version of the DailyPay API to use for this request. If not provided, the latest version of the API will be used.
A job describes the financial relationship between a person and an organization.
- Mock server
https://developer.dailypay.com/_mock/developer-resources/documentation/rest/jobs/{job_id}
- DailyPay REST API server
https://api.dailypay.com/rest/jobs/{job_id}
- JavaScript
- Go
- C#
- Java
- Python
- Ruby
- cURL
import { SDK } from "@dailypay/dailypay";
const sdk = new SDK({
version: 3,
security: {
oauthClientCredentialsToken: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
tokenURL: "<YOUR_TOKEN_URL_HERE>",
},
},
});
async function run() {
const result = await sdk.jobs.update({
jobId: "e9d84b0d-92ba-43c9-93bf-7c993313fa6f",
jobUpdateData: {
data: {
type: "jobs",
id: "e9d84b0d-92ba-43c9-93bf-7c993313fa6f",
attributes: {
activationStatus: "DEACTIVATED",
},
relationships: {
directDepositDefaultDepository: {
data: {
type: "accounts",
id: "2bc7d781-3247-46f6-b60f-4090d214936a",
},
},
directDepositDefaultCard: {
data: {
type: "accounts",
id: "2bc7d781-3247-46f6-b60f-4090d214936a",
},
},
},
},
},
});
console.log(result);
}
run();
Returns the updated Job object
A job describes the financial relationship between a person and an organization.
Holds unique identifiers for the employee or job defined by external organizations.
The first name of the person as it is listed in their employee profile.
The last name of the person as it is listed in their employee profile.
Activation is the process of verifying that data is available for a Job, and that a person has verified their identity as the Person associated with the Job. Only paychecks from Jobs with activated
status will contribute to an earnings balance account.
To deactivate a job, update activation_status to DEACTIVATED
.
Enum Value | Description |
---|---|
DEACTIVATED | Job is no longer activated for DailyPay. |
DEACTIVATION_PENDING | Job is no longer activated for DailyPay, and deactivation is pending. |
ACTIVATION_REQUIRED | Job data is available but a person has not activated this Job for a DailyPay account. |
ACTIVATION_UNDER_REVIEW | Job data is available but a manual review step is underway. |
ACTIVATED | Job data is available and ready for use with DailyPay. A remainder pay account may still need to be configured by setting |
A monetary quantity expressed in units of the lowest denomination in the associated currency. For example, { amount: 7250, currency: 'USD' }
resolves to $72.50.
A three-letter ISO 4217 currency code. For example, USD
for US Dollars, EUR
for Euros, or JPY
for Japanese Yen.
SETUP_REQUIRED
Direct deposit is not set up for this Job. Update this resource's relationships to set up direct deposit.SETUP_PENDING
A system action is still pending.SETUP_COMPLETE
Direct deposit is set up for this Job.
The relationships between the job and other resources, including the accounts to which paychecks from this job are deposited.
The DEPOSITORY
account to which paychecks from this job will attempt to be deposited.
{ "data": { "type": "jobs", "id": "e9d84b0d-92ba-43c9-93bf-7c993313fa6f", "attributes": { "external_identifiers": { … }, "first_name": "Edith", "last_name": "Clarke", "activation_status": "DEACTIVATED", "wage_rate": { … }, "title": "Computer", "department": "Finance", "location": "New York, New York", "direct_deposit_status": "SETUP_COMPLETE" }, "links": { "self": "https://api.dailypay.com/rest/jobs/e9d84b0d-92ba-43c9-93bf-7c993313fa6f" }, "relationships": { "person": { … }, "organization": { … }, "direct_deposit_default_depository": { … }, "direct_deposit_default_card": { … } } } }
Request
Returns a collection of job objects. This object represents a person's employment details. See Filtering Jobs for a description of filterable fields.
Limit the results to documents with an external identifier matching exactly at the specified key.
Limit the results to documents with an external identifier matching exactly at the specified key.
Limit the results to documents with an external identifier matching exactly at the specified key.
Not yet supported Limit the results to documents related to a specific organization
- Mock server
https://developer.dailypay.com/_mock/developer-resources/documentation/rest/jobs
- DailyPay REST API server
https://api.dailypay.com/rest/jobs
- JavaScript
- Go
- C#
- Java
- Python
- Ruby
- cURL
import { SDK } from "@dailypay/dailypay";
const sdk = new SDK({
version: 3,
security: {
oauthClientCredentialsToken: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
tokenURL: "<YOUR_TOKEN_URL_HERE>",
},
},
});
async function run() {
const result = await sdk.jobs.list();
console.log(result);
}
run();
Returns a list of job objects.
Holds unique identifiers for the employee or job defined by external organizations.
The first name of the person as it is listed in their employee profile.
The last name of the person as it is listed in their employee profile.
Activation is the process of verifying that data is available for a Job, and that a person has verified their identity as the Person associated with the Job. Only paychecks from Jobs with activated
status will contribute to an earnings balance account.
To deactivate a job, update activation_status to DEACTIVATED
.
Enum Value | Description |
---|---|
DEACTIVATED | Job is no longer activated for DailyPay. |
DEACTIVATION_PENDING | Job is no longer activated for DailyPay, and deactivation is pending. |
ACTIVATION_REQUIRED | Job data is available but a person has not activated this Job for a DailyPay account. |
ACTIVATION_UNDER_REVIEW | Job data is available but a manual review step is underway. |
ACTIVATED | Job data is available and ready for use with DailyPay. A remainder pay account may still need to be configured by setting |
A monetary quantity expressed in units of the lowest denomination in the associated currency. For example, { amount: 7250, currency: 'USD' }
resolves to $72.50.
A three-letter ISO 4217 currency code. For example, USD
for US Dollars, EUR
for Euros, or JPY
for Japanese Yen.
SETUP_REQUIRED
Direct deposit is not set up for this Job. Update this resource's relationships to set up direct deposit.SETUP_PENDING
A system action is still pending.SETUP_COMPLETE
Direct deposit is set up for this Job.
The relationships between the job and other resources, including the accounts to which paychecks from this job are deposited.
The DEPOSITORY
account to which paychecks from this job will attempt to be deposited.
{ "data": [ { "type": "jobs", "id": "e9d84b0d-92ba-43c9-93bf-7c993313fa6f", "attributes": { … }, "links": { … }, "relationships": { … } } ] }
Organizations
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.
Paychecks
The paychecks endpoint provides detailed information about paychecks. You can retrieve individual paycheck details, including the person and job associated with the paycheck, its status, pay period, expected deposit date, total debited amount, withholdings, earnings, and currency.
Functionality: Retrieve specific paycheck details, including payee and job information, and monitor the status and financial details of each paycheck.
Transfers
The transfers endpoint allows you to initiate and track money movement. You can access transfer details, including the transfer's unique ID, amount, currency, status, schedule, submission and resolution times, fees, and related links to the involved parties.
Functionality Retrieve transfer information, monitor transfer statuses, view transfer schedules, and access relevant links for the source, destination, and origin of the transfer.
Important - Account origin: a user initiated movement of money from one account to another - Paycheck origin: an automatic (system-generated) movement of money as part of payroll