SDK reference · Rails
acceptNetworkOrder
acceptNetworkOrder in @provenanceauth/rails/checkout, Rails. Verify a network order offline (signature, the exact order, approval strength), then accept it online: the person's reserved budget becomes spend.
Signature
acceptNetworkOrder(headerValue: string | null | undefined, opts: NetworkAcceptOptions): Promise<NetworkAcceptResult>Parameters
headerValuestring | null | undefinedRequiredoptsNetworkAcceptOptionsRequired
Returns
Promise<NetworkAcceptResult>
HTTP operation
Runs locally, with no request to the API.