discounts
public

Get a discount by ID.

Scopes: discounts:read discounts:write

get/v1/discounts/{id}

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://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

OR
OR
OR

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