Getting a Selected Pay Option
Returns a pay option for a payer.
Method Info
| Url | https://www.payitsquare.com/api/v1/collect-page/{CollectPageId}/payer/{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 payer. |
| {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 payer. |
| PayOptionId | Nullable`1 | This is the ID of the pay option the payer 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 payer. |
| PayOptionId | Guid Array | This is the ID of the pay option the payer 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"
]
}





