Allows a donor to update their credit card information.
curl --request GET \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/card/{client_id}/{program_id}/{session_id} \
--header 'session_id: <api-key>'
{
"status": "success",
"data": {
"client_id": 123,
"program_id": 123,
"session_id": "<string>",
"months": [
"<string>"
],
"years": [
123
],
"disable_program_link": "<string>",
"credit_card": "<string>",
"sponsorships": [
{}
],
"commitments": [
{}
]
}
}
Use a session id to authenticate
Client ID associated with the donor
Program ID associated with the donor
Session ID for the donor
Credit card update information retrieved successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/card/{client_id}/{program_id}/{session_id} \
--header 'session_id: <api-key>'
{
"status": "success",
"data": {
"client_id": 123,
"program_id": 123,
"session_id": "<string>",
"months": [
"<string>"
],
"years": [
123
],
"disable_program_link": "<string>",
"credit_card": "<string>",
"sponsorships": [
{}
],
"commitments": [
{}
]
}
}