Partner Donations
The following API is used to get the list of Donations that are available for the partner to book for the given temple.
Request parameters
Responses
{
"items": [
{
"id": 1,
"name": "Donation Name",
"description": "Donation String",
"imageUrl": "Donation Image URL",
"price": 10,
"templeId": 225,
"userId": 2,
"counterEnabled": true,
"onlineEnabled": true,
"protocolEnabled": false,
"isAddon": false,
"metadata": {
"onlineTermsAndConditions": [
"1. Donations should be valid.",
"2. Invalid Donations are to be deleted."
]
},
"createdAt": "2022-07-01T03:38:43.761Z",
"updatedAt": "2023-09-27T19:26:07.450Z",
"deletedAt": null,
"donationType": "general",
"targetDate": null,
"targetAmount": null,
"maxAmount": 0
}
],
"meta": {
"currentPage": 1,
"itemCount": 1,
"itemsPerPage": 100,
"totalItems": 1,
"totalPages": 1
}
}
Last modified: 04 December 2024