View as Markdown

SDK reference · Rails

provenanceMandateToAp2OpenPayment

provenanceMandateToAp2OpenPayment in @provenanceauth/rails/ap2, Rails. A Provenance mandate → open Payment Mandate CONTENT (mandate.payment.open.1), unsigned: the Shopping Agent hands it to its Trusted Surface to sign.

Signature

provenanceMandateToAp2OpenPayment(m: ProvenanceMandateView, opts: Ap2OpenPaymentOptions): { mandate: Ap2OpenPaymentMandate; not_mapped: string[] }

Parameters

mProvenanceMandateViewRequired
optsAp2OpenPaymentOptionsRequired

Returns

{ mandate: Ap2OpenPaymentMandate; not_mapped: string[] }

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.