Skip to documentation
YPYakaApp YakaniPay
Menu

Guides

PreAuthorization

Pre-authorize payments before final capture

Overview

PreAuthorization is a two-step payment flow. First, place a temporary hold on the customer's account. Later, capture the approved amount or cancel the hold. This is useful when the final charge may change.

H

Hotel reservations

Hold funds at check-in and charge the final amount at check-out.

C

Car rentals

Pre-authorize a deposit and settle it based on actual usage.

E

E-commerce orders

Hold funds when an order is placed and capture them when it ships.

Flow

  1. PreAuthorizeAPI_PREAUTHORIZE

    Call the PreAuthorize endpoint to place a hold on the customer's supported mobile wallet. The funds are reserved but not captured.

  2. Verify hold

    Check the response. A successful pre-authorization returns a transactionId that must be stored securely for the next step.

  3. Commit or cancelAPI_PREAUTHORIZE_COMMITAPI_PREAUTHORIZE_CANCEL

    Commit the transaction to capture the final amount, or cancel it to release the hold without a charge.