POST
/
v1
/
feedback
curl --request POST \
  --url https://api.valyu.network/v1/feedback \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "tx_id": "<string>",
  "feedback": "<string>",
  "sentiment": "very good"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
Feedback details
tx_id
string
required

Transaction ID to provide feedback for

feedback
string
required

User feedback text

sentiment
enum<string>
required

Sentiment rating for the transaction

Available options:
very good,
good,
bad,
very bad

Response

200
application/json
Feedback successfully submitted
success
boolean
required

Indicates if the feedback was successfully processed

message
string
required

Success message