This application lets you instruct your own Zebpay account to buy bitcoin via Siri ๐
โ ๏ธ This application uses your own Zebpay account to perform the purchase. You are responsible for your own application instance.
โ ๏ธ Remember to safely withdraw your bitcoin back to your own wallet.๐ Tutorial
- Vercel account
- Zebpay Developer account
- Shortcuts app
APP_PASSCODE=
APP_MAX_AMOUNT=
ZEBPAY_CLIENT_ID=
ZEBPAY_ACCESS_TOKEN=
- Open Shortcuts app
- Tap on + icon on top right corner
- Tap on + icon on the screen to add actions
- Search for Ask for Input action & add it
- Change input type from
Text
toNumber
- Edit prompt to
For how much?
- Search for Get Contents of URL action & add it
- Set your buy function URL
- Click on Show More
- Change method to
POST
- Click on Headers & then Add new header
- Set Key to
X-Passcode
& value to yourAPP_PASSCODE
- Change Request Body to
Form
- Click on Add new field & select
Text
- Set Key to
amount
- Click on the value field, and select
Provided Input
- Search for Show Result action & add it
- Name your shortcut
Buy Bitcoin
- Open Settings app
- Open Shortcuts settings
- Toggle on Allow Untrusted Shortcuts
- Open Buy Bitcoin shortcut on your device