Retrieving a Subscription

You can retrieve the details of a specific subscription. The subscription details returned in the response include:
  • Subscription ID
  • Subscription code
  • Subscription status
  • Subscription name
  • Customer ID
  • Plan ID
  • Plan code
  • Plan name
  • Plan description
  • Plan status
  • Billing period unit
  • Billing period length
  • Billing cycles total
  • Billing cycles current
  • Currency
  • Billing amount
  • Set-up fee
Follow these steps to retrieve a subscription:
  1. In the endpoint path, include the subscription ID that you received from your list of subscriptions.
  2. Send the request message to one of these endpoints:
    Production:
    GET https://api.cybersource.com/rbs/v1/subscriptions/{id}
    Test:
    GET https://apitest.cybersource.test.com/rbs/v1/subscriptions/{id}
  3. Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success.
    For information about response codes, see
    Transaction Response Codes
    .