This is the NodeJS backend for xPayments, a submission to the PayID Hackathon.
xPayments is a central gateway for cryptocurrency payment information, powered by PayID. See the Devpost submission here.
- create a new page
- retrieve page by id
- delete a page
- create a new page with
payId = frankfka$xpring.money
- no content needed to post, just retrieves the xpring request for frankfka$xpring.money
{
"payId": "roshan$example.com",
"name": "roshan",
"customMessage": "hey there",
"requestedAmount": {
"value": 300,
"currencyCode": "XRP"
}
}
{
"requestedAmount": {
"value": 300,
"currencyCode": "XRP"
},
"_id": "5f1dee13b52fad6269ff9bc0",
"payId": "roshan$example.com",
"name": "roshan",
"customMessage": "hey there",
"paymentOptions": [
{
"paymentInfo": {
"address": "r4dgrsh8RBCSnDr3kZMSMKcpp2WiJ7By3z"
},
"_id": "5f1dee13b52fad6269ff9bc1",
"currencyCode": "XRP",
"value": 300
}
],
"__v": 0
}