get http://api.pandascrow.io/sandbox/index/transaction/crowdpay/fetch/single
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.
Param | Required? | Description | type |
---|---|---|---|
payref | Yes | Provide a specific crowdpay reference to fetch | String |
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'