Skip to content

DailyPay Public Rest API (3.0.0-beta01)

Embed DailyPay and On Demand Pay features into your application.

Download OpenAPI description
Overview
Languages
Servers
Mock server

https://developer.dailypay.com/_mock/developer-resources/documentation/

DailyPay REST API server

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.

DailyPay APIs and their respective environments

API NameProduction URLUAT URL
DailyPay Public REST APIhttps://api.dailypay.comhttps://api.dailypayuat.com
Data Exchange APIhttps://api.dailypay.comhttps://api.dailypayuat.com
Payments APIhttps://payments-api.dailypay.comhttps://payments-api.dailypayuat.com

Key differences between the Production and UAT environments:

EnvironmentPurposeAccessData
ProductionLive environment for processing production API TrafficRestricted access for authorized clients and users onlyReal production data exchanges including money movement
UATStaging environment for developers to test new features, updates, and changesLess restricted access for both developers and testersTest data and exchanges without money movement

Functionality Differences

FunctionUATProduction
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.

URL Encoding

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.

Examples

Exact Match

Filter for a paycheck with the status "IN_TRANSIT".

GET https://api.dailypay.com/paychecks?filter[status]=IN_TRANSIT

Multiple Filters: ALL

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.
  • 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.

DailyPay views the following items as backwards compatible non-breaking changes:

  • 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

Selecting the API Version

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.

Operations

Health

The health endpoint provides a simple health check for the API.

Functionality: Check the status of the API to ensure it is functioning correctly.

Operations

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.

Operations

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.

Operations

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.

Operations

People

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.

Operations

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

Operations

Card Tokenization

Securely tokenize personal cards for use in the accounts API.

Operations

Request

Obtain a PCI DSS Compliant card token. This token must be used in order to add a card to a user’s DailyPay account.

Bodyapplication/jsonrequired
first_namestringrequired

The first name or given name of the cardholder.

Example: "Edith"
last_namestringrequired

The last name or surname of the cardholder.

Example: "Clarke"
card_numberstringrequired

The full card number without spaces or hyphenation.

Example: "4007589999999912"
expiration_yearstringrequired

The four-digit year of expiration for the card.

Example: "2027"
expiration_monthstringrequired

The two-digit month of the expiration date for the card.

Example: "02"
cvvstring or null

The CVV card code.

Example: "123"
address_line_onestringrequired

The first line of the address associated with the card.

Example: "123 Kebly Street"
address_line_twostring or null

The second line of the address associated with the card.

Example: "Unit C"
address_citystringrequired

The city component of the address associated with the card.

Example: "Fort Lee"
address_statestringrequired

The two-letter state component of the address associated with the card.

Example: "NJ"
address_zip_codestringrequired

The 5 digit zip-code component of the address associated with the card.

Example: "07237"
address_countrystringrequired

The two-letter ISO 3166 country code component of the address associated with the card.

Example: "US"
import { SDK } from "@dailypay/dailypay";

const sdk = new SDK();

async function run() {
  const result = await sdk.cards.create({
    firstName: "Edith",
    lastName: "Clarke",
    cardNumber: "4007589999999912",
    expirationYear: "2027",
    expirationMonth: "02",
    cvv: "123",
    addressLineOne: "123 Kebly Street",
    addressLineTwo: "Unit C",
    addressCity: "Fort Lee",
    addressState: "NJ",
    addressZipCode: "07237",
    addressCountry: "US",
  });

  console.log(result);
}

run();

Responses

Returns an opaque string representing the card details.

Bodyapplication/json
tokenstringrequired

This token should be supplied in the generic_token field when creating a TransferAccount with transfer_account_type of DebitCard using the Extend API "Create a transfer account" endpoint.

Example: "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.ZR3Eq5MAuS_03RopT9QWK1MUiFFIOoZoDgwkiDWzz-7S6Zeda0JdvzwI51lHxuvi6EFdXLi7-1thIpPt49JMiLtzZgcf7UCJrVOZTf88JhIL5X5rvmnpO2NADfR9PVzrSV2AwxLCRy6vRfgCHGJZy1o5AZzwaaMLCRzqb3vdCaXn9gKvGPmvHKg9PkR-Zrfs9XDsRHeCVtfvu8PBzMNO5r_Dfo-fo3l3cyV4pKFtbvjlJXm--Ko5XiJPxffnBofmlYabXHku5yuo6IsVTnd9ETksMu1tnfr4T9AC14fiZew0FJetIayf_-kmiR1t7_aU3Q_A8Uwy7kTmxrFTvu6Cgw.yT7WptQfjKXswG_N.DY77q22ZGV5efeh6LNI6bWRmhZikY0dLAyIDVrK7nite1B7T_4IL9XdM7Luf9BOpXHTscu9y6Zqun-687bclLnzOYB7nNpV_DZM-5stWz2MuQeLiokqTfrF5jfXtpLDaDEiwAY9HHTBrKoD91Wkp5aX1CsB4jFBTfFDES0BQbTrRXqLTMIItZqKFbh5btqFCskfl7JKtozo3UgMNj__HnNiF5GUN-QgiOrYZKn7d2hXPpUABPmYGFkpXSXTnnCRGTVoZHoyh5L-4Apr8yVRUxUX1rrMFjOurr8VqmQPg-9-2Z7zxmwp5joms19JdgV2FhgJnbKilwFY4IQrYbhfLdfuApHgpptvrODLdPB5DJnT6tAfsJM_-LuFC7cg9kg6Xm6G-8jGEuO56sd-Og3cvK-jnhSR6Vu9O6nSGKZ1X3H0O_EHgMhHV-WTtf8KfrUHdVsSB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