zibri
    Preparing search index...

    Client for handling anything related with the PayPal API.

    Index

    Constructors

    Methods

    • Authorizes an AUTHORIZE-intent order that the buyer has already approved. Must be called before confirmPaymentReservation can read the authorization id.

      Parameters

      • orderId: string

        The id of the approved order to authorize.

      Returns Promise<GetOrderResp>

      The authorized order, including purchase_units[].payments.authorizations.