SDK reference · Rails
verifyDelivery
verifyDelivery in @provenanceauth/rails/deals, Rails. Verify a delivery receipt against the seller's registered keys.
Signature
verifyDelivery(receipt: string, opts: { keys: SellerKey[]; seller?: string }): Promise<DeliveryVerifyResult>Parameters
receiptstringRequiredopts{ keys: SellerKey[]; seller?: string }Required
Returns
Promise<DeliveryVerifyResult>
HTTP operation
Runs locally, with no request to the API.