get https://api.sandbox.cleeng.com/3.1/subscriptions
This endpoint returns subscriptions that match the specified criteria (transactionId, paymentMethodId, externalId, customerId or offerId and customerId together). Please bear in mind that if you don't provide any parameters, an empty list will be returned.
Note: Filtering by customerId and offerId might return multiple active subscriptions instead of one if multiple subscriptions have been created for the same offer.
NoteIf a
transactionIdparameter is provided, search bypaymentMethodId,externalId,customerIdorofferIdandcustomerIdtogether is ignored becausetransactionIdalways takes precedence over the other parameters.
- Default page limit: 20 results per request are returned.
- Header X-Total-Count will show the total number of results for the provided query parameters.
- The following subscription resource properties are deprecated:
id,userIdandpaymentGateway.
Response format is the same as in Create subscription endpoint.
