Retrieve Original Subscription Data from the
Cybersource
TMS

As a prerequisite to migration, customer tokens from your original provider are in the
Cybersource
TMS
. If this prerequisite is met, you can retrieve the additional data required for card subscriptions from the
Cybersource
TMS
.
This topic applies to migrating a credit or debit card subscription to
Cybersource
when the original subscription data (from the original subscription provider) is now in
Cybersource
TMS
.
  1. To retrieve original subscription data from the
    Cybersource
    TMS
    :
  2. Perform this GET request:

    ADDITIONAL INFORMATION

    • Production:
      GET
      https://api.cybersource.com
      /tms/v2/customers/{customerId}
    • Test:
      GET
      https://apitest.cybersource.com
      /tms/v2/customers/{customerId}
    Replace the
    {customerId}
    portion of the URL with the ID of the customer associated with the subscription in the previous provider system
  3. Retrieve the ID of the original transaction from this field of the response to the GET request:

    ADDITIONAL INFORMATION

    _embedded.defaultPaymentInstrument. _embedded.instrumentIdentifier. processingInformation. authorizationOptions. initiator. merchantInitiatedTransaction. previousTransactionId
  4. Include the network transaction ID in this field of the subscription creation request message that the script sends to the
    Cybersource
    subscription service:

    ADDITIONAL INFORMATION

    subscriptionInformation. originalTransactionId
  5. If the subscription is for a Diners card or Discover card:
    1. Retrieve the authorized payment amount from this field of the response to the GET request:

      ADDITIONAL INFORMATION

      _embedded.defaultPaymentInstrument. _embedded.instrumentIdentifier. processingInformation. authorizationOptions. initiator. merchantInitiatedTransaction. originalAuthorizedAmount
    2. Include the authorized payment amount in this field of the subscription creation request message that the script sends to the
      Cybersource
      subscription service:

      ADDITIONAL INFORMATION

      subscriptionInformation. originalTransactionAuthorizedAmount