Mobile API Documentation

My Purchase Details

Overview: Complete overview of a specific purchase
All parameters are mandatory with every API call.

Input Parameters

Parameter Description
session_code String, as received from login API.
purchase_id Integer

Sample Request

HTTP JSON
Endpoint: https://mobapi.idexonline.com/transactions/api/v2.0/mypurchasedetails
{
  "session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b",
  "purchase_id": "9636"
}

Sample Response

JSON Data with HTTP Code 200
If all goes well, the response will be an HTTP 200 code and the response_code in the JSON will be 0.
{
  "result_info": {
	"response_code": 0,
	"response_description": ""
  },
  "results": {
	"purchase_id": 9636,
	"purchase_date": "2024-05-02T10:28:02.7600000",
	"status_id": 10,
	"status": "",
	"shipping_company": "",
	"shipping_tracking_number": "",
	"delivery_address": "23 Tuval Street, P.O.Box 3107, Ramat Gan",
	"invoice_number_natural": "",
	"invoice_number_lab_grown": "",
	"total_transaction_cost": 8677.86,
	"total_carat_weight": 9636,
	"total_diamond_cost": 8208,
	"authentication_fee": 10,
	"shipping_price": 163.62,
	"payment_processing_fee": 50,
	"transaction_fee": 246.24,
	"items_included": 1,
	"diamonds": [
	  {
		"diamond_id": 371330392,
		"shape": "Round",
		"carat_weight": 1.14,
		"color": "F",
		"clarity": "IF",
		"lab": "HRD",
		"report_number": "190000045825",
		"buyer_price_total": 8208,
		"buyer_price_per_carat": 7200,
		"item_type_id": 1,
		"item_status_id": 10,
		"item_status": "Transaction Initiated",
		"row_number": 1
	  }
	]
  }
}
		


Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com