Skip to main content
POST
Create Landing Purchase

Path Parameters

slug
string
required

Body

application/json
tariff_id
integer
required
period_days
integer
required
contact_type
string
required
Pattern: ^(email|telegram)$
contact_value
string
required
Required string length: 1 - 255
payment_method
string
required
Required string length: 1 - 50
Pattern: ^[a-z0-9_]+$
is_gift
boolean
default:false
gift_recipient_type
string | null
Pattern: ^(email|telegram)$
gift_recipient_value
string | null
Maximum string length: 255
gift_message
string | null
Maximum string length: 1000

Response

Successful Response

purchase_token
string
required
payment_url
string
required