Skip to main content
PATCH
/
v1
/
donation-pledges
/
{id}
/
transaction-hash
Update transaction hash for a crypto donation pledge
curl --request PATCH \
  --url https://api.endaoment.org/v1/donation-pledges/{id}/transaction-hash \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
any
required

The unique identifier of the donation pledge

Body

application/json
transactionHash
string
required

Transaction hash proving that the asset was sent to the entity

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

Response

Transaction hash successfully updated