API referenceSubscriptions
List a subscription's subscribers
Filter by email to check one customer. Accepts the subscription ID or code (SUB-001). Up to 100, newest first.
GET
Filter by email to check one customer. Accepts the subscription ID or code (SUB-001). Up to 100, newest first.
api-keyheader
x-api-key<token>Your API key: ck_test_... for test mode, ck_live_... for live. Send it with x-api-secret (or Authorization: Bearer ).
subscriptionId*stringemail?stringFind a customer's subscription by email.
Format
emailstatus?stringValue in
"PENDING""PROCESSING""ACTIVE""OVERDUE""LAPSED""CANCELLED"x-api-secret?stringRecommended: API secret sent over HTTPS. You may send it as Authorization: Bearer instead. If supplied, x-timestamp and x-signature are not required.
x-timestamp?stringLegacy signed mode: Unix time in milliseconds; maximum clock skew five minutes.
x-signature?stringLegacy signed mode: HMAC-SHA256(secret, timestamp.METHOD.url.idempotencyKey.bodyHash).
application/json- response
[index: integer]?curl -X GET 'https://api.creddot.com/api/v1/subscriptions/string/subscribers'Example Response
[ { "id": "string", "orderCode": "string", "customerId": "string", "customerName": "string", "customerEmail": "string", "amountMinor": "string", "currency": "string", "paymentMethod": "string", "status": "PENDING", "customerPhone": "string", "lastPaidAt": "string", "overdueAt": "string", "lapsedAt": "string", "planId": "string", "planName": "string", "billingCycle": "WEEKLY", "startedAt": "string", "nextBillingAt": "string", "cancelledAt": "string", "createdAt": "string" }]