API Reference
Build powerful integrations with VaultCore OS using our comprehensive RESTful API.
Quick Start
Base URL
https://api.vaultcoreos.com/v1Authentication
All API requests require authentication using Bearer tokens. Include your API token in the Authorization header:
curl -X GET "https://api.vaultcoreos.com/v1/customers" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json"
Response Format
All responses are returned in JSON format with a consistent structure:
{
"has_error": false,
"message": "Success",
"data": {
// Response data here
}
}Endpoints
Authentication
Secure authentication and token management
/api/v1/auth/loginAuthenticate user and get access token
/api/v1/auth/refreshRefresh access token
/api/v1/auth/logoutInvalidate current token
Customers
Customer account management
/api/v1/customersList all customers
/api/v1/customersCreate new customer
/api/v1/customers/{id}Get customer details
/api/v1/customers/{id}Update customer
/api/v1/customers/{id}/accountsGet customer accounts
Accounts
Savings and deposit account operations
/api/v1/accountsList all accounts
/api/v1/accountsOpen new account
/api/v1/accounts/{id}Get account details
/api/v1/accounts/{id}/balanceGet account balance
/api/v1/accounts/{id}/transactionsGet transaction history
Transactions
Deposit, withdrawal, and transfer operations
/api/v1/transactions/depositProcess deposit
/api/v1/transactions/withdrawProcess withdrawal
/api/v1/transactions/transferProcess transfer
/api/v1/transactions/{id}Get transaction details
Loans
Loan application and management
/api/v1/loansList all loans
/api/v1/loans/applySubmit loan application
/api/v1/loans/{id}Get loan details
/api/v1/loans/{id}/disburseDisburse approved loan
/api/v1/loans/{id}/repayRecord loan repayment
/api/v1/loans/{id}/scheduleGet repayment schedule
Products
Financial product configuration
/api/v1/products/savingsList savings products
/api/v1/products/loansList loan products
/api/v1/products/{id}Get product details
Rate Limits
API requests are rate limited based on your subscription plan:
| Plan | Requests/min |
|---|---|
| Starter | 60 |
| Professional | 300 |
| Enterprise | Unlimited |
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Validation Error |
| 429 | Rate Limit Exceeded |
Need API access?
Contact our team to get your API credentials and start building integrations with VaultCore OS.