Authentication
The Deel. PayAndBill API uses OAuth 2.0 Authorization Code flow for authentication. All API endpoints (except the authentication endpoints themselves) require a valid Bearer token.
OAuth 2.0 Flow
Request Authorization
Redirect the user to the authorization endpoint to obtain an authorization code.
Refreshing Tokens
When your access token expires, use the refresh token to obtain a new one without requiring the user to re-authorize:
Required Headers
All authenticated requests must include the following headers:
