Skip to main content
POST
Create Coupon

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
integer
required
user_id
string | null
expires_at
string | null
total_count
integer | null
Required range: x >= 0
currency
string
default:USD
coupon_value
string | null
type
enum<string> | null
Available options:
USER,
TEAM
campaign_name
string | null

Response

Successful Response

data
Data · object | null

Response data

status
string | null

Response status