Use of X-Callback-URL in 'Niffler'
Niffler implements the x-callback-url protocol, a generic URL Scheme protocol. It allows you to communicate between different apps. Workflow, Launch Center Pro and other apps support x-callback-url, so Niffler also supports working with them.
Niffler’s x-callback-url format is:
| 1 | niffler://x-callback-url/[action]?[action parameter]&[x-callback parameter] | 
Action
/account
Create account with specified name
/bill
Create a bill with the specified name and number
Action Parameters
name(required), Account or bill item name
value, This parameter is required when the action is bill. Billing overhead figures.
type, This parameter is required when the action is bill. Billing expense type, 0 expenses, 1 income, 2 reimbursed.
remark(optional), Remark Information
payway(optional), Bill payment method
Examples
1.Create a account named “Decoration” with a remark of “Shop”.
| 1 | niffler://x-callback-url/account?name=Decoration&remark=Shop | 
2.Create a bill of “Lunch” with the category “Diet” to spend $ 12 in “Cash”.
| 1 | niffler://x-callback-url/bill?name=Diet&type=0&remark=Lunch&value=12&payway=Cash | 
Version
This document corresponds to the App version 3.7.6 and above