Getting Pay Options
Gets a list of pay options for a collect page.
Method Info
| Url | https://www.payitsquare.com/api/v1/collect-page/{CollectPageId}/pay-options |
|---|---|
| Verb | GET |
| Headers | X-PayItSquare-AppKey, X-PayItSquare-Token |
| {CollectPageId} | The id of the collect page. |
Output
| Property | Data Type | Other Info |
|---|---|---|
| Id | Guid | The Id for the pay option. |
| QuantityPaidFor | Int32 | |
| Title | String | The title to show payers for the pay option. |
| Description | String | The description of this pay option. |
| AmountNeeded | Single | The amount a payer will pay for this option. |
| DefaultQuantityPer | Int32 | The default number a payer will purchase for this pay option. |
| HasQuantityAvailable | Boolean | |
| QuantityAvailable | Int32 | The number available for this pay option. |
| LatePayAmount | Single | If paid after the late paid date, the amount that will be used. |
| AtTheDoorAmount | Single | The amount a payer will pay at the door. |
| QuantityRemaining | Int32 | The number still remaining for this pay option. |
| IsHiddenCoupon | Boolean | When true, payers will need to enter a coupon code to retrieve this pay option. |
| CouponCode | String | When is hidden coupon is true, this will be the code payers will need to enter to retrieve this pay option. |
| AllowAmountOverride | Boolean | When true, payers will be able to change the amount they pay. |
| ShowQuantitySelector | Boolean | When true, payers will have a quantity selector, and they will be able to change it. |
| HasLatePayOption | Boolean | When true, payers will pay a different amount after the late pay date. |
| HasAtTheDoorAmount | Boolean | When true, payers will be shown the at the door amount. |
| IsActive | Boolean | When true, payers will be able to use this pay option. |
| HasExpireDate | Boolean | When true, the pay option will expire when the expire date passes. |
| ExpireDateLocal | String | When has expire date is true, this will be the date when this pay option expires. |
| SortOrder | Int32 | Will determine the order pay options will appear. |
| CountsAsPaidOther | Boolean | |
| ItemId | String | |
| LatePayStartDateLocal | String | The date that late payments start. |
| TimeZoneId | String |
Sample Get Output
[
{
"Id": "cd8a71c2-1a3d-4b56-9a56-ffd7ea5df73a",
"QuantityPaidFor": 0,
"Title": "My Title",
"Description": "My pay option description.",
"AmountNeeded": 25.0,
"DefaultQuantityPer": 1,
"HasQuantityAvailable": false,
"QuantityAvailable": 50,
"LatePayAmount": 35.0,
"AtTheDoorAmount": 40.0,
"QuantityRemaining": 22,
"IsHiddenCoupon": false,
"CouponCode": "",
"AllowAmountOverride": false,
"ShowQuantitySelector": true,
"HasLatePayOption": true,
"HasAtTheDoorAmount": true,
"IsActive": true,
"HasExpireDate": false,
"ExpireDateLocal": null,
"SortOrder": 3,
"CountsAsPaidOther": false,
"ItemId": null,
"LatePayStartDateLocal": null,
"TimeZoneId": "Eastern Standard Time"
},
{
"Id": "7fec1f5b-b040-4655-9c05-ac2d63cca621",
"QuantityPaidFor": 0,
"Title": "My Title",
"Description": "My pay option description.",
"AmountNeeded": 25.0,
"DefaultQuantityPer": 1,
"HasQuantityAvailable": false,
"QuantityAvailable": 50,
"LatePayAmount": 35.0,
"AtTheDoorAmount": 40.0,
"QuantityRemaining": 22,
"IsHiddenCoupon": false,
"CouponCode": "",
"AllowAmountOverride": false,
"ShowQuantitySelector": true,
"HasLatePayOption": true,
"HasAtTheDoorAmount": true,
"IsActive": true,
"HasExpireDate": false,
"ExpireDateLocal": null,
"SortOrder": 3,
"CountsAsPaidOther": false,
"ItemId": null,
"LatePayStartDateLocal": null,
"TimeZoneId": "Eastern Standard Time"
}
]





