Vai al contenuto principale
POST
Create Recurring

Autorizzazioni

Authorization
string
header
obbligatorio

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

Corpo

application/json

VEN-3: duration = ogni quante unita' di frequency si addebita (>= 1); cycle = quante volte in tutto, acquisto compreso (0 = senza fine); trial_duration = durata della prova in trial_frequency (>= 1 se trial_status). trial_cycle resta accettato ma la prova e' un solo periodo: conta solo per i piani salvati senza trial_duration.

price
obbligatorio
Intervallo richiesto: 0 < x <= 99999999.99
frequency
string
obbligatorio
name_i18n
Name I18N · object | null
duration
integer
predefinito:1
Intervallo richiesto: 1 <= x <= 1000
cycle
integer
predefinito:0
Intervallo richiesto: 0 <= x <= 1000
trial_status
boolean
predefinito:false
trial_price
Intervallo richiesto: 0 <= x <= 99999999.99
trial_frequency
string | null
trial_duration
integer | null
Intervallo richiesto: 0 <= x <= 1000
trial_cycle
integer | null
Intervallo richiesto: 0 <= x <= 1000
is_active
boolean
predefinito:true
sort_order
integer
predefinito:0

Risposta

Successful Response

data
RecurringOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null