BinHong Lee 081926961e | il y a 7 ans | |
---|---|---|
.gitignore | il y a 7 ans | |
README.md | il y a 7 ans | |
_config.yml | il y a 7 ans | |
index.js | il y a 7 ans | |
package.json | il y a 7 ans |
Creating a payment chain for bill splitting needs. Try it out now!
api domain: https://breakups.herokuapp.com/
Type | Call | Request | Response |
---|---|---|---|
GET |
/ |
- | redirects to documentation page |
GET |
/help |
- | redirects to github repository |
GET |
/webapp |
- | redirects to the webapp |
POST |
/emailPaymentChain |
["Email sent to user1@domain.com", "Email sent to user2@domain.com"] |
|
POST |
/total |
standard / email | { "total": 200 } |
POST |
/oweChart |
standard / email | standard / email |
POST |
/paymentChain |
standard / email | chain |
POST |
/perPerson |
standard / email | { "perPerson": 30 } |
POST |
/sortedOweChart |
standard / email | standard / email |
{
"users": [
{
"name": "Person1",
"amount": 100
},
{
"name": "Person2",
"amount": 50
},
{
"name": "Person3",
"amount": 30
}
]
}
[
{
"from": "Person2",
"to": "Person3",
"amount": 10
},
{
"from": "Person3",
"to": "Person1",
"amount": 40
}
]
{
"users": [
{
"name": "Person1",
"email": "person1@domain.com",
"amount": 100
},
{
"name": "Person2",
"email": "person2@domain.com",
"amount": 50
},
{
"name": "Person3",
"email": "person3@domain.com",
"amount": 30
}
],
"mixmax-api": "your-mixmax-api-key"
}