• France
status page
demonstrations
assistance
FAQContact support
Search
Categories
Tags
English
French
English
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
Snippets
Payment methods
Plugins
Guides
Merchant Back Office
Functional guides

Creating a recurring payment via Web services

Use the Charge/CreateSubscription method of the REST web Service / API

This solution consists in making a call to the Charge/CreateSubscription Web Service by transmitting the UMR to be debited in the paymentMethodToken attribute.

The Merchant defines the recurrence rule via the rrule attribute and the recurring payment start date via the attribute. effectDate.

The start date must be at least 14 days after the current date.

If the operation is successful, the Web Service returns the reference of the subscription created in the subscriptionId attribute.

Example of a request:

{
  "amount":"3990",
  "currency":"EUR",
  "effectDate":"2021-06-14T00:00:00+01:00",
  "paymentMethodToken":"0d75bd5f1fef4e779a4154e65abb39ca",
  "rrule":"RRULE:FREQ=MONTHLY;BYMONTHDAY=1;INTERVAL=1",
  "orderId":""myOrderId-803362"
}

Example of a response:

"answer": {
  "subscriptionId": "20210531gh5h5R",
  "_type": "V4/SubscriptionCreated"
}

© 2025 {'|'} All rights reserved to Sogecommerce
25.18-1.11