Getting Payer Answers
Gets a list of answers for a payer.
Method Info
| Url | https://www.payitsquare.com/api/v1/collect-page/{CollectPageId}/payer/{PayerId}/answers |
|---|---|
| Verb | GET |
| Headers | X-PayItSquare-AppKey, X-PayItSquare-Token |
| {CollectPageId} | The id of the collect page. |
| {PayerId} | The id of the payer. |
Output
| Property | Data Type | Other Info |
|---|---|---|
| Id | Int32 | The ID of this answer. |
| QuestionText | String | The text for the question. This will be the text of the question at the time it was answered. |
| QuestionId | Guid | The ID of the question being answered. |
| AnswerText | String | The answer for the question. |
| OptionId | Guid Array | If the question has options, this is the id of the option they've selected. |
Sample Get Output
[
{
"Id": 1234,
"QuestionText": "My Question",
"QuestionId": "dd1beda3-6d6e-4f8a-89a0-49a8d3f3fbe1",
"AnswerText": "My Answer",
"OptionId": null
},
{
"Id": 1234,
"QuestionText": "My Question",
"QuestionId": "84b2b857-3b0e-4cb6-bad2-d3297ed1fbf4",
"AnswerText": "My Answer",
"OptionId": "5c78e3b5-d716-437b-a603-ff8009806089"
}
]





