Used for creating short links that you can send to your friends, thus allowing them to easily launch Swish with your preset information.
This is useful since https:// links are almost universally clickable.
- Gradle
- Java 15
- Kotlin
- spring-boot
POST /api/create
Acceptsapplication/json
and the body is as follows:
{
"phone": "07xxxxxx",
"amount": 100,
"message": "example message",
"expireAfterSeconds": null, // (optional, 0 or null is never expire)
}
You can "deploy" Swosh using docker-compose
. See deploy.sh
for an example of how it can be done.
See the LICENSE file for license rights and limitations (MIT).