# Parameters to Retrieve a Recurring Donation Setup
source: https://developer.mastercard.com/donations/documentation/parameters/manage-recur-donation-param/retrieve-a-donation-setup/index.md

## Method to Retrieve a Recurring Donation Setup {#method-to-retrieve-a-recurring-donation-setup}

| Method |                                                                       Endpoint                                                                        |
|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| GET    | **Deprecated:** ~~/donations/donors/{donor_id}/setups/{donation_setup_id}~~ **New:** /donations/donors/{donor_id}/donation-setups/{donation_setup_id} |

## Path parameters {#path-parameters}

|       Parameter       |                                                         Description                                                          |
|-----------------------|------------------------------------------------------------------------------------------------------------------------------|
| **donorId**           | Unique ID generated by Mastercard when a new donor is enrolled.                                                              |
| **donation_setup_id** | The unique identifier of the recurring donation set up generated by Mastercard at the time the recurring donation was setup. |

## Response Parameters {#response-parameters}

A successful request returns the HTTP `200 OK` status code and a JSON response body. Returns a donor object if a valid **donorId** was provided. When requesting the **donorId** of a donor that has been deleted, a subset of the donor's information will be returned, including the **setupStatus** returned as **DELETED**.

|        Name         |                                                         Description                                                          |
|---------------------|------------------------------------------------------------------------------------------------------------------------------|
| **donationSetupId** | The unique identifier of the recurring donation configuration generated by Mastercard at the time the donation was setup.    |
| **cardId**          | Unique ID for the payment card selected for the monthly donation. Generated by Mastercard at the time the card was enrolled. |
| **donorId**         | Unique ID generated by Mastercard when a new donor is enrolled.                                                              |
| **setupStatus**     | Indicates the status of the set-up. Can be **INITIATED** , **INACTIVE** , **ACTIVE** , **FAILED** and **DELETED**.           |
| **charityId**       | The charity's unique identifier. Assigned by Mastercard during onboarding.                                                   |
| **donationType**    | The type of donation. Values can be **Monthly** , **Micro** and **Roundup**.                                                 |
| **amount**          | The amount of the recurring donation as input by the donor during the recurring donation setup.                              |
| **maxCap**          | The maximum recurring amount of donations as input by the donor during the recurring donation setup.                         |

