ghl_payment_coupon_get
Retrieve coupon details by ID or promotional code, including usage statistics, validity periods, and parameters.
Instructions
Fetch Coupon The "Get Coupon Details" API enables you to retrieve comprehensive information about a specific coupon using either its unique identifier or promotional code. Use this endpoint to view coupon parameters, usage statistics, validity periods, and other promotional details. Endpoint: GET /payments/coupon (Version header: v3; source: v3/payments-v3.json) OAuth scopes: payments/coupons.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Coupon id | |
| code | Yes | Coupon code | |
| altId | Yes | Location Id | |
| altType | Yes | Alt Type |