apis
POST http://localhost:8080/users/Createuser Content-Type: application/json
{
"contact":"0707600334",
"name":"khali",
"email":"khlaif@gmail.com",
"password":"name"
}
POST http://localhost:8080/users/login Content-Type: application/json
{
"email":"khlaif@gmail.com",
"password":"name"
}
POST http://localhost:8080/users/generatekeys/62fc0b1cd6ce9a2d54b5366c
Content-Type: application/json x-access-token: token
POST http://localhost:8080/api/playground/v1/mobilepay/payup.62ef74d68653ee35f486fe87.6c64a507-250c-4b82-a42c-d455d8a2b874
Content-Type: application/json
{
"payeeName":"nuhu",
"payeeContact":"0706081432",
"amount":5000,
"payeeInfor":{
"email":"nuhu@gmail.com",
"contact":"90097565443"
}
}
POST http://localhost:8080/api/playground/v1/mobilepay/track/payup.62fc0b1cd6ce9a2d54b5366c.36724738-158a-4452-bdce-5267cfea00d3
Content-Type: application/json
{
"internalId":"632da9f8ff88bc00048519a0"
}
POST http://localhost:8080/api/playground/v1/cardpayment/payup.63021858e064723324a6d2aa.0b998fba-2400-46b9-b7e9-63cb08a289bd
Content-Type: application/json
{
"cardNumber":"5444101010101010",
"cardDate":"08/24",
"amount":20000,
"cardCvv":"987",
"payeeInfor":{
"email":"ray@yahoo.com",
"contact":"90097565443"
}
}
POST http://localhost:8080/api/playground/v1/cardpayment/track/payup.63021858e064723324a6d2aa.3746e285-6360-4ef4-8e2b-7ca311660ab4
Content-Type: application/json
{
"id":"632db5477e7dc700045db7ba"
}
POST http://localhost:8080/links/createseller
Content-Type: application/json
x-access-token: token
{
"title":"khlaif@gmail.com",
"description":"name",
"ownerId":"63021858e064723324a6d2aa",
"ownerType":"seller",
"sellerId":"63021858e064723324a6d2aa",
"sellerName":"khali",
"amount":45000,
"sellerContact":"0723578798"
}
POST http://localhost:8080/links/createbuyer
Content-Type: application/json
x-access-token: token
{
"title":"shoes and goats",
"description":"name",
"ownerId":"63021858e064723324a6d2aa",
"ownerType":"buyer",
"buyerId":"63021858e064723324a6d2aa",
"buyerName":"khali",
"amount":88000,
"buyerContact":"46733123454"
}
GET http://localhost:8080/links/6307f04d42dc0c04d4ce8ffa
Content-Type: application/json
x-access-token: token
POST http://localhost:8080/links
Content-Type: application/json
x-access-token: token
{
"userId":"63021858e064723324a6d2aa",
}
PATCH http://localhost:8080/links/cashrefresh/6308083f917b5612d4708de8
Content-Type: application/json
x-access-token: token
POST http://localhost:8080/links/addseller
Content-Type: application/json
x-access-token: token
{
"linkId":"6307f3248035ce359c1c06b4",
"sellerId":"6309850ec10f6906f03aa243",
"sellerName":"raymond@gmail.com",
"sellerContact":"0707600336"
}
POST http://localhost:8080/links/addbuyer
Content-Type: application/json
x-access-token: token
{
"linkId":"6307f04d42dc0c04d4ce8ffa",
"buyerId":"63021858e064723324a6d2aa",
"buyerName":"khali",
"buyerContact":"0707600436"
}
PATCH http://localhost:8080/links/update/6307f04d42dc0c04d4ce8ffa
Content-Type: application/json
x-access-token: token
{
"title":"Books",
"description":"change me"
}
PATCH http://localhost:8080/links/kill/6307f04d42dc0c04d4ce8ffa
Content-Type: application/json
x-access-token: token
PUT http://localhost:8080/links/delivered
Content-Type: application/json
x-access-token: token
{
"linkId":"6307f04d42dc0c04d4ce8ffa",
"userId":"6309850ec10f6906f03aa243"
}
PUT http://localhost:8080/links/received
Content-Type: application/json
x-access-token: token
{
"linkId":"6307f04d42dc0c04d4ce8ffa",
"userId":"63021858e064723324a6d2aa"
}
POST http://localhost:8080/api/playground/v1/transactionSummary
Content-Type: application/json
x-access-token: token
{
"adminId":"63021858e064723324a6d2aa"
}