paypal/paypal_payments/src/paypal_payments/authorizations

Procs

proc getV2PaymentsAuthorizationsAuthorizationId(client: PaymentsClient;
    authorizationId: string): Future[Authorization2] {....stackTrace: false, raises: [
    Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, KeyError, JsonParsingError, OpenParserJsonError,
    PaymentsClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect, WriteIOEffect], forbids: [].}
Shows details for an authorized payment, by ID.
proc postV2PaymentsAuthorizationsAuthorizationIdCapture(client: PaymentsClient;
    authorizationId: string; body: types.CaptureRequest): Future[Capture2] {.
    ...stackTrace: false, raises: [Exception, ValueError, HttpRequestError,
                                LibraryError, SslError, OSError, IOError,
                                ProtocolError, KeyError, JsonParsingError,
                                OpenParserJsonError, PaymentsClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect, WriteIOEffect], forbids: [].}
Captures an authorized payment, by ID.
proc postV2PaymentsAuthorizationsAuthorizationIdReauthorize(
    client: PaymentsClient; authorizationId: string;
    body: types.ReauthorizeRequest): Future[Authorization2] {....stackTrace: false, raises: [
    Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, KeyError, JsonParsingError, OpenParserJsonError,
    PaymentsClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect, WriteIOEffect], forbids: [].}
Reauthorizes an authorized PayPal account payment, by ID. To ensure that funds are still available, reauthorize a payment after its initial three-day honor period expires. Within the 29-day authorization period, you can issue multiple re-authorizations after the honor period expires.<br/><br/>If 30 days have transpired since the date of the original authorization, you must create an authorized payment instead of reauthorizing the original authorized payment.<br/><br/>A reauthorized payment itself has a new honor period of three days.<br/><br/>You can reauthorize an authorized payment from 4 to 29 days after the 3-day honor period. The allowed amount depends on context and geography, for example in US it is up to 115% of the original authorized amount, not to exceed an increase of $75 USD.<br/><br/>Supports only the amount request parameter.
proc postV2PaymentsAuthorizationsAuthorizationIdVoid(client: PaymentsClient;
    authorizationId: string): Future[Authorization2] {....stackTrace: false, raises: [
    Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, KeyError, JsonParsingError, OpenParserJsonError,
    PaymentsClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect, WriteIOEffect], forbids: [].}
Voids, or cancels, an authorized payment, by ID. You cannot void an authorized payment that has been fully captured.