cURL
curl --request GET \ --url {schemes}://api.upsun.com/discounts/types/allowance \ --header 'Authorization: Bearer <token>'
{ "currencies": { "EUR": { "formatted": "<string>", "amount": 123, "currency": "<string>", "currency_symbol": "<string>" }, "USD": { "formatted": "<string>", "amount": 123, "currency": "<string>", "currency_symbol": "<string>" }, "GBP": { "formatted": "<string>", "amount": 123, "currency": "<string>", "currency_symbol": "<string>" }, "AUD": { "formatted": "<string>", "amount": 123, "currency": "<string>", "currency_symbol": "<string>" }, "CAD": { "formatted": "<string>", "amount": 123, "currency": "<string>", "currency_symbol": "<string>" } } }
A valid request URL is required to generate request examples
Documentation IndexFetch the complete documentation index at: https://developer.upsun.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A discount object
Discount values per currency.
Show child attributes
Was this page helpful?