Refunds
This document lays out the specification of interacting with the Qgiv Refunds system, allowing for reading of Refunds.
GET : https://secure.qgiv.com/admin/api/reporting/refunds/last/[limit]
[limit] must be an integer value greater than zero
Returns the last [limit] refunds associated with the current form or organization
<refunds>
<refund id="1247" formId="2">
<firstName>Qgiv</firstName>
<lastName>Tester</lastName>
<phone>88888888888</phone>
<creatingTransactionFor>0</creatingTransactionFor>
<billingName>Qgiv Tester</billingName>
<billingAddress>50 Lake Morton Dr</billingAddress>
<billingCity>Lakeland</billingCity>
<billingState>Florida</billingState>
<billingZip>33811</billingZip>
<billingCountry>US</billingCountry>
<lastFour>1111</lastFour>
<associatedInfo></associatedInfo>
<donationSource>donation form</donationSource>
<sourceID>0</sourceID>
<optedIn>n</optedIn>
<transaction>351986</transaction>
<refundDate>2014-12-09 10:20:47</refundDate>
<refundSettleDate>2014-12-11</refundSettleDate>
<type>event</type>
<transStatus>Accepted</transStatus>
<isRecurring>n</isRecurring>
<paymentType>Credit Card</paymentType>
<paymentMethod>Visa</paymentMethod>
<event id="4056">
<eventName>Test Event</eventName>
<packages>
<package id="10905">
<packageName>Private Package</packageName>
<packageQuantity>1</packageQuantity>
<packageUnitCost>10.00</packageUnitCost>
<packageTotal>10.00</packageTotal>
<packageFields>
<packageField id="41633">
<question>Please choose your tshirt size below</question>
<answer>m</answer>
</packageField>
</packageFields>
</package>
</packages>
</event>
<eventFields>
<eventField>
<question>I would like to volunteer for this event?</question>
<answer>no</answer>
<reference>volunteer</reference>
</eventField>
</eventFields>
<donationFields>
<donationField id="3216">
<question>Test Field</question>
<answer>test answer</answer>
<reference>Test Field</reference>
</donationField>
</donationFields>
<restriction>623</restriction>
<dedication>In honor of Qgiv</dedication>
<dedicationName>In honor of</dedicationName>
<dedicationText>Qgiv</dedicationText>
<dedicationRecipients>email@email.com</dedicationRecipients>
<contactCompany>Qgiv</contactCompany>
<contactAddress>50 Lake Morton Dr</contactAddress>
<contactCity>Lakeland</contactCity>
<contactState>FL</contactState>
<contactZip>33811</contactZip>
<contactCountry>US</contactCountry>
<contactEmail>noreply@qgiv.com</contactEmail>
<transactionDate>October 24, 2014 18:46:03</transactionDate>
<transactionWasAnonymous>n</transactionWasAnonymous>
<qgivFee>0.05</qgivFee>
<value>3.00</value>
<form id="2">Qgiv Form</form>
</refund>
</refunds>{
"forms":[
{
"refunds":[
{
"title":"",
"firstName":"Qgiv",
"lastName":"Tester",
"phone":"8888888888",
"creatingTransactionFor":"0",
"billingName":"Qgiv Tester",
"billingAddress":"50 Lake Morton Dr",
"billingCity":"Lakeland",
"billingState":"FL",
"billingZip":"33811",
"billingCountry":"US",
"lastFour":"1111",
"associatedInfo":"",
"donationSource":"donation form",
"sourceID":"0",
"optedIn":"n",
"id":"1278",
"transaction":"352037",
"refundDate":"2014-12-09 10:20:47",
"refundSettleDate":"2014-12-11",
"transStatus":"Accepted",
"type":"one time",
"isRecurring":"n",
"paymentType":"Credit Card",
"paymentMethod":"Visa",
"restriction":"623",
"dedication": "In Honor of Qgiv",
"dedicationName": "In Honor of",
"dedicationText": "Qgiv",
"dedicationRecipients": "email@email.com",
"event":{
"id":"4056",
"eventName":"Test Event",
"packages":[
{
"id":"10905",
"packageName":"Private Package",
"packageQuantity":"1",
"packageUnitCost":"10.00",
"packageTotal":"10.00",
"packageFields":[
{
"id":"41633",
"question":"Please choose your tshirt size below",
"answer":"m"
}
]
}
]
},
"eventFields":[
{
"id":"0",
"question":"I would like to volunteer for this event?",
"answer":"no",
"reference":"volunteer"
}
],
"donationFields":[
{
"id":"3216",
"question":"Test Field",
"answer":"no",
"reference":"Test Field"
}
],
"contactCompany":"Qgiv",
"contactAddress":"50 Lake Morton Dr",
"contactCity":"Lakeland",
"contactState":"FL",
"contactZip":"33811",
"contactCountry":"US",
"contactEmail":"noreply@qgiv.com",
"formId":"2",
"transactionDate":"October 24, 2014 19:21:06",
"transactionWasAnonymous":"n",
"transactionMemo":"",
"qgivFee":"0.05",
"value":"2.23",
"form":{
"id":"2",
"0":"Cipher Beta1"
}
}
]
}
],
...
}GET : https://secure.qgiv.com/admin/api/reporting/refunds/after/[Refund ID]
[Refund ID] must be a valid Refund ID
Returns the refunds with ID's greater than the given ID
<refunds>
<refund id="1247" formId="2">
<firstName>Qgiv</firstName>
<lastName>Tester</lastName>
<phone>88888888888</phone>
<creatingTransactionFor>0</creatingTransactionFor>
<billingName>Qgiv Tester</billingName>
<billingAddress>50 Lake Morton Dr</billingAddress>
<billingCity>Lakeland</billingCity>
<billingState>Florida</billingState>
<billingZip>33811</billingZip>
<billingCountry>US</billingCountry>
<lastFour>1111</lastFour>
<associatedInfo></associatedInfo>
<donationSource>donation form</donationSource>
<sourceID>0</sourceID>
<optedIn>n</optedIn>
<transaction>351986</transaction>
<refundDate>2014-12-09 10:20:47</refundDate>
<refundSettleDate>2014-12-11</refundSettleDate>
<type>event</type>
<transStatus>Accepted</transStatus>
<isRecurring>n</isRecurring>
<paymentType>Credit Card</paymentType>
<paymentMethod>Visa</paymentMethod>
<event id="4056">
<eventName>Test Event</eventName>
<packages>
<package id="10905">
<packageName>Private Package</packageName>
<packageQuantity>1</packageQuantity>
<packageUnitCost>10.00</packageUnitCost>
<packageTotal>10.00</packageTotal>
<packageFields>
<packageField id="41633">
<question>Please choose your tshirt size below</question>
<answer>m</answer>
</packageField>
</packageFields>
</package>
</packages>
</event>
<eventFields>
<eventField>
<question>I would like to volunteer for this event?</question>
<answer>no</answer>
<reference>volunteer</reference>
</eventField>
</eventFields>
<donationFields>
<donationField id="3216">
<question>Test Field</question>
<answer>test answer</answer>
<reference>Test Field</reference>
</donationField>
</donationFields>
<restriction>623</restriction>
<dedication>In honor of Qgiv</dedication>
<dedicationName>In honor of</dedicationName>
<dedicationText>Qgiv</dedicationText>
<dedicationRecipients>email@email.com</dedicationRecipients>
<contactCompany>Qgiv</contactCompany>
<contactAddress>50 Lake Morton Dr</contactAddress>
<contactCity>Lakeland</contactCity>
<contactState>FL</contactState>
<contactZip>33811</contactZip>
<contactCountry>US</contactCountry>
<contactEmail>noreply@qgiv.com</contactEmail>
<transactionDate>October 24, 2014 18:46:03</transactionDate>
<transactionWasAnonymous>n</transactionWasAnonymous>
<transactionMemo></transactionMemo>
<qgivFee>0.05</qgivFee>
<value>3.00</value>
<form id="2">Qgiv Form</form>
</refund>
</refunds>{
"forms":[
{
"refunds":[
{
"title":"",
"firstName":"Qgiv",
"lastName":"Tester",
"phone":"8888888888",
"creatingTransactionFor":"0",
"billingName":"Qgiv Tester",
"billingAddress":"50 Lake Morton Dr",
"billingCity":"Lakeland",
"billingState":"FL",
"billingZip":"33811",
"billingCountry":"US",
"lastFour":"1111",
"associatedInfo":"",
"donationSource":"donation form",
"sourceID":"0",
"optedIn":"n",
"id":"1278",
"transaction":"352037",
"refundDate":"2014-12-09 10:20:47",
"refundSettleDate":"2014-12-11",
"transStatus":"Accepted",
"type":"one time",
"isRecurring":"n",
"paymentType":"Credit Card",
"paymentMethod":"Visa",
"restriction":"623",
"dedication": "In Honor of Qgiv",
"dedicationName": "In Honor of",
"dedicationText": "Qgiv",
"dedicationRecipients": "email@email.com",
"event":{
"id":"4056",
"eventName":"Test Event",
"packages":[
{
"id":"10905",
"packageName":"Private Package",
"packageQuantity":"1",
"packageUnitCost":"10.00",
"packageTotal":"10.00",
"packageFields":[
{
"id":"41633",
"question":"Please choose your tshirt size below",
"answer":"m"
}
]
}
]
},
"eventFields":[
{
"id":"0",
"question":"I would like to volunteer for this event?",
"answer":"no",
"reference":"volunteer"
}
],
"donationFields":[
{
"id":"3216",
"question":"Test Field",
"answer":"no",
"reference":"Test Field"
}
],
"contactCompany":"Qgiv",
"contactAddress":"50 Lake Morton Dr",
"contactCity":"Lakeland",
"contactState":"FL",
"contactZip":"33811",
"contactCountry":"US",
"contactEmail":"noreply@qgiv.com",
"formId":"2",
"transactionDate":"October 24, 2014 19:21:06",
"transactionWasAnonymous":"n",
"transactionMemo":"",
"qgivFee":"0.05",
"value":"2.23",
"form":{
"id":"2",
"0":"Cipher Beta1"
}
}
]
}
],
...
}GET : https://secure.qgiv.com/admin/api/reporting/refunds/dates/[begin]:[end]
[begin] and [end] must be valid dates in the following format: MMDDYYYY or MM-DD-YYYY
ex. /reporting/refunds/dates/01012012:12312012 or /reporting/refunds/dates/01-01-2012:12-31-2012
Timestamps can also be inputted to further filter results by using the following format: MMDDYYYY HHIISS ex. /reporting/refunds/dates/01-01-2012 083000:12-31-2012 093000
Returns all refunds associated with the current form or organization
<refunds>
<refund id="1247" formId="2">
<firstName>Qgiv</firstName>
<lastName>Tester</lastName>
<phone>88888888888</phone>
<creatingTransactionFor>0</creatingTransactionFor>
<billingName>Qgiv Tester</billingName>
<billingAddress>50 Lake Morton Dr</billingAddress>
<billingCity>Lakeland</billingCity>
<billingState>Florida</billingState>
<billingZip>33811</billingZip>
<billingCountry>US</billingCountry>
<lastFour>1111</lastFour>
<associatedInfo></associatedInfo>
<donationSource>donation form</donationSource>
<sourceID>0</sourceID>
<optedIn>n</optedIn>
<transaction>351986</transaction>
<refundDate>2014-12-09 10:20:47</refundDate>
<refundSettleDate>2014-12-11</refundSettleDate>
<type>event</type>
<transStatus>Accepted</transStatus>
<isRecurring>n</isRecurring>
<paymentType>Credit Card</paymentType>
<paymentMethod>Visa</paymentMethod>
<event id="4056">
<eventName>Test Event</eventName>
<packages>
<package id="10905">
<packageName>Private Package</packageName>
<packageQuantity>1</packageQuantity>
<packageUnitCost>10.00</packageUnitCost>
<packageTotal>10.00</packageTotal>
<packageFields>
<packageField id="41633">
<question>Please choose your tshirt size below</question>
<answer>m</answer>
</packageField>
</packageFields>
</package>
</packages>
</event>
<eventFields>
<eventField>
<question>I would like to volunteer for this event?</question>
<answer>no</answer>
<reference>volunteer</reference>
</eventField>
</eventFields>
<donationFields>
<donationField id="3216">
<question>Test Field</question>
<answer>test answer</answer>
<reference>Test Field</reference>
</donationField>
</donationFields>
<restriction>623</restriction>
<dedication>In honor of Qgiv</dedication>
<dedicationName>In honor of</dedicationName>
<dedicationText>Qgiv</dedicationText>
<dedicationRecipients>email@email.com</dedicationRecipients>
<contactCompany>Qgiv</contactCompany>
<contactAddress>50 Lake Morton Dr</contactAddress>
<contactCity>Lakeland</contactCity>
<contactState>FL</contactState>
<contactZip>33811</contactZip>
<contactCountry>US</contactCountry>
<contactEmail>noreply@qgiv.com</contactEmail>
<transactionDate>October 24, 2014 18:46:03</transactionDate>
<transactionWasAnonymous>n</transactionWasAnonymous>
<transactionMemo>
</transactionMemo/>
<qgivFee>0.05</qgivFee>
<value>3.00</value>
<form id="2">Qgiv Form</form>
</refund>
</refunds>{
"forms":[
{
"refunds":[
{
"title":"",
"firstName":"Qgiv",
"lastName":"Tester",
"phone":"8888888888",
"creatingTransactionFor":"0",
"billingName":"Qgiv Tester",
"billingAddress":"50 Lake Morton Dr",
"billingCity":"Lakeland",
"billingState":"FL",
"billingZip":"33811",
"billingCountry":"US",
"lastFour":"1111",
"associatedInfo":"",
"donationSource":"donation form",
"sourceID":"0",
"optedIn":"n",
"id":"1278",
"transaction":"352037",
"refundDate":"2014-12-09 10:20:47",
"refundSettleDate":"2014-12-11",
"transStatus":"Accepted",
"type":"one time",
"isRecurring":"n",
"paymentType":"Credit Card",
"paymentMethod":"Visa",
"restriction":"623",
"dedication": "In Honor of Qgiv",
"dedicationName": "In Honor of",
"dedicationText": "Qgiv",
"dedicationRecipients": "email@email.com",
"event":{
"id":"4056",
"eventName":"Test Event",
"packages":[
{
"id":"10905",
"packageName":"Private Package",
"packageQuantity":"1",
"packageUnitCost":"10.00",
"packageTotal":"10.00",
"packageFields":[
{
"id":"41633",
"question":"Please choose your tshirt size below",
"answer":"m"
}
]
}
]
},
"eventFields":[
{
"id":"0",
"question":"I would like to volunteer for this event?",
"answer":"no",
"reference":"volunteer"
}
],
"donationFields":[
{
"id":"3216",
"question":"Test Field",
"answer":"no",
"reference":"Test Field"
}
],
"contactCompany":"Qgiv",
"contactAddress":"50 Lake Morton Dr",
"contactCity":"Lakeland",
"contactState":"FL",
"contactZip":"33811",
"contactCountry":"US",
"contactEmail":"noreply@qgiv.com",
"formId":"2",
"transactionDate":"October 24, 2014 19:21:06",
"transactionWasAnonymous":"n",
"transactionMemo":"",
"qgivFee":"0.05",
"value":"2.23",
"form":{
"id":"2",
"0":"Cipher Beta1"
}
}
]
}
],
...
}GET : https://secure.qgiv.com/admin/api/reporting/refunds/[id]
Returns the refund requested, individually specified by ID.
<refunds>
<refund id="1247" formId="2">
<firstName>Qgiv</firstName>
<lastName>Tester</lastName>
<phone>88888888888</phone>
<creatingTransactionFor>0</creatingTransactionFor>
<billingName>Qgiv Tester</billingName>
<billingAddress>50 Lake Morton Dr</billingAddress>
<billingCity>Lakeland</billingCity>
<billingState>Florida</billingState>
<billingZip>33811</billingZip>
<billingCountry>US</billingCountry>
<lastFour>1111</lastFour>
<associatedInfo></associatedInfo>
<donationSource>donation form</donationSource>
<sourceID>0</sourceID>
<optedIn>n</optedIn>
<transaction>351986</transaction>
<refundDate>2014-12-09 10:20:47</refundDate>
<refundSettleDate>2014-12-11</refundSettleDate>
<type>event</type>
<transStatus>Accepted</transStatus>
<isRecurring>n</isRecurring>
<paymentType>Credit Card</paymentType>
<paymentMethod>Visa</paymentMethod>
<event id="4056">
<eventName>Test Event</eventName>
<packages>
<package id="10905">
<packageName>Private Package</packageName>
<packageQuantity>1</packageQuantity>
<packageUnitCost>10.00</packageUnitCost>
<packageTotal>10.00</packageTotal>
<packageFields>
<packageField id="41633">
<question>Please choose your tshirt size below</question>
<answer>m</answer>
</packageField>
</packageFields>
</package>
</packages>
</event>
<eventFields>
<eventField>
<question>I would like to volunteer for this event?</question>
<answer>no</answer>
<reference>volunteer</reference>
</eventField>
</eventFields>
<donationFields>
<donationField id="3216">
<question>Test Field</question>
<answer>test answer</answer>
<reference>Test Field</reference>
</donationField>
</donationFields>
<restriction>623</restriction>
<dedication>In honor of Qgiv</dedication>
<dedicationName>In honor of</dedicationName>
<dedicationText>Qgiv</dedicationText>
<dedicationRecipients>email@email.com</dedicationRecipients>
<contactCompany>Qgiv</contactCompany>
<contactAddress>50 Lake Morton Dr</contactAddress>
<contactCity>Lakeland</contactCity>
<contactState>FL</contactState>
<contactZip>33811</contactZip>
<contactCountry>US</contactCountry>
<contactEmail>noreply@qgiv.com</contactEmail>
<transactionDate>October 24, 2014 18:46:03</transactionDate>
<transactionWasAnonymous>n</transactionWasAnonymous>
<transactionMemo>
</transactionMemo/>
<qgivFee>0.05</qgivFee>
<value>3.00</value>
<form id="2">Qgiv Form</form>
</refund>
</refunds>{
"forms":[
{
"refunds":[
{
"title":"",
"firstName":"Qgiv",
"lastName":"Tester",
"phone":"8888888888",
"creatingTransactionFor":"0",
"billingName":"Qgiv Tester",
"billingAddress":"50 Lake Morton Dr",
"billingCity":"Lakeland",
"billingState":"FL",
"billingZip":"33811",
"billingCountry":"US",
"lastFour":"1111",
"associatedInfo":"",
"donationSource":"donation form",
"sourceID":"0",
"optedIn":"n",
"id":"1278",
"transaction":"352037",
"refundDate":"2014-12-09 10:20:47",
"refundSettleDate":"2014-12-11",
"transStatus":"Accepted",
"type":"one time",
"isRecurring":"n",
"paymentType":"Credit Card",
"paymentMethod":"Visa",
"restriction":"623",
"dedication": "In Honor of Qgiv",
"dedicationName": "In Honor of",
"dedicationText": "Qgiv",
"dedicationRecipients": "email@email.com",
"event":{
"id":"4056",
"eventName":"Test Event",
"packages":[
{
"id":"10905",
"packageName":"Private Package",
"packageQuantity":"1",
"packageUnitCost":"10.00",
"packageTotal":"10.00",
"packageFields":[
{
"id":"41633",
"question":"Please choose your tshirt size below",
"answer":"m"
}
]
}
]
},
"eventFields":[
{
"id":"0",
"question":"I would like to volunteer for this event?",
"answer":"no",
"reference":"volunteer"
}
],
"donationFields":[
{
"id":"3216",
"question":"Test Field",
"answer":"no",
"reference":"Test Field"
}
],
"contactCompany":"Qgiv",
"contactAddress":"50 Lake Morton Dr",
"contactCity":"Lakeland",
"contactState":"FL",
"contactZip":"33811",
"contactCountry":"US",
"contactEmail":"noreply@qgiv.com",
"formId":"2",
"transactionDate":"October 24, 2014 19:21:06",
"transactionWasAnonymous":"n",
"transactionMemo":"",
"qgivFee":"0.05",
"value":"2.23",
"form":{
"id":"2",
"0":"Cipher Beta1"
}
}
]
}
],
...
}* 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