Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- id: string, image_url: string, first_name, middle_name, last_name, gender, email?, address?, phone?,
- occupation, employer_name, employer_addr, verification_status: 0 | 1 | 2,
- bank_details: [{ bank_name, account_name, account_number, bvn, sort_code}],
- next_of_kins: [
- {first_name,middle_name,last_name,gender,email?, address?, phone?}
- ],
- documents: [{name: string, url: string}]
- }
- /treasury/staff.investments/:leadId
- // if no leadId is sent, all investments are expected
- {
- status: string = '';
- id: string = '';
- product: {
- id: string, name: string, abbreviation: string,
- props?: {
- tenor_in_days?: boolean,
- tenor_in_months?: boolean,
- tenor_in_years?: boolean,
- }
- } = { id: '', name: '', abbreviation: '' };
- start_date: string = '';
- maturity_date: string = '';
- saved: Money = {
- currency: {
- id: '', name: '', html: ''
- },
- amount: 0
- };
- tenor: number = 0
- }
- POST /treasury/staff.transactions/
- Params: {
- customer_id?: string,
- investment_id?: string
- }
- Response: {
- id: string;
- investment?: InvestmentData;
- transaction_type: string;
- credit: Money;
- debit: Money;
- balance: Money;
- date: string;
- }
Advertisement
Add Comment
Please, Sign In to add comment