URL Scheme
MOZE registers the moze3:// URL scheme and supports for integration with other apps via the x-callback-url protocol. The format for a URL action looks like this:
moze3://x-callback-url/[action]?[action parameters]&[x-callback parameters]
Supported x-callback parameters: x-success and x-error.
Open Account Page
moze3://account
Open Budget Page
moze3://budget
Open Notification Page
moze3://notification
Open Invoice Scan Page
moze3://scan
Open Recording Page
moze3://new
Add New Expense / Income
moze3://expense?[action parameters]
moze3://income?[action parameters]
Create an expense or income record without opening recording page. Action parameters must match all required attributes.
moze3://new?[action parameters]
Open recording page with prefilled attributes. Required attributes are not necessary.
Action parameters
Action | Attribute | Value | Example |
amount | required | Number | 500, 35.9 |
currency | optional | Currency Name | TWD, USD |
account | required | Account Name | Wallet, Citi |
project | optional | Project Name | Living, Travel |
category | optional | Category Name | Food, Traffic |
subcategory | required | Subcategory Name | Lunch, Dinner |
name | optional | Text | |
store | optional | Text | |
note | optional | Text | |
tags | optional | Separate with “,” symbol | family,birthday |
date | optional | Format: YYYY.MM.dd | 2019.10.10 |
time | optional | Format: HH:mm | 12:00 |
fee | optional | Number | 10 |
feeName | optional | Text | Service fee |
bonus | optional | Number | 10 |
bonusName | optional | Text | Discount |
Example
moze3://expense?amount=500&account=Wallet&subcategory=Lunch
moze3://expense?amount=500¤cy=TWD&account=Wallet& project=Living&category=Food&subcategory=Lunch&name=Salad& store=Subway¬e=Celebrate%20with%20my%20family& tags=family,birthday&date=2019.10.10&time=12:00&fee=10
moze3://income?amount=30000&account=Citi&subcategory=Salary
moze3://new?account=玉山 U Bear&subcategory=火車&amount=35
Add New Transfer
moze3://transfer?[action parameters]
Action parameters
Action | Attribute | Value | Example |
sourceAmount | required | Number | 1000 |
targetAmount | required | Number | 1000 |
sourceCurrency | optional | Currency name | TWD, USD |
targetCurrency | optional | Currency name | TWD, USD |
sourceAccount | required | Transfer-out account name | CITI Bank |
targetAccount | required | Transfer-in account name | Wallet |
subcategory | required | Subcategory Name | Withdraw, Exchange |
name | optional | Text | |
store | optional | Text | |
note | optional | Text | |
tags | optional | Separate with “,” symbol | family,birthday |
date | optional | Format: YYYY.MM.dd | 2019.10.10 |
time | optional | Format: HH:mm | 12:00 |
sourceFee | optional | Number | 10 |
sourceFeeName | optional | Text | Service fee |
sourceBonus | optional | Number | 10 |
sourceBonusName | optional | Text | Discount |
targetFee | optional | Number | 10 |
targetFeeName | optional | Text | Service fee |
targetBonus | optional | Number | 10 |
targetBonusName | optional | Text | Discount |
Example
moze3://transfer?sourceAmount=3000&targetAmount=3000&sourceAccount=Citi& targetAccount=Wallet&subcategory=Withdraw
moze3://transfer?sourceAmount=3000&targetAmount=100&sourceCurrency=TWD& targetCurrency=USD&sourceAccount=Wallet&targetAccount=Citi& date=2019.10.10&time=12:00&fee=30
Last updated