Update Account

Update an account details. Currently only the account status can be updated.

SecurityOAuth2: OAuth2Flow
Request
path Parameters
id
required
string

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

Request Body schema: application/json
Array of objects (PatchAccount)

Follow standard patch guidance

updated_by
string

Description or reference of the system/person who requested the change

reason
string

String representing the reason for the change.

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

patch/v1/accounts/payments/{id}
Request samples
application/json
{
  • "updates": [
    ],
  • "updated_by": "string",
  • "reason": "string"
}
Response samples
application/json
{
  • "data": {
    }
}
© 2023 Layer2 Financial Inc. All Rights Reserved.