Unitpay
en
en
  • Home
  • First steps
    • Registration
    • Adding a Project
      • Adding a VK Community Project
    • Project Moderation
    • Transfer of the Project
    • Video tutorials
  • Payments
    • Creating a payment (easy way)
    • Creating a Payment
    • Creating a payment (widget)
    • Parameters for receipts
    • Creating Payment Links in Your Personal Account
    • Payment Handler
    • Payment information
    • Payment Refund
    • Payments with Pre-authorization
    • Recurring payments
      • Creating a Subscription
      • Getting Information About Subscription
      • Getting a List of Active Subscriptions
      • Closing a Subscription
  • Mass payouts
    • Creating a payout
    • Information about Payout
    • Card information by BIN
    • Payments based on a CSV registry
  • Online cash desk
    • Parameters for generating a receipt
    • Unit.Reciepts
    • Adding online cash desk
    • Types of Online Cash Register Receipt Items
    • Advance credit reciepts
  • Modules
    • Payment handler
    • Unitpay SDK
    • CMS modules
      • Amiro
      • PHPShop
      • 1C Bitrix
      • CS-Cart
      • DIAFAN.CMS
      • Drupal 7 (commerce)
      • Drupal 7 (ubercart 3)
      • Drupal 8, 9 (commerce)
      • Ecwid by Lightspeed
      • HostCMS
      • InSales
      • Joomshopping 4 (joomla 3)
      • LogicBoxes
      • Magento
      • Magento 2
      • OpenCart
      • osCommerce
      • Prestashop
      • ReadyScript
      • ShopCMS
      • Simpla
      • Tilda
      • Netcat CMS
      • UMI.CMS
      • VamShop 2
      • VirtueMart 3 (joomla 3)
      • Webasyst Shop Script 7 (8)
      • Wix
      • Woocommerce Wordpress
      • Zen Cart
      • Amiro CMS
      • CMS NWICODE
      • MODX (miniShop2)
  • Manage Unitpay
    • Interface Instructions
    • SP documents
    • Legal entity documents
    • Current Balance
    • Commissions
    • Currency Conversion Rates
  • Book of reference
    • System IP addresses
    • Payment Form Appearance
    • Using the Test API
    • Operator Codes
    • Payment System Codes
    • Currency codes
    • Qiwi Country Codes
  • Referral program
    • Interface of Referrer's (Agent's) Account
  • Support
  • Other
    • Telegram bot
    • Using the Test API
  • Google Pay™
Powered by GitBook
On this page

Was this helpful?

  1. Payments

Payments with Pre-authorization

PreviousPayment RefundNextRecurring payments

Last updated 1 year ago

Was this helpful?

We recommend using this function after consulting with your supervising manager.

You can initiate the creation of a payment with pre-authorization by using the additional preauth parameter when .

Value

Description

preauth

true/false

Use this flag to create a payment with pre-authorization. By default, this flag is disabled and the value is 0

preauthExpireLogic

number

Field for the logic of blocking payment with pre-authorization 0 - If there is no request for confirmation or cancellation, payment will be confirmed upon expiration of the lock on the side of the acquirer bank (~114 hours after creating the payment) 1 - If there is no request for confirmation or cancellation, payment will be cancelled upon expiration of the lock on the side of the acquirer bank (~114 hours after creating the payment). If the parameter is not used, the payment will be cancelled after the expiration date.

Confirming a payment with pre-authorization

To confirm the payment with pre-authorization (debit the funds blocked on the payer's card), you need to run a GET query:

Value

Description

paymentId

number

Payment ID in the UnitPay system.

secretKey

line

Project secret key.

Successful response when confirming payment with pre-authorization

Платеж успешно подтвержден

Payment successfully confirmed

Error response when confirming payment with pre-authorization

Платеж не может быть подтвержден

The payment cannot be confirmed

Value

Description

message

line

Information with a description of the request error.

Canceling a payment with pre-authorization

To cancel the payment with pre-authorization (unblock the funds on the payer's card), you need to run a GET query:

Value

Description

paymentId

number

Payment ID in the UnitPay system.

secretKey

line

Project secret key.

Successful response when cancelling payment with pre-authorization

Блокировка успешно отменёна

The block successfully canceled

Error response when cancelling payment with pre-authorization

Платеж не может быть отменен

The payment cannot be cancelled

Value

Description

message

line

Information with a description of the request error.

Payments with Pre-authorization don't work simultaneously with

subscriptions
creating the payment