This endpoint would allow you to fetch all completed or ongoing transaction history via Pandascrow API.

[GET] {{baseurl}}/sandbox/index/transaction/fetch/all

API Object

{
    "status": 200,
    "data": {
        "histories": [
            {
                "payID": 1,
                "businessID": 1,
                "userID": 1,
                "payhash": "xmirpgejjoqx8ol8",
                "payref": "8174MFhmN",
                "cycle": "one-time",
                "transaction": {
                    "name": "Onetime Payment",
                    "status_alt": "Awaiting Payment",
                    "trader_status": "seller",
                    "is_active": "active",
                    "paymentURL": "https://paywith.pandascrow.io/pay/8174MFhmN"
                },
                "data": {
                    "type": "one-time",
                    "reference": "8174MFhmN",
                    "duration": "2022-11-12",
                    "itemname": "iPhone 14 Pro",
                    "itemquantity": 1,
                    "itemamount": 980000,
                    "deliverydate": "2022-11-12",
                    "escrow_charge": 12250,
                    "terms": "Brand new iPhone 14 Pro, to be delivered on the 12th of November",
                    "dateAdded": "Sat, 05 Nov 2022 13:49:12 +0000"
                },
                "customer": {
                    "userID": 1,
                    "name": "Jamb Tom",
                    "phone": "+2348021325996"
                },
                "fee": {
                    "currency": "NGN",
                    "chargedamount": 980000,
                    "scrowfee": 12250,
                    "taxfee": 2000,
                    "payableamount": 994250
                },
                "status": 1,
                "is_deleted": 0,
                "is_flagged": 0,
                "datePaid": null,
                "datePaid_alt": "Just now",
                "dateCreated": "Sat, 05 Nov 2022 13:49:12 +0000",
                "dateCreated_alt": "1 day ago"
            },
            {
                "payID": 2,
                "businessID": 1,
                "userID": 1,
                "payhash": "s8fikjoujceif21b",
                "payref": "beBIsi8wY",
                "cycle": "milestone",
                "transaction": {
                    "name": "Milestone Payment",
                    "status_alt": "Awaiting Payment",
                    "trader_status": "seller",
                    "is_active": "active",
                    "paymentURL": "https://paywith.pandascrow.io/pay/beBIsi8wY"
                },
                "data": {
                    "type": "milestone",
                    "reference": "beBIsi8wY",
                    "taskname": "Web App,UI / UX,Logo Design",
                    "amount": 750000,
                    "escrow_charge": 9375,
                    "terms": "To finish all project on or before 20th of November",
                    "dateAdded": "Sat, 05 Nov 2022 14:09:07 +0000",
                    "list": [
                        {
                            "businessID": 1,
                            "userID": 1,
                            "taskname": "Web App",
                            "taskamount": 500000,
                            "token": "dg416vh3k6pp0hr2",
                            "is_complete": 0,
                            "dateCompleted": "Sat, 05 Nov 2022 14:09:07 +0000"
                        },
                        {
                            "businessID": 1,
                            "userID": 1,
                            "taskname": "UI / UX",
                            "taskamount": 200000,
                            "token": "dg416vh3k6pp0hr2",
                            "is_complete": 0,
                            "dateCompleted": "Sat, 05 Nov 2022 14:09:07 +0000"
                        },
                        {
                            "businessID": 1,
                            "userID": 1,
                            "taskname": "Logo Design",
                            "taskamount": 50000,
                            "token": "dg416vh3k6pp0hr2",
                            "is_complete": 0,
                            "dateCompleted": "Sat, 05 Nov 2022 14:09:07 +0000"
                        }
                    ]
                },
                "customer": {
                    "userID": 1,
                    "name": "Precious Tom",
                    "phone": "+2348179685649"
                },
                "fee": {
                    "currency": "NGN",
                    "chargedamount": 750000,
                    "scrowfee": 9375,
                    "taxfee": 2000,
                    "payableamount": 761375
                },
                "status": 1,
                "is_deleted": 0,
                "is_flagged": 0,
                "datePaid": null,
                "datePaid_alt": "Just now",
                "dateCreated": "Sat, 05 Nov 2022 14:09:07 +0000",
                "dateCreated_alt": "1 day ago"
            },
            {
                "payID": 3,
                "businessID": 1,
                "userID": 1,
                "payhash": "ujig7yil99cbj6sy",
                "payref": "cekViTzng",
                "cycle": "crowd-pay",
                "transaction": {
                    "name": "Crowdpay Payment",
                    "status_alt": "Awaiting Approval",
                    "trader_status": "seller",
                    "is_active": "active",
                    "paymentURL": "https://paywith.pandascrow.io/pay/cekViTzng"
                },
                "data": {
                    "type": "crowd-pay",
                    "reference": "cekViTzng",
                    "purpose": "charity",
                    "project_name": "Fund Pandascrow",
                    "project_goal": 50000000,
                    "current_raised": 0,
                    "contributor_count": 0,
                    "project_description": "Hello world",
                    "dateCreated": "Sat, 05 Nov 2022 14:11:30 +0000"
                },
                "customer": {
                    "userID": 0,
                    "name": "N/A",
                    "phone": "N/A"
                },
                "fee": {
                    "currency": "NGN",
                    "chargedamount": 50000000,
                    "scrowfee": 0,
                    "taxfee": 2000,
                    "payableamount": 50002000
                },
                "status": 1,
                "is_deleted": 0,
                "is_flagged": 0,
                "datePaid": null,
                "datePaid_alt": "Just now",
                "dateCreated": "Sat, 05 Nov 2022 14:11:30 +0000",
                "dateCreated_alt": "1 day ago"
            }
        ]
    }
}
curl -L -X GET '{{baseurl}}/sandbox/index/transaction/fetch/all' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!