AGENT SKILL
subscriptions
Work with Revolut Subscriptions API — plans, subscriptions, billing cycles
- License 许可
- MIT
- 最近更新
- 2026-07-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- description
- Work with Revolut Subscriptions API — plans, subscriptions, billing cycles
03 SKILL.md 正文
Subscriptions
Revolut has a native Subscriptions API with a plan-based model.
Endpoints
- Plans:
POST/GET /api/subscription-plans— plan contains variations (e.g. monthly/yearly), each with phases - Subscriptions:
POST/GET/PATCH /api/subscriptions,POST .../cancel,POST .../change-plan - Billing Cycles:
GET /api/subscriptions/{id}/cycles
Key differences from Stripe
- Plan-based (plan → variation → phases) vs Stripe's price-based model
- No native pause/resume endpoints (
pausedstate exists but no API trigger) - Swap exists, but as a command, not a field:
POST /api/subscriptions/{id}/change-plan. It is scheduledat_cycle_end(the only accepted value) — deferred, never prorated, and a trial on the target variation is skipped. Do NOT simulate it with cancel + create. PATCHupdate limited toexternal_referenceonly- Trial via
trial_duration(ISO 8601, e.g.P14D) on plan or subscription level
Webhook events
SUBSCRIPTION_INITIATED, SUBSCRIPTION_FINISHED, SUBSCRIPTION_CANCELLED, SUBSCRIPTION_OVERDUE
Statuses
pending, active, overdue, paused, cancelled, finished
04 同仓库更多 Skills
webhook
Handle Revolut webhook events
★ 0
migration
Create or modify database migrations
★ 0
implement-contract
Implement a contract (interface) from isapp/laravel-cashier-support
★ 0
check
Run quality checks — tests, static analysis, code style
★ 0
api-request
Make an HTTP request to the Revolut Merchant API via RevolutClient
★ 0