Get Donation
GET {{baseUrl}}/donors/:donor_id/setups/:donation_setup_id
Retrieve donation setup details by setupid
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-openapi-clientid | string | (Required) ClientId is a unique and a mandatory ID shared while creating a project on Mastercard Developers Portal. | |
x-correlation-id | string | CorrelationId is a unique donation request ID. It is recommended to pass the x-correlation-id by the customer and to use the format "bankname_UUID" (bank name can be indicated using the first 4 digits). Maximum length of this field should be 100 alphanumeric characters. If not passed, Mastercard will generate it. | |
x-program-id | string | ProgramId is an optional field, but if a client has more than one program associated to it, then this field becomes mandatory. | |
Accept | string |
RESPONSES
status: OK
{"amount":"11","cardId":"ebee3d81-18d4-409a-8330-73db083f2cfc","charityId":"ae3c5f35-084a-4df9-a2af-7e0efd512fc0","donationSetupId":"4a520af0-8e47-44cd-8925-9f3ecd09baff","donationType":"Micro","donorId":"652ce9ff-fa5f-4e9f-8151-c73fa20088f7","maxCap":"50","setupStatus":"ACTIVE"}