Skip to main content
POST
Update donor credit card details

Authorizations

X-HYS-API-Key
string
header
required

API key generated from Developer Settings. Format: hys_...

Path Parameters

donor_id
integer
required

The id of the donor

Body

application/json

Donor ID and card details are required

cardHolderName
string
Example:

"John Doe"

firstName
string
Example:

"John"

lastName
string
Example:

"Doe"

token
string
Example:

"tok_ODONGNndknfkn2452"

Response

Card details updated successfully

message
string
Example:

"Credit Card Successfully Updated."