Docs

Billing cycle required for trial period

Occurs when your request contains trial_period but billing_cycle is not set.

Example response
{
"error": {
"type": "request_error",
"code": "price_trial_period_requires_billing_cycle",
"detail": "setting a trial_period requires billing_cycle to be set",
"documentation_url": "https://developer.paddle.com/errors/prices/price_trial_period_requires_billing_cycle"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
price_trial_period_requires_billing_cycle
Error message
setting a trial_period requires billing_cycle to be set

Common causes

  • Only recurring prices can have a trial period. trial_period is included but billing_cycle has not been set.

Troubleshooting

  • Add a billing_cycle to your request and try again.
  • Remove trial_period if not required.

Was this page helpful?