curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/card/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"cardHolderName": "<string>",
"token": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"redirect": "<string>"
}
Use a session id to authenticate
Unique identifier for the client
Unique identifier for the program
Session identifier for the donor
Credit card information updated successfully
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/card/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"cardHolderName": "<string>",
"token": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"redirect": "<string>"
}