cURL
curl --request GET \ --url https://server.stage.overflow.co/api/v3/subscriptions/{donorId}/{subscriptionId} \ --header 'x-client-id: <api-key>'
{ "data": { "id": "6710f34fd5061afeec3eab57", "donorId": "6710f34fd5061afeec3eab57", "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "startDate": "2025-01-01T00:00:00.000Z", "status": "active", "amount": 50, "anonymous": false, "frequency": "weekly", "nextPaymentDate": "2025-01-01T00:00:00.000Z", "paymentMethod": { "id": "6710f34fd5061afeec3eab57", "holderName": "John Doe", "type": "card", "last4": "4242", "expiration": "12/2025" }, "campaign": { "id": "7710f34fd5061afeec3eab78", "name": "Mission 2025" }, "subcampaign": { "id": "7710f34fd5061afeec3eab79", "name": "Toy Drive" }, "donorCoveredFees": false } }
Returns a donor subscription by its Id.
Client ID for API authentication
The Id of the donor to get the subscription for.
"2ea1ae03ca521e437db76d76"
The Id of the subscription to get.
Subscription
Subscription.
Show child attributes
Was this page helpful?