Open Account

Opens a new account for a customer of a given product type

SecurityOAuth2: OAuth2Flow
Request
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.

Request Body schema: application/json
customer_id
required
string

Customer ID of the customer for whom the account is being opened (see /customers)

required
object (AccountOpen)

Details of the account to open for the customer

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

post/v1/accounts/deposits
Request samples
application/json
{
  • "customer_id": "string",
  • "account_to_open": {
    }
}
Response samples
application/json
{
  • "data": {
    }
}
© 2023 Layer2 Financial Inc. All Rights Reserved.