Skip to main content
POST
Add a commitment donation

Authorizations

X-HYS-API-Key
string
header
required

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

Path Parameters

commitment_id
integer
required

ID of the commitment to be added

Body

application/json

Donation data to be added

client_id
string
Example:

"1"

amount
number
Example:

100

commitment_id
number
Example:

1

method
integer
Example:

3

result
string
Example:

"result note"

created_at
string
Example:

"2022-01-01"

Response

Donation added successfully

message
string
Example:

"Donation Successful"