GET
/
admin
/
donor-credit-card
/
{donor_id}
curl --request GET \
  --url https://api.helpyousponsor.com/v1/admin/donor-credit-card/{donor_id} \
  --header 'Authorization: Bearer <token>'
{
  "card": [
    {}
  ],
  "pubKey": "pk_xuPpaoBbdDL4ZSXHc4Ky89qGTvppn"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

donor_id
integer
required

The id of the donor

Response

200
application/json
Card details retrieved successfully
card
object[]
pubKey
string
Example:

"pk_xuPpaoBbdDL4ZSXHc4Ky89qGTvppn"