Look Up All Plans Belonging to a Merchant

GET /subscriptionsplans/v1/plans

You can generate a summary of all your plans with a single GET request to the plans endpoint. The response will contain an array that lists all your plans, as well as meta data that shows you how many plans you have (the numberOfRecords element).

"_meta": {
"numberOfRecords": 2,
"limit": 10,
"page": 1
}

To look up all your plans, you must initiate a GET request to the plans endpoint.

Prior to trying the example, you should replace the API key (after the -u) with the Test API key you received.

For a description of the elements in the request and response for this example, see Create a Plan.

For a complete list and description of the elements and values associated with a plan, consult the plan creation API request.

Did you find this page useful?