Task 4: Create New Subscriptions {#rb-subs-migration-4-new-subs}
================================================================

Write and run a script that sends subscription creation requests to the `Cybersource` subscription service. The new subscriptions replicate the active subscriptions in your current subscriptions provider.
This section contains information for writing the subscription creation script:

* **Requirements for the subscription creation script.** Adhere to these requirements as you write the subscription creation script.
* **Additional API field required for any credit or debit card subscription.** When migrating a credit or debit card payment subscription from a provider outside of the `Cybersource` system, include the network transaction ID of the authorized transaction from the previous provider system to avoid re-authorization for a new, zero-value credit card payment.
* **Additional API field required for a Diners or Discover card.**For subscriptions on Diners cards or Discover cards, also include the authorized payment amount from your previous provider system.
* **How to obtain the additional information required for a credit or debit card subscription.** The network transaction ID and the authorized payment amount are in the `Cybersource` `Token Management Service` (`TMS`), provided that the network transaction ID of the original subscription (from the previous provider) are now in `Cybersource` `TMS`. This condition is a prerequisite for migration.
* **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 `Cybersource` system.

