discounts
public
get/v1/discounts/{id}
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/discounts/{id}
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: discounts:read, discounts:write)
- or HTTP bearer
- or HTTP bearer
Path parameters
idstring uuid4 required
The discount ID.
Response
Successful Response
Example response
{
"amount": 1000,
"currency": "usd",
"amounts": {
"eur": 900,
"usd": 1000
},
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info