PreAuthorization

Initiate Fund Holds Programmatically with PreAuthorization

Purpose

This method initiates the beginning of a pre-authorization process for a customer. The customer is placed on a page that requests entering payment card details.

myPOS Checkout API will check for:

  • Valid myPOS Account number (also referred to as Client number)
  • Valid Checkout Store ID (SID) corresponding with this myPOS Account number
  • Valid status of the Checkout (enabled)
  • Valid currency and amount
  • Valid KeyIndex & corresponding Signature
  • Valid OrderID

Method Properties

Please note all properties must be in PascalCase!

PropertyTypical valueTypeRequiredDescription
Amount23.45DoubleYESThe amount of the payment requested.
CurrencyEURA(3)YESISO 3-character currency code. The currency for the payment should be registered and approved.
OrderID20120331999999StringYESPlaceholder for the merchant. Used to put some data that will help the merchant to recognize for which order is the payment. Up to 80 characters.
SID000000000000010StringYESStore ID (SID) - Reference number for the Merchant Checkout in the myPOS system
WalletNumber61938166610StringYESmyPOS Client Number
KeyIndex1IntYESIndicates which key pair is being used.
URL_OKhttp://site.ext/paymentOKStringYESThe page where the cardholder should be redirected on successful payment.
URL_Cancelhttp://site.ext/paymentNOKStringYESThe page where the cardholder should be redirected when Cancel is pressed on the payment page.
URL_Notify*https://site.ext/paymentNotifyStringYESAddress supplied by the partner, where the IPCPreAuthorization API call will send the parameters for the successful pre-authorization.
AccountSettlement11111111119N(11)NOAccount for payment settlement.
NoteStringNOText associated with the pre-authorization.
ItemNameHP ProBook 6360b stickerStringYESThe item for which the authorization is being issued.

NOTE: The URL_Notify URL should be SSL-enabled address only (i.e. it must start with "https://"). Unsecured URLs will cause communication error.

Partner Identification

If you are part of our Partners Program, you will need to submit these two additional parameters with each of your requests to the API. This will provide you with analytics about the usage in your myPOS Partners Portal account and help our support teams assist you better.

Note - This requires you to set the API version of your requests to 1.4.1. No other changes in the code/requests are necessary.*

PropertyTypical valueTypeDescription
PartnerIDmps-p-XXXXXXXXStringIdentical number for the partner
ApplicationIDmps-app-XXXXXXXXStringIdentical number for the application

Example

New lines and tabulators are included for better reading and do not exist in the POST request.

IPCmethod=IPCPreAuthorization&
IPCVersion=1.4&
IPCLanguage=EN&
SID=000000000000010&
WalletNumber=61938166610&
Amount=23.45&
Currency=EUR&
OrderID=20120331999999&
URL_OK=http://site.ext/paymentOK&
URL_Cancel=http://site.ext/paymentNOK&
URL_Notify=https://site.ext/paymentNotify&
KeyIndex=1&
Signature=TuQ6nQJxWJ2T+sM6uzBqYYtOWdw+0ecHaRzujTJChWds/1HWK+kCcfKrAW9sN8xzsRBSZ2zH1uPMMIMgB3XqqHNbq06YhpD3XY/Ltp+ooc8xoq1jdajnUexC5JuDzTslCMKKFmW5vl0HsEkPltyxir0Z5AWpgOZkjqCPEr817