Deleting Person Answers
Use this method to delete an answer for a Person.
Method Info
Url | https://www.payit2.com/api/v1/collect-page/{CollectPageId}/Person/{PayerId}/answer/{Id} |
---|---|
Verb | DELETE |
Headers | X-PayItSquare-AppKey, X-PayItSquare-Token |
{CollectPageId} | The id of the collect page. |
{PayerId} | The id of the Person. |
{Id} | The id of the answer. |
Method Info
Url | https://www.payit2.com/api/v1/collect-page/{CollectPageId}/Person/{PayerId}/answer/{Id}/delete |
---|---|
Verb | POST |
Headers | X-PayItSquare-AppKey, X-PayItSquare-Token |
{CollectPageId} | The id of the collect page. |
{PayerId} | The id of the Person. |
{Id} | The id of the answer. |
Output
Property | Data Type | Other Info |
---|---|---|
IsSuccess | Boolean | Indicates if the call was successful or not. |
Messages | String Array | Will contain a list of error messages if IsSuccess is false |
Sample Success Response
{ "IsSuccess": true, "Messages": [] }
Sample Error Response
{ "IsSuccess": false, "Messages": [ "Error Message 1", "Error Message 2" ] }