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 | undefinedRequiredoptsCheckoutVerifyOptionsRequired
Returns
Promise<CheckoutVerifyResult>
HTTP operation
Runs locally, with no request to the API.