Disputes
This page contains the logic that governs the creation and retrieval of disputes
Get Dispute For A Single User
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"status": "success",
"code": 200,
"count": 1,
"message": "Data retrieved successfully",
"data": [
{
"currency": "nil",
"disbursedAmount": 0,
"_id": "647bb82227630448728ee7bd",
"transaction": {
"_id": "6477631bdb2706b3bc1d28bd",
"trans_id": "709988524",
"delivery_addr": "Jos, Plateau State",
"pay_deadline": "2023-06-02T13:47:13.000Z",
"deadline_action": "nothing",
"seller": {
"_id": "644bb008c3c5e79ac2857cef",
"firstname": null,
"lastname": null,
"phone": null,
"photo": null,
"username": "Vicolas",
"vahlid_id": "68151491",
"email": "akohvictor1@gmail.com",
"referralCode": "VAHL-68151491",
"notificationToken": "BBDFvCzB2w0pPh6HdHD9LEe9OsGnE6tBjEJ60gNcmMMcKFlUgmp1dMPrCYmgVFezkNBuFjapm29AOT5Ni0BRPM0",
"terms_conditions": {
"accepted": true,
"meta": {
"transaction": "6473d45cc667f96a3eb3d9f1",
"accepted_date": "2023-06-08T19:29:54.963Z",
"_id": "64822c32c8548d4c3cff91bb"
},
"_id": "64822c32c8548d4c3cff91ba"
}
},
"buyer": {
"_id": "64525e2c9c29739758c8dadd",
"firstname": null,
"lastname": null,
"phone": null,
"photo": "https://res.cloudinary.com/vahlid/image/upload/v1685907632/vahlid_mern/avatar/w2yjl1o3uai5zo2zufwd.png",
"username": "toyabilo3@gmail.com",
"vahlid_id": "68162524",
"email": "toyabilo3@gmail.com",
"notificationToken": null
},
"products": [
{
"name": "Toy",
"prod_desc": "Perishable toy",
"prod_image": "https://lh6.googleusercontent.com/j4GKpC0L9fQ4PoqvZuuBAkEH7qXJ-_8BI4rphOJjbJmAJptgQ3SxKAl87WvEgdqPsy3XdEnthka0u2fivk4Fot9aW9rkBEBqzwLdo_mRs2BTGbv8BuEB-0WNeq8hrpyEzneGJDZT",
"prod_price": 2500,
"_id": "6477631bdb2706b3bc1d28be"
}
],
"products_price": 2500,
"is_deposit_made": true,
"is_delivery_made": true,
"is_delivery_confirmed": true,
"is_payment_reminded": false,
"status": "pending",
"is_service": false,
"test": false,
"fee": 62,
"vendorFee": 35,
"source": "developer",
"dev_mode": "live",
"promoPointsAwarded": false,
"anonymous": "buyer",
"currency": "NGN",
"created_at": "2023-05-31T15:09:15.264Z",
"updated_at": "2023-05-31T15:09:15.264Z",
"hash": "jb8iik72xiay28x1566edr99vb3m3rev6tnj9s85fyeeyqnr7r",
"__v": 0
},
"dispute_id": "624469359",
"title": "Half Payment",
"description": "Another description",
"reported_by": {
"_id": "644bb008c3c5e79ac2857cef",
"firstname": null,
"lastname": null,
"phone": null,
"photo": null,
"username": "Vicolas",
"vahlid_id": "68151491",
"email": "akohvictor1@gmail.com",
"password_reset_hash": null,
"is_auth": true,
"is_verified": true,
"developer_mode": "active",
"role": "user",
"blocked": false,
"referralPoints": 0,
"transactionPoints": 10,
"referralCode": "VAHL-68151491",
"referralCount": 0,
"pointsHistory": [],
"redemptions": [],
"referredUsers": [],
"created_at": "2023-04-28T11:37:44.830Z",
"updated_at": "2023-06-08T19:29:55.048Z",
"__v": 0,
"passwordChangedAt": "2023-06-03T18:34:22.266Z",
"live_api_key": "VHL-8w6kzuewtr5x48rtkr1s4nc83dz8vzgr44auiw1q",
"test_api_key": "VHL-TEST-fardnnxxvif7uy9gejvyfbvt9j47poz1egx4zide",
"api_key": "VHL-8w6kzuewtr5x48rtkr1s4nc83dz8vzgr44auiw1q",
"notificationToken": "BBDFvCzB2w0pPh6HdHD9LEe9OsGnE6tBjEJ60gNcmMMcKFlUgmp1dMPrCYmgVFezkNBuFjapm29AOT5Ni0BRPM0",
"terms_conditions": {
"accepted": true,
"meta": {
"transaction": "6473d45cc667f96a3eb3d9f1",
"accepted_date": "2023-06-08T19:29:54.963Z",
"_id": "64822c32c8548d4c3cff91bb"
},
"_id": "64822c32c8548d4c3cff91ba"
}
},
"reported_user": {
"_id": "644bb008c3c5e79ac2857cef",
"firstname": null,
"lastname": null,
"phone": null,
"photo": null,
"username": "Vicolas",
"vahlid_id": "68151491",
"email": "akohvictor1@gmail.com",
"password_reset_hash": null,
"is_auth": true,
"is_verified": true,
"developer_mode": "active",
"role": "user",
"blocked": false,
"referralPoints": 0,
"transactionPoints": 10,
"referralCode": "VAHL-68151491",
"referralCount": 0,
"pointsHistory": [],
"redemptions": [],
"referredUsers": [],
"created_at": "2023-04-28T11:37:44.830Z",
"updated_at": "2023-06-08T19:29:55.048Z",
"__v": 0,
"passwordChangedAt": "2023-06-03T18:34:22.266Z",
"live_api_key": "VHL-8w6kzuewtr5x48rtkr1s4nc83dz8vzgr44auiw1q",
"test_api_key": "VHL-TEST-fardnnxxvif7uy9gejvyfbvt9j47poz1egx4zide",
"api_key": "VHL-8w6kzuewtr5x48rtkr1s4nc83dz8vzgr44auiw1q",
"notificationToken": "BBDFvCzB2w0pPh6HdHD9LEe9OsGnE6tBjEJ60gNcmMMcKFlUgmp1dMPrCYmgVFezkNBuFjapm29AOT5Ni0BRPM0",
"terms_conditions": {
"accepted": true,
"meta": {
"transaction": "6473d45cc667f96a3eb3d9f1",
"accepted_date": "2023-06-08T19:29:54.963Z",
"_id": "64822c32c8548d4c3cff91bb"
},
"_id": "64822c32c8548d4c3cff91ba"
}
},
"status": "refunded",
"source": "developer",
"dev_mode": "live",
"created_at": "2023-06-03T22:01:06.636Z",
"updated_at": "2023-06-04T17:03:29.034Z"
}
]
}Sign Dispute Chat Image Upload
Headers
Name
Type
Description
Get A Single Dispute
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Get Messages For A Dispute
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Create A Dispute
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated