When you want to make a payment for a user that have already given his credentials before, you have the PaymentOrder/Pay webservice. For example, it's used in the context of card registration or in the recurring payment.

CALL Information / Examples

API Call
POST https://api.limonetikqualif.com/Rest/V40/PaymentOrder/Pay

Request Example

{
  "PaymentOrder": {
    "MerchantId": "sandbox-mktpl-vendor1-fr",
    "Amount": 100.0,
    "Currency": "EUR",
    "PaymentPageId": "creditcard",
    "MerchantUrls": {
      "ServerNotificationUrl": "http://www.citronrose.com/Payment_Notification.aspx"
    },
    "MerchantOrder": {
      "Id": "1257981",
      "Customer": {
        "Email": "[email protected]"
      }
    }
  },
  "Credentials": [
    {
      "name": "technicalTransactionId",
      "credential": "99972422011"
    }
  ]
}
{
  "PaymentOrder": {
    "MerchantId": "sandbox-cashregisterorpos-fr",
    "Amount": 100.0,
    "Currency": "EUR",
    "PaymentPageId": "QRCode",
    "MerchantUrls": {
      "ServerNotificationUrl": "http://www.citronrose.com/Payment_Notification.aspx"
    },
    "MerchantOrder": {
      "Id": "1257981",
      "Customer": {
        "Email": "[email protected]"
      }
    }
  },
  "Credentials": [
    {
      "name": "qrcode",
      "credential": "288888888888888888888888"
    }
  ]
}
{
  "PaymentOrder": {
    "MerchantId": "sandbox-merchantorpsp-fr",
    "Amount": 100.0,
    "Currency": "EUR",
    "PaymentPageId": "creditcard",
    "MerchantUrls": {
      "ReturnUrl": "http://www.citronrose.com/Payment_Return.aspx",
      "AbortedUrl": "http://www.citronrose.com/Payment_Cancelled.aspx",
      "ErrorUrl": "http://www.citronrose.com/Payment_Error.aspx",
      "ServerNotificationUrl": "http://www.citronrose.com/Payment_Notification.aspx"
    },
    "MerchantOrder": {
      "Id": "1257981",
      "Customer": {
        "Email": "[email protected]"
      }
    }
  },
  "Credentials": [
    {
      "name": "CardNumber",
      "credential": "5017670000001800"
    },
    {
      "name": "Cvv",
      "credential": "123"
    },
    {
      "name": "Exp",
      "credential": "202012"
    }
  ]
}
<Request>
    <PaymentOrder>
        <MerchantId>sandbox-mktpl-vendor1-fr</MerchantId>
        <Amount>100.00</Amount>
        <Currency>EUR</Currency>
        <PaymentPageId>creditcard</PaymentPageId>
        <MerchantUrls>
            <ServerNotificationUrl>https://www.citronrose.com/Payment_Notification.aspx</ ServerNotificationUrl>
        </MerchantUrls>
        <MerchantOrder>
            <Id>1257981</Id>
            <Customer>
                <Email>[email protected]</Email>
            </Customer>
        </MerchantOrder>
    </PaymentOrder>
    <Credentials>
        <Credential name="technicalTransactionId">99972422011</Credential>
    </Credentials>
</Request>
<Request>
    <PaymentOrder>
        <MerchantId>sandbox-cashregisterorpos-fr</MerchantId>
        <Amount>100.00</Amount>
        <Currency>EUR</Currency>
        <PaymentPageId>creditcard</PaymentPageId>
        <MerchantUrls>
            <ServerNotificationUrl>https://www.citronrose.com/Payment_Notification.aspx</ ServerNotificationUrl>
        </MerchantUrls>
        <MerchantOrder>
            <Id>1257981</Id>
            <Customer>
                <Email>[email protected]</Email>
            </Customer>
        </MerchantOrder>
    </PaymentOrder>
    <Credentials>
        <Credential name="qrcode">288888888888888888888888</Credential>
    </Credentials>
</Request>
<Request>
  <PaymentOrder>
    <MerchantId>sandbox-merchantorpsp-fr</MerchantId>
    <PaymentPageId>creditcard</PaymentPageId>
    <Amount>100.00</Amount>
    <Currency>EUR</Currency>
    <MerchantUrls>
      <ReturnUrl>http://www.citronrose.com/Payment_Return.aspx</ReturnUrl>
      <AbortedUrl>http://www.citronrose.com/Payment_Cancelled.aspx</AbortedUrl>
      <ErrorUrl>http://www.citronrose.com/Payment_Error.aspx</ErrorUrl>
      <ServerNotificationUrl>http://www.citronrose.com/Payment_Notification.aspx</ServerNotificationUrl>
    </MerchantUrls>
    <MerchantOrder>
      <Id>1257981</Id>
      <Customer>
        <Email>[email protected]</Email>
      </Customer>
    </MerchantOrder>
  </PaymentOrder>
  <Credentials>
    <Credential name="CardNumber">5017670000001800</Credential>
    <Credential name="Cvv">123</Credential>
    <Credential name="Exp">202012</Credential>
  </Credentials>
</Request>

Response Example

{
  "PaymentOrderId": 58964166312,
  "Status": "Authorized",
  "RequestId": "db1507a2-425e-43e9-9ba0-18e87bccf750",
  "ReturnCode": 1000,
  "ReturnMessage": "Success"
}
<Response>
    <ReturnCode>1000</ReturnCode>
    <ReturnMessage>Success</ReturnMessage>
    <RequestId>db1507a2-425e-43e9-9ba0-18e87bccf750</RequestId>
    <PaymentOrderId>58964166312<PaymentOrderId>
    <Status>Authorized</Status>
</Response>

Parameters in the request

ParametersDescriptionComments
CredentialsList of object related to the buyer payment informationSeveral information can be necessary. It's important to use unique names.
Credential.nameName of the payment informationDefined depending the payment method
CredentialValue of the payment information

📘

Other fields of this example have already been described before in the Create webservice. There are lot of other fields available (like in the Create webservice)

Response

ParametersDescriptionComments
PaymentOrderIdIdentifier of the payment orderYou need to keep yhis id to do other operations on the payment order