• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Creating a 'Payment by token’ form

Use case: one-click payment (using an existing and valid token).

 In the context of the application of the PSD2, the CVV entry as well as cardholder authentication are required during a payment by token, as long as the buyer is present. The vads_threeds_mpi field is taken into account to allow for potential authentication without buyer interaction.

  1. Use all the fields presented in the table below to create your form.
    Field name Description Format Value
    vads_page_action Action to perform enum PAYMENT
    vads_amount Payment amount in the smallest currency unit (cents for euro) n..12 E.g.: 4525 for EUR 45.25
    vads_ctx_mode Mode of interaction with the payment gateway enum TEST orPRODUCTION
    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 Acquisition mode for payment method data enum INTERACTIVE
    vads_identifier (unique) token associated with a payment method. ans..50 E.g.: MyToken
    Note: two possible formats:
    • an32: if the identifier is generated by the payment gateway
    • ans..50: if the identifier is generated by the merchant.
    vads_payment_config Payment type enum SINGLE
    vads_site_id Shop ID n8 E.g.: 12345678
    vads_trans_date Date and time of the payment form in UTC format n14

    Respect the YYYYMMDDHHMMSS format

    E.g.: 20200101130025
    vads_trans_id Transaction number.

    Must be unique within the same day (from 00:00:00 UTC to 23:59:59 UTC).

    Warning: this field is not case sensitive.

    an6 E.g.: xrT15p
    vads_version Version of the exchange protocol with the payment gateway enum V2
    signature Signature guaranteeing the integrity of the requests exchanged between the merchant website and the payment gateway. ans..44 Compute the value of the signature field using all the fields of your form starting with vads_ (see chapter Computing the signature).
  2. Add optional fields according to your requirements (see chapter Using additional features).

The list of fields returned in the notification is described in the chapter Payment by token.

Jobs
Legal
GDPR
25.18-1.11