OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Main Server Documentation
  5. CART CHECK OUT INFOS

CART CHECK OUT INFOS

these items are required for checkout process.

Method GET:

  1. LIST >>> PAYMENT METHODS | SHIPPING COMPANY | DELIVERY TIME
/checkout_data/payment_method/shippers/delivery/time
Shipping fee is calculated if the user has provided his shipping address
calculating on the guy might require you get special documentation for it, 
else the API will always return correct shipping fee after invoice in created

RESPONSE

 
{
    "data": {
        "payment_method": [
            {
                "name": "Wallet(GiftCard, Bank, Bitcoin)",
                "reference": "(GiftCard, Bank, Bank Wire, Bitcoin)",
                "icon": "https://.....MYCORDOVA/images/site/payment/wallet.png"
            },
            {
                "name": "POS On Delivery",
                "reference": "POS for products less than 20k",
                "icon": "MYCORDOVA/images/site/payment/pos.jpg"
            },
            {
                "name": "PayStack(Credit/ATM Card)",
                "reference": "8d7f019b140c16a92a7d4faaae497695",
                "icon": "MYCORDOVA/images/site/payment/Paystack.png"
            },
            {
                "name": "Bitcoins",
                "reference": "blockchain.info",
                "icon": "MYCORDOVA/images/site/payment/bitcoin.png"
            }
        ],
        "delivery_time": [
            {
                "id": 1,
                "title": "Now Now!",
                "status": 1
            },
            {
                "id": 2,
                "title": "Today Before Noon",
                "status": 1
            },
            {
                "id": 3,
                "title": "Today Morning",
                "status": 1
            },
            {
                "id": 4,
                "title": "Today After Noon",
                "status": 1
            },
            {
                "id": 5,
                "title": "Today Evening",
                "status": 1
            },
            {
                "id": 6,
                "title": "Before 8Am",
                "status": 1
            },
            {
                "id": 7,
                "title": "2 Moro Morning before 7:30Am",
                "status": 1
            },
            {
                "id": 8,
                "title": "2moro before noon",
                "status": 1
            },
            {
                "id": 9,
                "title": "2Moro Evening",
                "status": 1
            },
            {
                "id": 10,
                "title": "Next Week",
                "status": 1
            },
            {
                "id": 11,
                "title": "3 Weeks time",
                "status": 1
            }
        ],
        "shippers": [
            {
                "id": 1,
                "shipper_currency": 1,
                "address": "Enugu Nigeria",
                "name": "Ogwugo Now Now",
                "logo_url": null
            },
            {
                "id": 2,
                "shipper_currency": 1,
                "address": "Nigeria",
                "name": "GIG Logistics",
                "logo_url": null
            }
        ],

"app_locations": [ { "id": 1, "name": "ENUGU TOWN (Nigeria)", "state": 12, "country": "NG", "latitude": "", "longitude": "", "status": 1, "created_at": "2018-06-04 14:00:44", "updated_at": "2018-06-19 11:01:21" }
    },
    "status": "success",
    "message": "Checkout data listed",
    "error": {
        "msq": "checkout module failed",
        "detail": "",
        "code": 200
    }
}
Was this article helpful to you? Yes No

How can we help?