Creating an authorization without capture

This payment mode allows to make sure that the buyer’s card data is correct without debiting it.

If needed, the merchant will be able to debit the desired amount from the card account by using the Duplicate function of the Expert Back Office. To do this:

  • the manual validation mode is used,
  • the merchant must not validate transactions manually.
  1. Use all the fields of the table below to create your payment form.
    Field name Description Format Value
    vads_site_id Shop ID n8 E.g.: 12345678
    vads_ctx_mode Defines the mode of interaction with the payment gateway. enum TEST or PRODUCTION
    vads_trans_id Transaction number n6 E.g.: 123456
    vads_trans_date Date and time of the payment form in UTC format n14

    Respect the YYYYMMDDhhmmss format

    E.g.: 20170701130025
    vads_amount Payment amount in the smallest currency unit (cents for euro). n..12 E.g.: 3000 for 30,00 EUR
    vads_currency Numeric currency code to be used for the payment, in compliance with the ISO 4217 standard (numeric code). n3 E.g.: 978 for euro (EUR)
    vads_action_mode Card data acquisition mode enum INTERACTIVE
    vads_page_action Action to perform enum PAYMENT
    vads_version Version of the exchange protocol with the payment gateway enum V2
    vads_payment_config Payment type enum SINGLE
    vads_capture_delay Capture delay n..3 0
    vads_validation_mode Validation mode n1 1 (Manual)
  2. Set the value of the vads_amount field to a small amount. It will not affect the authorization limit of the card.
  3. Set the vads_validation_mode field to 1.
  4. Populate the vads_currency field with the code of the desired currency using the currency table (E.g.: 978 for euro (EUR)).
  5. Add optional fields according to your requirements (see chapter Using additional features).
  6. Compute the value of the signature field using all the fields of your form that start with vads_ (see chapter Computing the signature).
Example of a form for an authorization without capture:
<form method="POST" action="https://secure.lyra.com/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" />
<input type="hidden" name="vads_amount" value="100" />
<input type="hidden" name="vads_capture_delay" value="0" />
<input type="hidden" name="vads_ctx_mode" value="TEST" />
<input type="hidden" name="vads_currency" value="978" />
<input type="hidden" name="vads_page_action" value="PAYMENT" />
<input type="hidden" name="vads_validation_mode" value="1"/>
<input type="hidden" name="vads_site_id" value="12345678" />
<input type="hidden" name="vads_trans_date" value="20190628073753" />
<input type="hidden" name="vads_trans_id" value="346738" />
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value= "DvltInRYXRroOZ/KnNdJSlpVr++29ZGty4nj1Y7yczU="/>
<input type="submit" name="pay" value="Pay" />
</form>