| Field | Type | Description | Constraints |
|---|---|---|---|
status | string | New payee status (e.g. approved, rejected) | Max: 100 |
rejectReason | string | Reason when rejecting | Nullable |
metadata | string | Free-form metadata | Nullable |
curl --location --request PUT '/api/v1/admin/payees/9b2f1c44-8a31-4f0d-9d6e-1c2b3a4d5e6f/state' \
--header 'Content-Type: application/json' \
--data '{
"status": "approved",
"rejectReason": null,
"metadata": null
}'{
"success": true,
"status": "approved"
}