Open Lockbox Financial Account

Opens a lockbox financial account for a customer profile where deposited funds cannot be withdrawn by the customer.

Open Lockbox Financial Account

This endpoint opens a special restricted financial account—called a lockbox—for a specific customer profile. Funds transferred into a lockbox account cannot be withdrawn by the customer, making it suitable for fund holds, compliance restrictions, or escrow-like scenarios. Only the partner or system administrator can move funds in or out of the lockbox; the customer retains visibility of the balance but cannot initiate withdrawals.

Endpoint

POST /netevia/lockboxfinancialAccount/{profileId}

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when a partner needs to create a restricted-access account to temporarily freeze or safeguard customer funds. Common scenarios include fraud investigations, active disputes, regulatory compliance holds, or any business rule that requires limiting a customer's access to specific funds. The lockbox model ensures the customer can see the balance but cannot independently move the money.

Path Parameters

ParameterTypeRequiredDescription
profileIdinteger (int32)YesThe unique identifier of the customer profile for whom the lockbox account is to be created.

Query Parameters

ParameterTypeRequiredDescription
namestringNoAn optional display name for the lockbox account. Defaults to an empty string if not provided.

Response

200 OK

FieldTypeDescription
financialAccountIdstringUnique identifier for the newly created lockbox financial account.
userProfileIdinteger (int32)The customer profile ID associated with this account.
namestringDisplay name of the lockbox account.
accountNumberstringThe account number assigned to the lockbox account.
routingNumberstringThe routing number associated with the lockbox account.
statusstringCurrent status of the lockbox account (e.g., ACTIVE).
availableCashinteger (int64)Available balance in the account, expressed in cents.
createdstring (date-time)ISO 8601 timestamp of when the account was created.
cardProfileSetsarrayList of card profile set configurations associated with the account.
cardProductobjectCard product details linked to the account, including name, id, and usage.
isLockBoxAccountbooleanAlways true for accounts created by this endpoint, confirming the lockbox restriction.
{
  "financialAccountId": "fa_abc123def456",
  "userProfileId": 78901,
  "name": "Compliance Hold Account",
  "accountNumber": "XXXXXXXXXX",
  "routingNumber": "021000021",
  "status": "ACTIVE",
  "availableCash": 0,
  "created": "2026-06-09T10:30:00Z",
  "cardProfileSets": [],
  "cardProduct": {
    "name": "Netevia Business Card",
    "id": "cp_xyz789",
    "usage": "DEBIT"
  },
  "isLockBoxAccount": true
}

Error Codes

CodeWhen it happens
400Missing required fields or validation error (e.g., invalid profileId format)
401Token missing, expired, or invalid
403Insufficient permissions — only partners or system administrators may create lockbox accounts
404Customer profile not found for the provided profileId
500Internal server error

Common Mistakes

  • Passing a non-integer value for profileId in the path — it must be a valid int32.
  • Attempting to withdraw funds from a lockbox account as the customer — only the partner or administrator can initiate fund movements.
  • Expecting the customer to have transfer rights on the returned account — they have view-only access to the balance.
  • Omitting the Authorization: Bearer header or using an expired token, resulting in a 401 response.

Related Endpoints

  • POST /netevia/financialAccount/{profileId} — Opens a standard (withdrawable) financial account for a customer profile.
  • GET /netevia/financialAccount/{profileId} — Retrieves all financial accounts, including lockbox accounts, for a customer profile.
  • POST /api/auth/v2 — Obtain a Bearer token for authentication.
  • POST /api/auth/refresh — Refresh an expiring Bearer token.

Example

curl -X POST "https://api.banking.netevia.dev/netevia/lockboxfinancialAccount/78901?name=Compliance%20Hold%20Account" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Path Params
int32
required
Query Params
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json