On This Page
Creating a Fully Customized Subscription with a One-Time Plan
You can create a subscription with a one-time plan.
The start date must be in coordinated universal time (UTC) in
this format:
YYYY-MM-DDThh:mm:ssZ
. The T separates the date and the
time. The Z
indicates UTC. For example,
2023-08-11T22:47:57Z
indicates August 11, 2023, at 22:47:57
(10:47:57PM).
For subscriptions created on the start date, set the time to
the current time and day in your time zone.Fields Specific to This Use Case
These REST API request fields and values are specific to this use case:
- orderInformation.amountDetails.billingAmount
- orderInformation.amountDetails.currency
- orderInformation.amountDetails.setupFee
- planInformation.billingCycles.total
- planInformation.billingPeriod.length
- planInformation.billingPeriod.unit
- subscriptionInformation.startDate
Basic Steps
Follow these steps to create a subscription:
- Create the request with the required API fields.
- Send the request to one of these endpoints:
- Production:POST https://api.cybersource.com/rbs/v1/subscriptions
- Test:POST https://apitest.cybersource.test.com/rbs/v1/subscriptions
- Verify the response messages to make sure that the request was successful. A 200-level HTTP response code indicates success.