SDK reference · Rails
acpBindingFromSession
acpBindingFromSession in @provenanceauth/rails/acp, Rails. The binding for a checkout session the merchant (or agent) holds, bound to the store's origin.
Signature
acpBindingFromSession(session: AcpCheckoutSessionLike, merchantId: string, origin: string): AcpBindingParameters
sessionAcpCheckoutSessionLikeRequiredmerchantIdstringRequiredoriginstringRequired
Returns
AcpBinding
HTTP operation
Runs locally, with no request to the API.