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.
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
}
}Client ID for API authentication
The Id of the donor to get the subscription for.
"2ea1ae03ca521e437db76d76"
The Id of the subscription to get.
"2ea1ae03ca521e437db76d76"
Subscription
Subscription.
Show child attributes
Subscription Id.
"6710f34fd5061afeec3eab57"
Id of the Donor Profile.
"6710f34fd5061afeec3eab57"
Subscription created at.
"2025-01-01T00:00:00.000Z"
Subscription updated at.
"2025-01-01T00:00:00.000Z"
Subscription start date.
"2025-01-01T00:00:00.000Z"
Subscription status.
active, failed, inactive, pending, recreated "active"
Subscription amount.
50
Whether the donor wants the subscription to be anonymous.
false
Subscription frequency.
biweekly, monthly, weekly "weekly"
Subscription next payment date.
"2025-01-01T00:00:00.000Z"
Subscription payment method.
{
"id": "6710f34fd5061afeec3eab57",
"holderName": "John Doe",
"type": "card",
"last4": "4242",
"expiration": "12/2025"
}Whether the donor is covering fees.
false
Was this page helpful?