You can consult the status of your Thunes payment order at any time by calling the PaymentOrder/Detail web service. You must do this to check the order status once the authorisation request has been accepted.

CALL Information / Examples

API Call
POST https://api.limonetikqualif.com/Rest/V40/PaymentOrder/Detail?Id={PAYMENTORDERID}&AddElements={ELEMENTS}

Response Example

{
  "PaymentOrder": {
    "Id": 99972422011,
    "MerchantId": "sandbox-merchantorpsp-fr",
    "PaymentPageId": "creditcard",
    "Amount": 100.0,
    "Currency": "EUR",
    "Status": "Authorized",
    "CreateDate": "2018-02-01T12:15:05.947Z",
    "PaymentPageUrl": "https://payment.limonetikqualif.com/checkout?PaymentOrderid=99972422011",
  },
  "ReturnCode": 1000,
  "ReturnMessage": "Success",
  "RequestId": "40843aa8-dfd0-4a09-8f0e-8879f57ec058"
}
<Response>
    <PaymentOrder>
        <Id>99972422011</Id>
        <MerchantId>citronrose-fr</MerchantId>    
        <Amount>100.00</Amount>
        <Currency>EUR</Currency>
        <PaymentPageId>creditcard</PaymentPageId>            
        <PaymentPageUrl>
            https://payment.limonetikqualif.com/checkout?PaymentOrderid=99972422011
        </PaymentPageUrl>
        <Status>Authorized</Status>    
        <CreateDate>2017-12-11T13:03:34.729355Z</CreateDate>    
    </PaymentOrder>
    <ReturnCode>1000</ReturnCode>
    <ReturnMessage>Success</ReturnMessage>    
    <RequestId>40843aa8-dfd0-4a09-8f0e-8879f57ec058</RequestId>
</Response>

Response

Parameter

Description

Comments

PaymentOrder

General transaction information

The Status field indicates the current transaction status (see the Status descriptions table).
You should already have information about the other fields.

🚧

In order to avoid overloading the network traffic, only request the views you require and renew the calls when needed. For example, if you do not use the server-to-server notification service and make frequent calls to this web service to detect order status changes, please follow our recommendations at the end of the Server to server notifications section.

You can get more information about an order using the parameter AddElements. To see all the fields you can get, refer to this link