Verify a payment request before paying it
robyn_payment_request_verifyALWAYS run this before paying a request you received. It confirms the payee address, chain, token and amount were signed by whoever controls the payee address, and that the request has not expired. If signedByPayee is false, DO NOT PAY — that is what an altered payee address looks like, and address substitution is the most common theft in this space. A valid signature proves AUTHENTICITY, not that the payment is owed and not that the payee is trustworthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | the canonical request object | |
| signature | Yes | the payee signature |