View as Markdown

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 | undefinedRequired
optsX402VerifyOptionsRequired

Returns

Promise<X402VerifyResult>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.