SDK reference · Rails
verifyX402Payment
verifyX402Payment in @provenanceauth/rails/x402, Rails. Merchant side: verify the intent token in a PAYMENT-SIGNATURE header before you settle.
Signature
verifyX402Payment(paymentSignature: string | null | undefined, opts: X402VerifyOptions): Promise<X402VerifyResult>Parameters
paymentSignaturestring | null | undefinedRequiredoptsX402VerifyOptionsRequired
Returns
Promise<X402VerifyResult>
HTTP operation
Runs locally, with no request to the API.