Retrieve coupon
Coupons
Retrieve coupon
GET
Retrieve coupon
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Path Parameters
Resource identifier.
Response
The coupon.
Maximum string length:
56Available options:
%, $ Available options:
one_time, forever, limited Required when duration_scheme=limited. Number of billing cycles.
Available options:
line, invoice Available options:
active, archived 