Skip to main content

update_payment_endpoint

Function update_payment_endpoint 

Source
pub async fn update_payment_endpoint(
    session: &PubkySession,
    app_id: &PaykitAppId,
    identifier: PaymentEndpointIdentifier,
    payload: PaymentEndpointPayload,
    expected_revision: &str,
) -> Result<()>
Expand description

Replaces a public Payment Endpoint only at the supplied strong revision.

Session creation, capability scope, and key rotation remain the caller’s responsibility.