Get Product
get
https://api.payant.ng/products/:reference_code
Get Product

Example

1
curl https://api.payant.ng/products/1 \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer SECRET_KEY" \
4
-X GET
Copied!

Response

1
{
2
"status": "success",
3
"data": {
4
"id": 1
5
"company_id": 1,
6
"name": "Website Design",
7
"description": "5 Pages Website plus 1 Year Web Hosting",
8
"unit_cost": "50000.00",
9
"type": "service",
10
"image": "default.png",
11
"status": "1",
12
"created_at": "2016-12-21 18:46:30",
13
"updated_at": "2016-12-21 18:46:30",
14
"deleted_at": null
15
}
16
}
Copied!
Last modified 2yr ago