Retrieve a Coupon
This API provides details about a coupon.
get/v1/discounts/{coupon_id}
Request
- Base URLhttps://testapi.payarc.net
- URLhttps://testapi.payarc.net/v1/discounts/{coupon_id}
- AuthAPI key in header Authorization
Path parameters
coupon_idstring required
coupon_id here represents the ID of a specific coupon whose information needs to be retrieved.
Response
200
Example response
{
"data": {
"object": "Discount",
"discount_id": "dc_75d302b4",
"amount_off": 10,
"duration": "repeating",
"status": "active",
"name": "testers",
"created_at": 1724584599,
"updated_at": 1724584599,
"id": "WzA1lYjlWMWYDg5M"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.