Manage Customer Accounts
To process payments through Inventi, accounts need to be registered in the platform. You have two options:Use Existing IBANs
Forward your existing customer IBANs to the platform for payment processing
Generate New IBANs
Create new accounts with Inventi-generated IBANs connected to CSM
In this section, you’ll learn how to:
- Register accounts (existing or new) in the platform
- Support both private individuals and business entities
- Manage account lifecycle (open, close, update)
Account Types
Private Accounts
Individual customer accounts with personal holder identity
Legal Accounts
Business accounts requiring organization identification
API Reference
Search Accounts
Find accounts with cursor pagination
Create Account
Create a new customer account
Get Account
Retrieve account details by ID
Update Account
Modify account information
Change Status
Open or close an account
Business Requirements
Account registration must be idempotent
Account registration must be idempotent
Every
POST /accounts request must include an Idempotency-Key header to prevent duplicate accounts during retries.Implementation:- Generate a UUID per account creation intent
- Persist the key until creation is confirmed
- Retry with the same key if timeout occurs
clientAccountId must be unique
clientAccountId must be unique
Your
clientAccountId links platform accounts to your internal records and must be unique across your system.Store this mapping:Enforce a uniqueness constraint in your database before calling the API.
Account type determines required fields
Account type determines required fields
Account type cannot be changed after creation.
Status changes require dedicated endpoint
Status changes require dedicated endpoint
Never change account status through the update endpoint.
Search must use cursor pagination
Search must use cursor pagination
The accounts endpoint uses cursor-based pagination for consistent results.Rules:
limit: 1-100 (default 20)- Use
meta.nextPageTokento page forward - Use
meta.previousPageTokento page backward - Treat tokens as opaque (do not parse)
Audit logging is required
Audit logging is required
Log these events for compliance:
- Account registration (clientAccountId, platform ID, IBAN)
- Status changes (who, when, old → new)
- Update operations (before → after values)
- API failures and response codes
Account Lifecycle
Register an Account
Use this endpoint to register a new account in the platform. If you provide bank details (countryCode, bankCode, accountCode), Inventi generates a new IBAN. Alternatively, you can register existing IBANs by providing them directly.Request Fields
- Required
- Optional
string
required
PRIVATE or LEGALstring
required
Full name of account holder
string
Your unique identifier for this account (optional per the Create Account API reference, which says “You can optionally provide a unique clientAccountId” - this page wrongly listed it as required; move it to the Optional tab after review)
string
required
ISO country code (e.g.,
LT)string
required
Bank identifier code
string
required
Account number suffix
Response Codes
Account Operations
- Get Account
- Update Account
- Change Status
Retrieve account details by platform ID.
Search Accounts
Use cursor-based pagination to search and list accounts.Filter Parameters
Pagination Flow
Data Model
Store these fields for each account:string
required
Platform account ID (primary key)
string
required
Your internal reference (unique)
string
required
Generated IBAN for the account
string
required
OPEN or CLOSEDstring
required
PRIVATE or LEGALstring
required
Account holder’s name
array
required
Status changes and updates with timestamps
Integration Checklist
1
Implement idempotent creation
Generate and persist
Idempotency-Key for each account creation intent2
Enforce unique clientAccountId
Add database constraint before calling the API
3
Store account mappings
Persist
clientAccountId ⇄ id ⇄ iban relationships4
Separate data and status updates
Use
PATCH for data, /status endpoint for open/close5
Implement cursor pagination
Handle
nextPageToken and previousPageToken for account listing6
Add audit logging
Log all create, update, and status change operations
What’s Next?
With accounts created, your customers are ready to send and receive payments:Send SEPA Payments
Create your first outbound payment
Receive Payments
Handle incoming payments via webhooks
Set Up Webhooks
Get real-time payment notifications
SWIFT Payments
Send international transfers