# Accept Deposit Accept a Deposit. This is only needed for PULL deposits, PUSH deposits do not need to be accepted. On acceptance, this will initiate the funds pull from the source counterparty. It is not reversible Endpoint: POST /v1/deposits/{deposit_id}/accept Version: 1.1.2 Security: OAuth2Flow ## Path parameters: - `id` (string, required) Deposit ID ## Header parameters: - `Authorization` (string) OAuth bearer token (see authentication flows) - `x-l2f-request-id` (string) Optional Unique ID per request, useful for fault resolution/diagnosis and audit. - `x-l2f-idempotency-id` (string) Unique ID used to safely retry an operation. See idempotency section for more details. - `x-signature` (string) Client signature to validate the provence of the API request. See signing section for more details. - `x-timestamp` (string) Current timestamp, represented AS unix epoch seconds. Mandatory when x-signature is provided. ## Response 200 fields (application/json): - `data` (object, required) - `data.id` (string, required) Unique ID of the deposit instance, to be used to lookup deposit status and historical deposits - `data.status` (string, required) Status of the deposit. * REQUESTED - Deposit request is created and deposits can be made. * EXECUTED - At least 1 deposit was received and successfully processed. * FAILURE - There is a problem or failure with an incoming deposit. View deposit details for more information. Enum: "REQUESTED", "EXECUTED", "FAILURE" ## Response 400 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 401 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 404 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 500 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description