pay_wrong_signer: The hop is not signed by its delegator
A payment (POST /owner/v1/human/payments) carries a signed hop (delegation), but the signature does not recover to the hop's delegator, or not to the address the delegation names. The delegator is the budget's funder for a payment from the budget's root, or the parent stream's payee for a payment from parentStreamId. Nothing was opened (fail closed).
What to do
- Sign with the wallet of the budget's funder (or of the parent stream's payee).
- Sign exactly the intent from
GET /owner/v1/human/payments/intentfor this payee, amount, parent and category; a signature over other values recovers to a different address.
On the wire
HTTP 409, error type state_error, errorDetail.param delegation.
{
"error": "state",
"errorDetail": {
"type": "state_error",
"code": "pay_wrong_signer",
"message": "…",
"param": "delegation",
"doc_url": "…/developers/human-payments.md#pay-wrong-signer",
"fix": "sign with the wallet of the budget's funder (or the parent stream's payee); the signature recovers to another address"
}
}
See human payments and all error codes.