Deleting Selected Pay Options

Use this method to delete a pay option for a Person.

Method Info
Url https://www.payit2.com/api/v1/collect-page/{CollectPageId}/Person/{PayerId}/pay-option/{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 pay option.
Method Info
Url https://www.payit2.com/api/v1/collect-page/{CollectPageId}/Person/{PayerId}/pay-option/{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 pay option.
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"
  ]
}