Skip to navigation

Create the bank details of the worker of an EOR hire

Beta

Add the bank account payroll pays into, as the worker of the hire, then read the hire intent again. Use it when the intent names bank_account (or bank_details) as the next action. Send the worker token (PAT:WORKER) in Authorization. When bank_account is already done, nothing is written: change the account with PATCH /rest/eor/workers/banks/{bank_id}. Send an Idempotency-Key to retry safely: without one, a retry while the first write still runs can add a second bank account.

Token scopes: worker:write

Beta: this version requires the X-Beta: true request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-02-19.

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

contract_idstringRequired

Public id of the EOR contract (the client contract returned by POST /rest/eor)

Headers

X-BetaenumRequiredDefaults to true

Opts in to the beta version of this endpoint. Must be true.

Allowed values:

Request

This endpoint expects an object.
datalist of objectsRequired

Bank fields as key and value pairs, the same as POST /rest/eor/workers/banks. The keys bank_country_code and currency_code are required. GET /rest/eor/workers/banks-guide/country/{country}/currency/{currency} lists the other keys.

Response

The EOR hire intent after the bank details. bank_account is done once the account is saved; payroll_and_compliance_info stays open until payroll_fields is done too. Change the account later with PATCH /rest/eor/workers/banks/{bank_id}.

dataobject
The EOR hire intent, in the Deel Intent Standard envelope

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
502
Bad Gateway Error