Statements
This document lays out the specification of interacting with the Qgiv Statements system, allowing for reading of Statements.
GET : https://secure.qgiv.com/admin/api/reporting/statements/list
Returns all statements associated with the current form or organization
<statements>
<statement id="13594">
<amountContributed>13.48</amountContributed>
<refunded></refunded>
<percentage>3.50</percentage>
<flatFee>0.00</flatFee>
<transactionFees>8.89</transactionFees>
<monthlyFee>0.00</monthlyFee>
<setupFee>0.00</setupFee>
<debited>8.89</debited>
<date>2012-03-01</date>
<dateDebited>2012-11-05</dateDebited>
<credited>0.00</credited>
<totalSetupFees></totalSetupFees>
<setupFees>
<setupFee/>
</setupFees>
<transactionSummary>
<transactions>
<transaction>
<timestamp>03/18/2012</timestamp>
<paymentType>Visa</paymentType>
<amount>1.25</amount>
<fees>0.04</fees>
<withFees>1.29</withFees>
<refundAmount>1.25</refundAmount>
<paymentSource>Public Form</paymentSource>
<title>Qgiv User</title>
<state>A</state>
</transaction>
</transactions>
<totalTransactions>16</totalTransactions>
<subTotal>13.48</subTotal>
<total>13.48</total>
<feeTotal>0.52</feeTotal>
<refundTotal>4.25</refundTotal>
</transactionSummary>
</statement>
</statements>{
"statements": [
{
"id": "13594",
"amountContributed": "13.48",
"refunded": null,
"percentage": "3.50",
"flatFee": "0.00",
"transactionFees": "8.89",
"monthlyFee": "0.00",
"setupFee": "0.00",
"debited": "8.89",
"date": "2012-03-01",
"dateDebited": "2012-11-05",
"credited": "0.00",
"totalSetupFees": null,
"setupFees": [],
"transactionSummary": {
"transactions": [
{
"id": "227429",
"timestamp": "03/18/2012",
"name": "Qgiv User",
"paymentType": "Visa",
"amount": "1.25",
"fees": "0.04",
"withFees": 1.29,
"refundAmount": "1.25",
"paymentSource": "Public Form",
"state": "A"
},
...
],
"totalTransactions": 16,
"subTotal": 13.48,
"total": 13.48,
"feeTotal": 0.52,
"refundTotal": 4.25
}
},
...
]
}GET : https://secure.qgiv.com/admin/api/reporting/statements/[id]
Returns the statement requested, individually specified by ID.
<statement id="13594">
<amountContributed>13.48</amountContributed>
<refunded></refunded>
<percentage>3.50</percentage>
<flatFee>0.00</flatFee>
<transactionFees>8.89</transactionFees>
<monthlyFee>0.00</monthlyFee>
<setupFee>0.00</setupFee>
<debited>8.89</debited>
<date>2011-03-01</date>
<dateDebited>2011-11-05</dateDebited>
<credited>0.00</credited>
<totalSetupFees></totalSetupFees>
<setupFees>
<setupFee/>
</setupFees>
<transactionSummary>
<transactions>
<transaction>
<timestamp>03/18/2011</timestamp>
<name>Qgiv User</name>
<paymentType>Visa</paymentType>
<amount>1.25</amount>
<fees>0.04</fees>
<withFees>1.29</withFees>
<refundAmount>1.25</refundAmount>
<paymentSource>Public Form</paymentSource>
<state>A</state>
</transaction>
</transactions>
<totalTransactions>16</totalTransactions>
<subTotal>13.48</subTotal>
<total>13.48</total>
<feeTotal>0.52</feeTotal>
<refundTotal>4.25</refundTotal>
</transactionSummary>
</statement>{
"statement": {
"id": "13594",
"amountContributed": "13.48",
"refunded": null,
"percentage": "3.50",
"flatFee": "0.00",
"transactionFees": "8.89",
"monthlyFee": "0.00",
"setupFee": "0.00",
"debited": "8.89",
"date": "2011-03-01",
"dateDebited": "2011-11-05",
"credited": "0.00",
"totalSetupFees": null,
"setupFees": [],
"transactionSummary": {
"transactions": [
{
"timestamp": "03/18/2011",
"name": "Qgiv User",
"paymentType": "Visa",
"amount": "1.25",
"fees": "0.04",
"withFees": 1.29,
"refundAmount": "1.25",
"paymentSource": "Public Form",
"state": "A"
},
...
],
"totalTransactions": 16,
"subTotal": 13.48,
"total": 13.48,
"feeTotal": 0.52,
"refundTotal": 4.25
}
}
}GET : https://secure.qgiv.com/admin/api/reporting/statements/latest
Returns the latest statements for the current Organization or Form.
<statements>
<statement id="13594">
<amountContributed>13.48</amountContributed>
<refunded></refunded>
<percentage>3.50</percentage>
<flatFee>0.00</flatFee>
<transactionFees>8.89</transactionFees>
<monthlyFee>0.00</monthlyFee>
<setupFee>0.00</setupFee>
<debited>8.89</debited>
<date>2012-03-01</date>
<dateDebited>2012-11-05</dateDebited>
<credited>0.00</credited>
<totalSetupFees></totalSetupFees>
<setupFees>
<setupFee/>
</setupFees>
<transactionSummary>
<transactions>
<transaction>
<timestamp>03/18/2012</timestamp>
<paymentType>Visa</paymentType>
<amount>1.25</amount>
<fees>0.04</fees>
<withFees>1.29</withFees>
<refundAmount>1.25</refundAmount>
<paymentSource>Public Form</paymentSource>
<title>Qgiv User</title>
<state>A</state>
</transaction>
</transactions>
<totalTransactions>16</totalTransactions>
<subTotal>13.48</subTotal>
<total>13.48</total>
<feeTotal>0.52</feeTotal>
<refundTotal>4.25</refundTotal>
</transactionSummary>
</statement>
</statements>{
"statements": [
{
"id": "13594",
"amountContributed": "13.48",
"refunded": null,
"percentage": "3.50",
"flatFee": "0.00",
"transactionFees": "8.89",
"monthlyFee": "0.00",
"setupFee": "0.00",
"debited": "8.89",
"date": "2012-03-01",
"dateDebited": "2012-11-05",
"credited": "0.00",
"totalSetupFees": null,
"setupFees": [],
"transactionSummary": {
"transactions": [
{
"id": "227429",
"timestamp": "03/18/2012",
"name": "Qgiv User",
"paymentType": "Visa",
"amount": "1.25",
"fees": "0.04",
"withFees": 1.29,
"refundAmount": "1.25",
"paymentSource": "Public Form",
"state": "A"
},
...
],
"totalTransactions": 16,
"subTotal": 13.48,
"total": 13.48,
"feeTotal": 0.52,
"refundTotal": 4.25
}
},
...
]
}* denotes a required field
** denotes a required field based on Event settings
*** denotes a field that is only required when submitting Form level API credentials