Subscriptions
Create subscription
https://rcur.app/api/v2/subscriptions
Requires your API key as Authorization: Bearer <key>. See authentication.
Request body
application/jsonSubscription data
-
namestring requiredSubscription name
-
customer_idstring requiredCustomer hash ID
-
mollie_profile_idstring requiredMollie profile ID
-
mollie_mandate_idstring requiredMollie mandate ID
-
customer_portalstringCan the customer pause and cancel this subscription in the customer portal: inherit follows the customer portal settings, allow and deny overrule them. Defaults to inherit
One of
inheritallowdeny -
start_datestring requiredStart date (Y-m-d)
-
workflow_idstringInvoice workflow ID (required for Moneybird)
-
docstyle_idstringDocument style ID (required for Moneybird)
-
rulesarray of objects requiredSubscription rules
6 child attributes
-
amountnumberAmount per interval
-
intervalstringInterval type
One of
dayweekmonthyear -
interval_amountintegerNumber of intervals
-
dayintegerDay of interval (0-365)
-
timesintegerNumber of times (null = infinite)
-
invoice_rulesarray of objectsInvoice rules (when invoicing is enabled)
5 child attributes
-
quantityinteger -
descriptionstring -
amountnumber -
vatstring -
ledger_account_idstring
-
-
Responses
200 Subscription details Subscription object
-
idstring required -
namestring required -
statusstring requiredOne of
draftactivepausedcancelledcompleted -
start_datestring required -
mollie_mandate_idstring -
mollie_profile_idstring -
next_payment_atstring nullable -
next_amountstring nullable -
last_payment_created_atstring nullable -
resume_atstring nullable -
cancel_atstring nullable -
customer_portalstringCan the customer pause and cancel this subscription in the customer portal: inherit follows the customer portal settings, allow and deny overrule them
One of
inheritallowdeny -
created_atstring required -
rulesarray of SubscriptionRules8 child attributes · SubscriptionRule
-
idstring required -
amountstring required -
currencystring requiredOne of
AEDAUDBGNBRLCADCHFCZKDKKEURGBPHKDHUFILSISKJPYMXNMYRNOKNZDPHPPLNRONSEKSGDTHBTWDUSDZAR -
intervalstring requiredOne of
dayweekmonthyear -
interval_amountinteger required -
dayinteger required -
timesinteger nullable -
times_doneinteger required
-
-
customerobject
404 Resource not found Error object
-
statusinteger required -
errorstring required
422 Validation error ValidationError object
-
statusinteger required -
errorstring required -
fieldsobject