Skip to content

Function: verifyPayment()

function verifyPayment(
   pp, 
   requirement, 
opts): Promise<VerifyResponse>;

Defined in: rine-core/dist/src/x402/facilitator.d.ts:97

POST the signed payload to the facilitator's /verify endpoint. requirement is the payee-owned terms (from reconcilePayment); it is what the facilitator validates the authorization against — never pp.accepted.

Parameters

Parameter Type
pp PaymentPayload
requirement PaymentRequirements
opts FacilitatorCallOptions

Returns

Promise\<VerifyResponse>