SDK reference · Rails
ap2CheckoutMandateContent
ap2CheckoutMandateContent in @provenanceauth/rails/ap2, Rails. Closed Checkout Mandate CONTENT (mandate.checkout.1) for a merchant-signed Checkout JWT, with the intent token in.
Signature
ap2CheckoutMandateContent(checkoutJwt: string, intentToken: string, opts?: { jwksUrl?: string; iat?: number; exp?: number }): Ap2CheckoutMandateParameters
checkoutJwtstringRequiredintentTokenstringRequiredopts{ jwksUrl?: string; iat?: number; exp?: number }
Returns
Ap2CheckoutMandate
HTTP operation
Runs locally, with no request to the API.