View as Markdown

SDK reference · Rails

verifyAgentCheckout

verifyAgentCheckout in @provenanceauth/rails/checkout, Rails. Merchant side: verify the Provenance-Intent header against your own order record.

Signature

verifyAgentCheckout(headerValue: string | null | undefined, opts: CheckoutVerifyOptions): Promise<CheckoutVerifyResult>

Parameters

headerValuestring | null | undefinedRequired
optsCheckoutVerifyOptionsRequired

Returns

Promise<CheckoutVerifyResult>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.