On This Page
Construct Your Subscription Creation Script
For each subscription record that you exported from
your former subscription provider, your script must submit an API request to create
a new Recurring Billing subscription in the system.
Cybersource
- For each subscription, instructions in your script must:
- Create the subscription creation request message with the requiredRESTAPI fields.
ADDITIONAL INFORMATION
ADDITIONAL INFORMATION
For reference information to help you to construct a request message through your script, see these topics: - Send the message to one of these endpoints:
- Production:POSThttps://api.cybersource.com/rbs/v1/subscriptions
- Test:POSThttps://apitest.cybersource.com/rbs/v1/subscriptions
- Check the response messages to verify that the request was successful.
ADDITIONAL INFORMATION
A 200-level HTTP response code indicates success. See theTransaction Response Codes. - Write the request and response information to the log file for troubleshooting and verification purposes.
- For transaction errors, perform error handling and retry logic when appropriate.