Getting a Selected Pay Option

Returns a pay option for a Person.

Method Info
Url https://www.payit2.com/api/v1/collect-page/{CollectPageId}/Person/{PayerId}/pay-option/{Id}
Verb GET
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.
Input
Property Data Type Validation Info
AmountPer Single The amount paid per pay option.
Quantity Int32 The number purchased by the Person.
PayOptionId Nullable`1 This is the ID of the pay option the Person is purchasing.
Output
Property Data Type Other Info
Id Int32 The ID of this pay option.
AmountPer Single The amount paid per pay option.
Quantity Int32 The number purchased by the Person.
PayOptionId Guid Array This is the ID of the pay option the Person is purchasing.
Sample Get Output
{
  "Id": 1234,
  "AmountPer": 0.0,
  "Quantity": 1,
  "PayOptionId": null
}    
Sample Input
{
  "AmountPer": 0.0,
  "Quantity": 1,
  "PayOptionId": null
}
Sample Success Response
{
  "IsSuccess": true,
  "Messages": []
}    
Sample Error Response
{
  "IsSuccess": false,
  "Messages": [
    "Error Message 1",
    "Error Message 2"
  ]
}