Toshl Developer

Discount

Discount endpoint can be used to inquire about available discount for payments. Discounts are automatically used on next payment.

Resource representation

{
  "discount": 5,
  "reason": ["facebook"]
}

Properties

discount
readonly
number

Discount amount

Minimum: > 0
Maximum: =< 100
reason
read, write
array

A list of reasons for discount (usually a list of social networks the user has shared on).

Possible values: twitter, facebook, google

* denotes required field/parameter.