On This Page
REST API
Retrieving a List of Plans
A list of plans provides these details for each plan:
- Plan ID
- Plan code
- Plan name
- Description
- Status
- Billing period unit
- Billing period length
- Billing cycles total
- Currency
- Billing amount
- Set-up fee
After you retrieve the list of plans, use the plan ID to retrieve, amend, activate, deactivate, or delete a subscription.
Follow these steps to retrieve a list of plans:
- Filter the list of plans by these query string parameters:
ADDITIONAL INFORMATION
- filters: Use Lucene query syntax. Only keyword-matching andANDare supported. Example:name:"Test plan" AND code:"009" AND status:"ACTIVE"
- offset: Page offset number.
- limit: Number of items to be returned. Default is20and maximum is100.
- Format the endpoint as follows:
ADDITIONAL INFORMATION
GET https://<url_prefix>/rbs/v1/plansADDITIONAL INFORMATION
Use one of these URL prefixes:- Test:apitest.cybersource.com
- Production:api.cybersource.com
- Production in India:api.in.cybersource.com
- 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.