This endpoint would allow you to fetch a single crowd pay transaction and its contributors via Pandascrow API.

[GET] {{baseurl}}/sandbox/index/transaction/crowdpay/fetch/single

Fetch Transaction Detail - Crowdpay

To fetch single-crowd payment transactions and their contributors, you'll need to pass in the required parameters in the table below.

ParamRequired?Descriptiontype
payrefYesProvide a specific crowdpay reference to fetchString

API Object

{
    "status": 200,
    "data": {
        "funds": {
            "userID": 1,
            "businessID": 1,
            "purpose": "charity",
            "project_name": "Fund Pandascrow",
            "project_goal": 50000000,
            "current_raised": 2000,
            "project_description": "Hello world",
            "contributors": [
                {
                    "name": "Precious Tom",
                    "phone": "+2348179000000",
                    "amount": 2000,
                    "email": "[email protected]",
                    "datePayed": "Mon, 31 Oct 2022 14:22:21 -0400"
                }...
            ],
            "contributor_count": 1,
            "is_featured": 0,
            "dateCreated": "Sat, 05 Nov 2022 14:11:30 +0000"
            "dateCreated_alt": "8 mins ago"
        }
    }
}
curl -L -X GET '{{baseurl}}/sandbox/index/transaction/crowdpay/fetch/single' \
-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!