{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/rest/guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"DailyPay API Access Overview","description":"Embed DailyPay On Demand Pay into your applications with our APIs and SDKs.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"dailypay-api-access-overview","__idx":0},"children":["DailyPay API Access Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DailyPay adheres to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://datatracker.ietf.org/doc/html/rfc6749"},"children":["OAuth 2.0 RFC 6749"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://openid.net/specs/openid-connect-core-1_0.html"},"children":["OpenID Connect"]}," specifications. This document will walk you through the steps to get an access token your application can use to make requests to the DailyPay REST API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We support the following methods:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/guides/auth/authorization-code-flow"},"children":["Authorization Code Flow"]},": This method is suitable when access to resources requires user consent, facilitating user consent and enabling your application to perform actions on their behalf."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For instance, retrieve ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference/accounts/listaccounts"},"children":["account details"]}," or initiate a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference/transfers/createtransfer"},"children":["transfer"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/guides/auth/client-credentials-flow"},"children":["Client Credential Flow"]},": This method is suitable for server-to-server operations, where additional levels of user consent may not be required."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For instance, you can utilize the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference/organizations/readorganization"},"children":["Organizations endpoint"]}," to view connected employer organizations."]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"before-you-begin","__idx":1},"children":["Before You Begin"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-register-your-application","__idx":2},"children":["1. Register your Application"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your DailyPay contact will ask you to provide"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a callback url that can receive the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}]}," result of the OAuth 2.0 authorization code flow"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["links to your privacy policy and terms of service"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["optionally, a logo for use on the OAuth consent screen"]}]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["OpenID Connect (OIDC)"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For additional security, you may be asked to provide DailyPay with a JSON Web Key Set (JWKS) or url for retrieving your JWKS to utilize signed ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://openid.net/specs/openid-connect-core-1_0.html#JWTRequests"},"children":["OIDC requests"]},".",{"$$mdtype":"Tag","name":"p","attributes":{},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-configure","__idx":3},"children":["2. Configure"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DailyPay will provide configuration values for your application:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_id"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_secret"]},", if applicable"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["scope"]},"a list of scopes your application can request, which may include \"offline_access\" and \"openid\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["redirect_uri"]}," the registered callback url you provided"]}]}]},"headings":[{"value":"DailyPay API Access Overview","id":"dailypay-api-access-overview","depth":1},{"value":"Before You Begin","id":"before-you-begin","depth":2},{"value":"1. Register your Application","id":"1-register-your-application","depth":3},{"value":"2. Configure","id":"2-configure","depth":3}],"frontmatter":{"seo":{"title":"DailyPay API Access Overview"}},"lastModified":"2026-07-14T14:30:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/rest/guides/auth","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}