URL Scheme

MOZE registers the moze:// URL scheme and supports for integration with other apps via the x-callback-url protocol. The format for a URL action looks like this:

moze://x-callback-url/[action]?[action parameters]&[x-callback parameters]

Supported x-callback parameters: x-success and x-error.

Open MOZE App

moze://

Open Account Page

moze://account

Open Budget Page

moze://budget

Open Expense Page

moze://expense

Open Income Page

moze://income

Open Transfer Page

moze://transfer

Add New Expense

[action parameters]

●  amount   required  Number  ex: 500,  35.9
●  currency  optional  Currency name  ex: TWD, USD
●  account  required  Account name  ex:  Wallet, CITI Bank 
●  project  optional  Default is account's currency project  ex:  Living, Travel
●  category  optional  Category name  ex: Food, Traffic
●  subcategory  required  Subcategory name  ex: Lunch, Dinner
●  name  optional  Record name
●  store  optional
●  desc  optional
●  tags  optional  Separate with “,” symbol  ex: family,birthday
●  date  optional  Format: YYYY.MM.dd, default is now  ex: 2017.04.01
●  time  optional  Format: HH:mm, default is now  ex: 12:00
●  fee  optional  Number  ex: 10

Example:

moze://expense?amount=500&account=Wallet&subcategory=Lunch

moze://expense?amount=500&currency=TWD&account=Wallet&project=Living&category=Food&subcategory=Lunch&name=Salad&store=Subway&desc=Celebrate%20with%20my%20family&tags=family,birthday&date=2017.04.01&time=12:00&fee=10

Add New Income

[action parameters]

Same as expense

Example:

moze://income?amount=50000&account=CITI%20Bank&subcategory=Salary

Add New Transfer

[action parameters]

●  sourceAmount  required  Number  ex: 500,  35.9
●  targetAmount  required  Number  ex: 500,  35.9
●  sourceCurrency  optional  Currency name  ex: TWD, USD
●  targetCurrency  optional  Currency name  ex: TWD, USD
●  sourceAccount  required  Account name  ex:  Wallet, CITI Bank
●  targetAccount  required  Account name  ex:  Wallet, CITI Bank
●  store  optional
●  desc  optional
●  tags  optional  Separate with “,” symbol  ex: family,birthday
●  date  optional  Format: YYYY.MM.dd, default is now  ex: 2017.04.01
●  time  optional  Format: HH:mm, default is now  ex: 12:00
●  fee  optional  Number  ex: 10

Example:

moze://transfer?sourceAmount=3000&targetAmount=3000&sourceAccount=Wallet&targetAccount=CITI%20Bank

moze://transfer?sourceAmount=3000&targetAmount=100&sourceCurrency=TWD&targetCurrency=USD&sourceAccount=Wallet&targetAccount=Stock&date=2017.04.01&time=12:00&fee=30