Creating a payment order by e-mail

Important :

  • If sendMAIL= true, an e-mail is received by each buyer with a single payment URL.
  • If sendMAIL= false, the buyer will not receive e-mail. The merchant has the task to chose the way to pass the payment URL on to the buyer.

The create function allows to create a payment order. It takes as input the following parameters:

Field name Type Description Required
info paymentOfferInfo Parameters for the creation of a payment order (see paymentOfferInfo)
wsSignature string Signature

The signature computation is done using the parameters in the following order:

shopId, reference, ctxMode, amount, currency, locale, message, recipients, subject, validationMode, validity, sendMail, expandedData

Notes :

In the signature computation:

  • The dateTime fields must be formated in YYYYMMDD.

    Example : 2016-06-22T23:00:00+00:00 becomes 20160622

  • The string field recipients should be in brackets [...]. The e-mail addresses must be separated by a comma and a space.

    Examples:

    [email]

    [email1, email2, email3]

The create function returns a paymentOfferResponse response type.