SHARE
TWEET

Untitled

Eunovo Oct 23rd, 2019 (edited) 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {   
  2. id: string, image_url: string,    first_name,    middle_name,    last_name,    gender,    email?,    address?,   phone?,
  3. occupation, employer_name, employer_addr, verification_status: 0 | 1 | 2,
  4. bank_details: [{    bank_name, account_name, account_number, bvn, sort_code}],
  5. next_of_kins: [
  6.     {first_name,middle_name,last_name,gender,email?, address?, phone?}
  7. ],
  8. documents: [{name: string, url: string}]
  9. }
  10.  
  11. /treasury/staff.investments/:leadId
  12. // if no leadId is sent, all investments are expected
  13. {
  14.     status: string = '';
  15.     id: string = '';
  16.     product: {
  17.         id: string, name: string, abbreviation: string,
  18.         props?: {
  19.             tenor_in_days?: boolean,
  20.             tenor_in_months?: boolean,
  21.             tenor_in_years?: boolean,
  22.         }
  23.     } = { id: '', name: '', abbreviation: '' };
  24.     start_date: string = '';
  25.     maturity_date: string = '';
  26.     saved: Money = {
  27.         currency: {
  28.             id: '', name: '', html: ''
  29.         },
  30.         amount: 0
  31.     };
  32.     tenor: number = 0
  33. }
  34.  
  35. POST /treasury/staff.transactions/
  36. Params: {
  37.     customer_id?: string,
  38.     investment_id?: string
  39. }
  40. Response: {
  41.     id: string;
  42.     investment?: InvestmentData;
  43.     transaction_type: string;
  44.     credit: Money;
  45.     debit: Money;
  46.     balance: Money;
  47.     date: string;
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top