Skip to main content
POST
/
admin
/
billing
/
sync-plans
Sync subscription plans to Stripe
curl --request POST \
  --url https://api.dualship.run/admin/billing/sync-plans \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "monthly_price_id": "price_monthly_abc",
      "product_id": "prod_abc123",
      "slug": "pro",
      "status": "synced",
      "yearly_price_id": "price_yearly_abc"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Response

Sync results

Stripe plan sync results

results
object[]