Retrieve order

To retrieve information about a specific order.

Request information

GET /api/orders/{OrderCode}

Authentication

This API call uses Identity Server authentication.

Parameters

  • OrderCode ( long ): The 16-digit OrderCode for which you wish to retrieve information

Sample request

GET /api/Orders/3958121726095215

Response information

Properties:

  • OrderCode ( long ): The 16-digit OrderCode for which you requested information
  • SourceCode ( string ): The Sourcecode that is related to this Order
  • Tags ( string[] ): An array containing all related tags
  • RequestLang ( string ): The ISO formatted Request language
  • MerchantTrns ( string ): The related MerchantTrns
  • CustomerTrns ( string ): The related CustomerTrns
  • RequestAmount ( decimal ): The Request Amount of the Order
  • ExpirationDate ( datetime ): The exact date and time the Order expires at
  • StateId ( byte ): The state of the order. Possible values are 0 (Pending), 1 (Expired), 2 (Canceled), 3 (Paid)

Sample response

{
  "OrderCode": 3958121726095215,
  "SourceCode": "Default",
  "Tags": [],
  "RequestLang": "el-GR",
  "MerchantTrns": null,
  "CustomerTrns": null,
  "RequestAmount": 100,
  "ExpirationDate": "2015-07-08T00:13:03.243",
  "StateId": 3
}