Creating a deferred payment

The amount of a deferred payment is withdrawn once, the delay for its capture by the bank is strictly greater than 0 days.
  • An authorization request will be made for the total amount if the capture delay is shorter or equal to the validity period of an authorization request (see table).
  • An authorization request for 1 € will be made if the capture delay is greater than the validity period of an authorization request (see table).

    An authorization request for the total amount will be made one day before the capture date.

  1. Use all the fields in the table below to create your payment form.
    Table 1. Field list - Deferred payment
    Field name Description Value
    vads_site_id Shop ID E.g.: 12345678
    vads_ctx_mode Operating mode TEST or PRODUCTION
    vads_trans_id Transaction number Eg.: 123456
    vads_trans_date Date and time of the payment form in UTC format E.g.: 20140129130025
    vads_amount Payment amount (in the smallest currency unit) E.g.: 3000 for 30 euros
    vads_currency Code of the payment currency Eg.: 978 for euro
    vads_action_mode Acquisition mode for credit card data INTERACTIVE
    vads_page_action Action to perform PAYMENT
    vads_version Version of the exchange protocol V2
    vads_payment_config Payment type SINGLE
    vads_capture_delay Delay before capture by the bank >0 Example: 3
    vads_validation_mode Validation mode 0 (automatic) or 1 (manual)
  2. Set vads_payment_config to SINGLE.
  3. Set vads_capture_delay to a value greater than 0.
  4. Set vads_validation_mode to 0 for an automatic validation (the payment will be automatically captured by the bank) or to 1 for a manual validation (the payment will be captured by the bank after a manual validation in the Back Office).
  5. Fill in the vads_currency field with the code of the desired currency using the currency table (example: 978 for Euro; 840 for US dollar).
  6. Add optional fields according to your requirements (see chapter Using additional functions).
  7. Compute the value of the signature field using all the fields of your form starting with vads_ (see chapter Computing the signature).
Example of a form for a deferred payment:
<form method="POST" action="https://secure.payzen.eu/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" />
<input type="hidden" name="vads_amount" value="3000" />
<input type="hidden" name="vads_capture_delay" value="3" />
<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_payment_config" value="SINGLE" />
<input type="hidden" name="vads_site_id" value="12345678" />
<input type="hidden" name="vads_trans_date" value="20140129130025" />
<input type="hidden" name="vads_trans_id" value="130025" />
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="86b2a17b9a5fcefb6c0120c57b25ec86ad1704ee"/>
<input type="submit" name="pay" value="Pay"/>
</form>