Português (BR)
curl --request GET \ --url https://api.contas.rdstationmentoria.com.br/rest/coupons/{coupon} \ --header 'Authorization: Bearer <token>'
{ "valid": true, "reason": null, "coupon": { "id": 123, "code": "<string>", "currency": null, "desc": null, "early_payment_for": null, "validity_period_in_months": null, "value": "<string>", "kind": "percentual" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object