REST API Reference

Order Namespace

The Order namespace contains the resource to manage orders. with the following Methods Method Endpoint Scope Description.


Operation Method Endpoint Scope Sample Description
Process Bulk Order Post order Order Sample Process Bulk Order
Process Order Reserved Post order Order Sample Process Order Reserved
Process Order Post order Order Sample Process Order
Partial Reverse Order Post order/reverse/order_id Order Sample Partial Reverse Order
Reverse Order Post order/reverse/order_id Order Sample Reverse Order
Commit Order Post order/commit/order_id Order Sample Commit Order
Cancel Order Post order/cancel/order_id Order Sample Cancel Order
Get Order Get order/order_id Order Sample Get Order
Get Order Inquiry Get order/inquiry Order Sample Get Order Inquiry
Tracking Order Get fulfilment/tracking/order_id Order Sample Tracking Order

Process Bulk Order

Process Bulk Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"info":  {
        
			"process_type":  4
			
    },
    
			"items":  [
        
			{
            
			"variant":  {
                
			"id":  "1",
                
			"quantity":  "9"
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "Hananrihan3893@gmail.com",
                    
			"delivery_mobile":  "+19910123456789"
			
                }
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  7
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"type":  190
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  31.254854,
        
			"longitude":  35.254824,
        
			"position_description":  "description"
			
    },
    
			"admin_notes":  "Admin notes",
    
			"notes":  "Notes",
    
			"validate":  "0"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  34281,
        
			"program_id":  5,
        
			"store_id":  2,
        
			"bin_id":  10,
        
			"user_id":  4,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  4,
        
			"order_type":  4,
        
			"encryption_type":  0,
        
			"status":  1,
        
			"total_amount":  "145.00",
        
			"net_amount":  "90.00",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "USD",
        
			"fee_amount":  "55.00",
        
			"refund_expiry_datetime_utc":  "2019-04-03T12:35:08",
        
			"server_date":  "2019-04-02T15:35:07",
        
			"date_utc":  "2019-04-02T12:35:07",
        
			"source_time_zone":  "UTC +02:00",
        
			"source_language":  "en",
        
			"original_source_id":  "Auto.636898161061197798",
        
			"converted_amount":  10
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  34924,
                
			"order_id":  34281,
                
			"commerce_order_id":  0,
                
			"status":  1
			
            },
            
			"variant":  {
                
			"id":  1,
                
			"category_id":  2,
                
			"product_id":  1,
                
			"name":  "Zain 10 SAR",
                
			"description":  "Zain 10 SAR",
                
			"sku":  "P-6-47",
                
			"product_name":  "Zain KSA",
                
			"product_description":  "Zain KSA",
                
			"type":  1,
                
			"quantity":  9,
                
			"available_quantity":  9,
                
			"retail_price":  "10.00",
                
			"tier_price":  "10.00",
                
			"total_retail_price":  "90.00",
                
			"total_amount":  "135.00",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "45.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "90.00"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  34281,
                    
			"type":  1
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  39437,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002066",
                        
			"serial_number":  "200004002066",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39438,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002067",
                        
			"serial_number":  "200004002067",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39439,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002068",
                        
			"serial_number":  "200004002068",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39440,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002069",
                        
			"serial_number":  "200004002069",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39441,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002070",
                        
			"serial_number":  "200004002070",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39442,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002071",
                        
			"serial_number":  "200004002071",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39443,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002072",
                        
			"serial_number":  "200004002072",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39444,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002073",
                        
			"serial_number":  "200004002073",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    },
                    
			{
                        
			"id":  39445,
                        
			"order_id":  0,
                        
			"product_id":  1,
                        
			"variant_id":  1,
                        
			"name":  "Zain 10 SAR",
                        
			"description":  "Zain 10 SAR",
                        
			"code":  "7349107937002074",
                        
			"serial_number":  "200004002074",
                        
			"expiry_date":  "2022-03-17",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. Enter *141*\r\n2. Enter ID Number then *\r\n3. Enter PIN Code Number then #\r\n4. Press Dial"
			
                    }
			
                ]
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "Hananrihan3893@gmail.com",
                    
			"delivery_mobile":  "+19910123456789"
			
                }
			
            },
            
			"conversion":  {
                
			"from_currency":  "USD",
                
			"to_currency":  "USD",
                
			"original_amount":  "10.00",
                
			"converted_amount":  "10.00",
                
			"converted_amount_without_margin":  "10.00",
                
			"conversion_type":  4,
                
			"ws_setup_id":  1,
                
			"currency_rate":  "1.0000",
                
			"second_currency_rate":  "0.0000",
                
			"margin_percent":  0,
                
			"margin_percent_from_base":  0
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  7,
                
			"program_id":  5,
                
			"bin_id":  "10",
                
			"user_id":  4,
                
			"type":  "1",
                
			"number":  "1840000000500000001",
                
			"currency":  "USD",
                
			"status":  "1",
                
			"balance":  "1285.79",
                
			"available_balance":  "693.79",
                
			"original_source_id":  "0",
                
			"server_date":  "2019-04-02T15:35:07",
                
			"date_utc":  "2019-04-02T12:35:07",
                
			"security":  {
                    
			"security_code":  "620",
                    
			"pin_code":  ""
			
                }
			
            }
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "description"
			
    },
    
			"admin_notes":  "Admin notes",
    
			"validate":  "0"
			
}
		
×

Process Order Reserved

Process Order Reserved


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"info":  {
        
			"process_type":  3
			
    },
    
			"items":  [
        
			{
            
			"variant":  {
                
			"id":  "46",
                
			"quantity":  "1"
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "hanan@mstart.com",
                    
			"delivery_mobile":  "+100123456789"
			
                },
                
			"customer_info":  "TEST  Ward Alayyoub Customer Info"
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  16280
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"type":  190
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  31.254854,
        
			"longitude":  35.254824,
        
			"position_description":  "ward description"
			
    },
    
			"admin_notes":  "Hanan Admin notes",
    
			"notes":  "Hanan Notes",
    
			"validate":  "0"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  49369635,
        
			"program_id":  18,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  16184,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  3,
        
			"order_type":  3,
        
			"encryption_type":  0,
        
			"status":  3,
        
			"total_amount":  "19.52",
        
			"net_amount":  "19.52",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  "2021-09-09T11:58:00",
        
			"refund_expiry_datetime_utc":  null,
        
			"server_date":  "2021-09-09T14:43:29",
        
			"date_utc":  "2021-09-09T11:43:29",
        
			"source_time_zone":  "UTC +02:15",
        
			"source_language":  "en",
        
			"original_source_id":  "38b0de20-4df4-4547-a09f-b18b4ec11860",
        
			"converted_amount":  19.52
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  49377209,
                
			"order_id":  49369635,
                
			"commerce_order_id":  0,
                
			"status":  1
			
            },
            
			"variant":  {
                
			"id":  46,
                
			"category_id":  2,
                
			"product_id":  1,
                
			"name":  "Zain 20.00 SAR",
                
			"description":  "Zain 20.00 SAR",
                
			"sku":  "ZV20",
                
			"product_name":  "Zain Voice",
                
			"product_description":  "Zain Voice",
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  1,
                
			"picture":  null,
                
			"retail_price":  "20.00",
                
			"tier_price":  "19.52",
                
			"total_retail_price":  "20.00",
                
			"total_amount":  "19.52",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "19.52"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  49369635,
                    
			"type":  1,
                    
			"source_type":  1
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  65812071,
                        
			"order_id":  49369635,
                        
			"product_id":  1,
                        
			"variant_id":  46,
                        
			"name":  "Zain 20.00 SAR",
                        
			"description":  "Zain 20.00 SAR",
                        
			"code":  "",
                        
			"serial_number":  "103404042826",
                        
			"expiry_date":  "2022-09-10",
                        
			"usage_instructions":  null
			
                    }
			
                ]
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "hanan@mstart.com",
                    
			"delivery_mobile":  "+100123456789"
			
                },
                
			"customer_info":  "TEST  Ward Alayyoub Customer Info"
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  16280,
                
			"supplied_id":  14275,
                
			"program_id":  18,
                
			"bin_id":  "29",
                
			"user_id":  16184,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "168200*******5329",
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"balance":  "6713.87",
                
			"available_balance":  "6694.35",
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2021-09-09T14:43:29",
                
			"date_utc":  "2021-09-09T11:43:29",
                
			"source_time_zone":  null,
                
			"security":  {
                    
			"security_code":  "____",
                    
			"activation_code":  null,
                    
			"expiry_date":  "____",
                    
			"pin_code":  "____"
			
                }
			
            }
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "ward description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8
			
        }
			
    }
			
}
		
×

Process Order

Process Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"info":  {
        
			"process_type":  1
			
    },
    
			"items":  [
        
			{
            
			"variant":  {
                
			"id":  "7",
                
			"quantity":  "1"
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "test@mstart.com",
                    
			"delivery_mobile":  "+100123456789"
			
                },
                
			"customer_info":  "TEST Customer Info"
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  68521
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"type":  190
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  31.254854,
        
			"longitude":  35.254824,
        
			"position_description":  "Description"
			
    },
    
			"admin_notes":  "Admin Notes",
    
			"notes":  "Notes"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  113264,
        
			"cluster_id":  1,
        
			"program_id":  5,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  26,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  1,
        
			"encryption_type":  0,
        
			"status":  1,
        
			"total_amount":  "9.38",
        
			"net_amount":  "9.38",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  null,
        
			"refund_expiry_datetime_utc":  "2023-01-24T09:32:35",
        
			"server_date":  "2023-01-23T12:32:34",
        
			"date_utc":  "2023-01-23T09:32:34",
        
			"client_date":  "2023-01-22T22:32:34",
        
			"source_time_zone":  "UTC -11:00",
        
			"source_language":  "en",
        
			"original_source_id":  "3cf26305-68f4-4ea0-b8fa-d2f90db1849b",
        
			"converted_amount":  9.38
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  108918,
                
			"order_id":  113264,
                
			"commerce_order_id":  0,
                
			"status":  1
			
            },
            
			"variant":  {
                
			"id":  7,
                
			"category_id":  114,
                
			"product_id":  3,
                
			"name":  "Google Play [US] - 50 USD",
                
			"description":  "Google Play [US] - 50 USD",
                
			"sku":  "P-1-6",
                
			"product_name":  "Google",
                
			"product_description":  "Google",
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  1,
                
			"picture":  null,
                
			"retail_price":  "9.38",
                
			"tier_price":  "9.38",
                
			"total_retail_price":  "9.38",
                
			"total_amount":  "9.38",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "9.38"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  113264,
                    
			"type":  1,
                    
			"source_type":  1,
                    
			"template_id":  1
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  1081741,
                        
			"order_id":  113264,
                        
			"product_id":  3,
                        
			"variant_id":  7,
                        
			"name":  "Google Play [US] - 50 USD",
                        
			"description":  "Google Play [US] - 50 USD",
                        
			"code":  "10-7-2021-123",
                        
			"serial_number":  "10-7-2021-123",
                        
			"expiry_date":  "2055-05-05",
                        
			"usage_instructions":  "Usage Instructions:\r\n1. The product is applicable \r\nfor US region only.\r\n2. Go to Google Play Store\r\n3. Select the Item you want \r\nto Buy then click Continue\r\n4. Select Google Play Gift Card\r\n5. Enter the PIN Code and Enter\r\n6. Accept and Continue\r\n7. PIN code viewed is not \r\nrefundable\r\n"
			
                    }
			
                ],
                
			"topup":  null,
                
			"promotion":  null,
                
			"ticket":  null,
                
			"lottery_ticket":  [
                    
                ]
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "test@mstart.com",
                    
			"delivery_mobile":  "+100123456789"
			
                },
                
			"customer_info":  "TEST Customer Info"
			
            },
            
			"conversion":  {
                
			"from_currency":  "USD",
                
			"to_currency":  "SAR",
                
			"original_amount":  "2.50",
                
			"first_converted_amount":  "0.00",
                
			"converted_amount":  "9.38",
                
			"first_converted_amount_without_margin":  "0",
                
			"converted_amount_without_margin":  "9.38",
                
			"conversion_type":  1,
                
			"ws_setup_id":  0,
                
			"currency_rate":  "3.7500",
                
			"second_currency_rate":  "0",
                
			"margin_percent":  0.00,
                
			"second_margin_percent":  0.0,
                
			"margin_percent_from_base":  0.0
			
            },
            
			"fulfilment":  null,
            
			"notes":  null
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"result":  null,
            
			"info":  {
                
			"id":  68521,
                
			"supplied_id":  164786,
                
			"program_id":  5,
                
			"bin_id":  "29",
                
			"user_id":  26,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "1682050798663262188",
                
			"card_image":  null,
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"usage_status":  null,
                
			"balance":  "290.62",
                
			"external_balance":  null,
                
			"available_balance":  "281.24",
                
			"external_available_balance":  null,
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2023-01-23T12:32:34",
                
			"date_utc":  "2023-01-23T09:32:34",
                
			"client_date":  "2023-01-22T22:32:34",
                
			"source_time_zone":  null,
                
			"security":  {
                    
			"security_code":  "",
                    
			"activation_code":  null,
                    
			"expiry_date":  "2034-09-30",
                    
			"pin_code":  ""
			
                },
                
			"is_multi_currency":  null
			
            },
            
			"limits":  null,
            
			"archive":  null,
            
			"custom_field":  null,
            
			"geo_coordinates":  null,
            
			"options":  null,
            
			"bank_account":  null,
            
			"history":  null,
            
			"fulfilment":  null,
            
			"access_rule":  null,
            
			"notes":  null,
            
			"last_activity":  null,
            
			"authentication":  null,
            
			"validate":  null,
            
			"function_code":  0,
            
			"time_zone":  null,
            
			"time_zone_name":  null,
            
			"response_time":  0
			
        },
        
			"credit_card":  null,
        
			"payment_gateway":  null,
        
			"mada":  null
			
    },
    
			"transaction":  null,
    
			"custom_field":  null,
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "Description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8,
            
			"total_quantity":  null,
            
			"quantity_per_order":  null,
            
			"shipping_address":  null,
            
			"email":  null,
            
			"phone":  null,
            
			"special_instructions":  null,
            
			"customer_info":  null
			
        },
        
			"mada":  null
			
    },
    
			"notes":  null,
    
			"last_activity":  null,
    
			"authentication":  null,
    
			"validate":  null,
    
			"function_code":  0,
    
			"time_zone":  "UTC -11:00",
    
			"time_zone_name":  "Pacific/Pago_Pago",
    
			"response_time":  1760
			
}
		
×

Partial Reverse Order

Partial Reverse Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"reason":  3,
    
			"reverse_note":  "partial reverse",
    
			"reverse_items":  [
        
			{
            
			"variant_id":  7,
            
			"quantity":  1,
            
			"reverse_pin_codes":  [
                
			{
                    
			"serial_number":  "10-7-2021-123"
			
                }
			
            ]
			
        }
			
    ],
    
			"notes":  {
        
			"admin_notes":  "Admin Notes",
        
			"user_notes":  "Notes"
			
    }
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  113264,
        
			"cluster_id":  0,
        
			"program_id":  5,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  26,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  1,
        
			"encryption_type":  0,
        
			"status":  5,
        
			"total_amount":  "9.38",
        
			"net_amount":  "9.38",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  null,
        
			"refund_expiry_datetime_utc":  "2023-01-24T09:32:35",
        
			"server_date":  "2023-01-23T12:32:35",
        
			"date_utc":  "2023-01-23T09:32:35",
        
			"client_date":  "2023-01-22T22:32:35",
        
			"source_time_zone":  "UTC -11:00",
        
			"source_language":  null,
        
			"original_source_id":  "3cf26305-68f4-4ea0-b8fa-d2f90db1849b",
        
			"converted_amount":  0.0
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  108918,
                
			"order_id":  113264,
                
			"commerce_order_id":  0,
                
			"status":  5
			
            },
            
			"variant":  {
                
			"id":  7,
                
			"category_id":  114,
                
			"product_id":  3,
                
			"name":  "Google Play [US] - 50 USD",
                
			"description":  "Google Play [US] - 50 USD",
                
			"sku":  "P-1-6",
                
			"product_name":  "Google",
                
			"product_description":  null,
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  0,
                
			"picture":  null,
                
			"retail_price":  "9.38",
                
			"tier_price":  "9.38",
                
			"total_retail_price":  "9.38",
                
			"total_amount":  "9.38",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "9.38"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  113264,
                    
			"type":  1,
                    
			"source_type":  1,
                    
			"template_id":  0
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  1081741,
                        
			"order_id":  113264,
                        
			"product_id":  3,
                        
			"variant_id":  7,
                        
			"name":  "Google Play [US] - 50 USD",
                        
			"description":  "Google Play [US] - 50 USD",
                        
			"code":  null,
                        
			"serial_number":  "10-7-2021-123",
                        
			"expiry_date":  null,
                        
			"usage_instructions":  null
			
                    }
			
                ],
                
			"topup":  null,
                
			"promotion":  null,
                
			"ticket":  null,
                
			"lottery_ticket":  [
                    
                ]
			
            },
            
			"custom_form_data":  null,
            
			"conversion":  {
                
			"from_currency":  "USD",
                
			"to_currency":  "SAR",
                
			"original_amount":  "2.50",
                
			"first_converted_amount":  "0.00",
                
			"converted_amount":  "9.38",
                
			"first_converted_amount_without_margin":  "0.00",
                
			"converted_amount_without_margin":  "9.38",
                
			"conversion_type":  1,
                
			"ws_setup_id":  0,
                
			"currency_rate":  "3.7500",
                
			"second_currency_rate":  "0.0000",
                
			"margin_percent":  0.00,
                
			"second_margin_percent":  0.0,
                
			"margin_percent_from_base":  0.0
			
            },
            
			"fulfilment":  null,
            
			"notes":  {
                
			"user_notes":  null,
                
			"admin_notes":  null
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"result":  null,
            
			"info":  {
                
			"id":  68521,
                
			"supplied_id":  164786,
                
			"program_id":  5,
                
			"bin_id":  "29",
                
			"user_id":  0,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "1682050798663262188",
                
			"card_image":  null,
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"usage_status":  null,
                
			"balance":  "290.62",
                
			"external_balance":  null,
                
			"available_balance":  "290.62",
                
			"external_available_balance":  null,
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2022-03-10T15:07:09",
                
			"date_utc":  "2022-03-10T12:07:09",
                
			"client_date":  "2022-03-10T01:07:09",
                
			"source_time_zone":  null,
                
			"security":  null,
                
			"is_multi_currency":  null
			
            },
            
			"limits":  null,
            
			"archive":  null,
            
			"custom_field":  null,
            
			"geo_coordinates":  {
                
			"latitude":  "31.254854",
                
			"longitude":  "35.254824",
                
			"position_description":  "Description"
			
            },
            
			"options":  null,
            
			"bank_account":  null,
            
			"history":  null,
            
			"fulfilment":  null,
            
			"access_rule":  null,
            
			"notes":  null,
            
			"last_activity":  null,
            
			"authentication":  null,
            
			"validate":  null,
            
			"function_code":  0,
            
			"time_zone":  null,
            
			"time_zone_name":  null,
            
			"response_time":  0
			
        },
        
			"credit_card":  null,
        
			"payment_gateway":  null,
        
			"mada":  null
			
    },
    
			"transaction":  {
        
			"result":  null,
        
			"info":  {
            
			"id":  360955,
            
			"parent_id":  0,
            
			"account_id":  68521,
            
			"user_id":  26,
            
			"pos_id":  0,
            
			"status":  0,
            
			"type":  190,
            
			"classification":  "Purchase",
            
			"operation":  "Debit",
            
			"amount":  "9.38",
            
			"currency":  "SAR",
            
			"balance":  "281.24",
            
			"available_balance":  "281.24",
            
			"notes":  null,
            
			"original_source_id":  "3cf26305-68f4-4ea0-b8fa-d2f90db1849b",
            
			"server_date":  "2023-01-23T12:32:35",
            
			"date_utc":  "2023-01-23T09:32:35",
            
			"auth_date_utc":  null,
            
			"post_date_utc":  null,
            
			"client_date":  "2023-01-22T22:32:35",
            
			"auth_client_date":  null,
            
			"post_client_date":  null,
            
			"source_time_zone":  "UTC -11:00",
            
			"service_provider":  0
			
        },
        
			"account":  {
            
			"result":  null,
            
			"info":  {
                
			"id":  68521,
                
			"supplied_id":  164786,
                
			"program_id":  5,
                
			"bin_id":  "29",
                
			"user_id":  0,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "1682050798663262188",
                
			"card_image":  null,
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"usage_status":  null,
                
			"balance":  "290.62",
                
			"external_balance":  null,
                
			"available_balance":  "290.62",
                
			"external_available_balance":  null,
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2022-03-10T15:07:09",
                
			"date_utc":  "2022-03-10T12:07:09",
                
			"client_date":  "2022-03-10T01:07:09",
                
			"source_time_zone":  null,
                
			"security":  null,
                
			"is_multi_currency":  null
			
            },
            
			"limits":  null,
            
			"archive":  null,
            
			"custom_field":  null,
            
			"geo_coordinates":  {
                
			"latitude":  "31.254854",
                
			"longitude":  "35.254824",
                
			"position_description":  "Description"
			
            },
            
			"options":  null,
            
			"bank_account":  null,
            
			"history":  null,
            
			"fulfilment":  null,
            
			"access_rule":  null,
            
			"notes":  null,
            
			"last_activity":  null,
            
			"authentication":  null,
            
			"validate":  null,
            
			"function_code":  0,
            
			"time_zone":  null,
            
			"time_zone_name":  null,
            
			"response_time":  0
			
        },
        
			"fee":  {
            
			"id":  0,
            
			"fee_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  190,
            
			"operation":  null,
            
			"notes":  null
			
        },
        
			"tax":  {
            
			"id":  0,
            
			"tax_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null,
            
			"balance":  "0"
			
        },
        
			"conversion":  {
            
			"from_currency":  "SAR",
            
			"to_currency":  null,
            
			"original_amount":  "0",
            
			"first_converted_amount":  "0.00",
            
			"converted_amount":  "0.00",
            
			"first_converted_amount_without_margin":  "0",
            
			"converted_amount_without_margin":  "0",
            
			"conversion_type":  0,
            
			"ws_setup_id":  0,
            
			"currency_rate":  "0",
            
			"second_currency_rate":  "0",
            
			"margin_percent":  0.0,
            
			"second_margin_percent":  0.0,
            
			"margin_percent_from_base":  0.0
			
        },
        
			"exchange":  null,
        
			"transfer":  null,
        
			"credit_card":  null,
        
			"bank_account":  null,
        
			"crypto_wallet":  null,
        
			"payment_info":  null,
        
			"payment_gateway":  null,
        
			"custom_field":  null,
        
			"geo_coordinates":  {
            
			"latitude":  "31.254854",
            
			"longitude":  "35.254824",
            
			"position_description":  "Description"
			
        },
        
			"history":  null,
        
			"notes":  null,
        
			"last_activity":  null,
        
			"authentication":  null,
        
			"validate":  null,
        
			"function_code":  0,
        
			"time_zone":  null,
        
			"time_zone_name":  null,
        
			"response_time":  0
			
    },
    
			"custom_field":  null,
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "Description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8,
            
			"total_quantity":  null,
            
			"quantity_per_order":  null,
            
			"shipping_address":  null,
            
			"email":  null,
            
			"phone":  null,
            
			"special_instructions":  null,
            
			"customer_info":  null
			
        },
        
			"mada":  null
			
    },
    
			"notes":  {
        
			"user_notes":  null,
        
			"admin_notes":  null
			
    },
    
			"last_activity":  null,
    
			"authentication":  null,
    
			"validate":  null,
    
			"function_code":  0,
    
			"time_zone":  "UTC -11:00",
    
			"time_zone_name":  "Pacific/Pago_Pago",
    
			"response_time":  3333
			
}
		
×

Reverse Order

Reverse Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"reason":  1,
    
			"reverse_note":  "Full reverse"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  113267,
        
			"cluster_id":  0,
        
			"program_id":  5,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  26,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  1,
        
			"encryption_type":  0,
        
			"status":  5,
        
			"total_amount":  "9.38",
        
			"net_amount":  "9.38",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  null,
        
			"refund_expiry_datetime_utc":  "2023-01-24T09:45:58",
        
			"server_date":  "2023-01-23T12:45:57",
        
			"date_utc":  "2023-01-23T09:45:57",
        
			"client_date":  "2023-01-22T22:45:57",
        
			"source_time_zone":  "UTC -11:00",
        
			"source_language":  null,
        
			"original_source_id":  "6498347b-b9cb-4628-a08a-85661df2cc3c",
        
			"converted_amount":  0.0
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  108921,
                
			"order_id":  113267,
                
			"commerce_order_id":  0,
                
			"status":  5
			
            },
            
			"variant":  {
                
			"id":  2,
                
			"category_id":  114,
                
			"product_id":  2,
                
			"name":  "iTunes [US] - 100 USD",
                
			"description":  "iTunes [US] - 100 USD",
                
			"sku":  "P-1-1",
                
			"product_name":  "Apple iTunes",
                
			"product_description":  null,
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  0,
                
			"picture":  null,
                
			"retail_price":  "9.38",
                
			"tier_price":  "9.38",
                
			"total_retail_price":  "9.38",
                
			"total_amount":  "9.38",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "9.38"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  113267,
                    
			"type":  1,
                    
			"source_type":  1,
                    
			"template_id":  0
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  1111441,
                        
			"order_id":  113267,
                        
			"product_id":  2,
                        
			"variant_id":  2,
                        
			"name":  "iTunes [US] - 100 USD",
                        
			"description":  "iTunes [US] - 100 USD",
                        
			"code":  null,
                        
			"serial_number":  "P-06-07-05054112",
                        
			"expiry_date":  null,
                        
			"usage_instructions":  null
			
                    }
			
                ],
                
			"topup":  null,
                
			"promotion":  null,
                
			"ticket":  null,
                
			"lottery_ticket":  [
                    
                ]
			
            },
            
			"custom_form_data":  null,
            
			"conversion":  {
                
			"from_currency":  "USD",
                
			"to_currency":  "SAR",
                
			"original_amount":  "2.50",
                
			"first_converted_amount":  "0.00",
                
			"converted_amount":  "9.38",
                
			"first_converted_amount_without_margin":  "0.00",
                
			"converted_amount_without_margin":  "9.38",
                
			"conversion_type":  1,
                
			"ws_setup_id":  0,
                
			"currency_rate":  "3.7500",
                
			"second_currency_rate":  "0.0000",
                
			"margin_percent":  0.00,
                
			"second_margin_percent":  0.0,
                
			"margin_percent_from_base":  0.0
			
            },
            
			"fulfilment":  null,
            
			"notes":  {
                
			"user_notes":  null,
                
			"admin_notes":  null
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"result":  null,
            
			"info":  {
                
			"id":  68521,
                
			"supplied_id":  164786,
                
			"program_id":  5,
                
			"bin_id":  "29",
                
			"user_id":  0,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "1682050798663262188",
                
			"card_image":  null,
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"usage_status":  null,
                
			"balance":  "290.62",
                
			"external_balance":  null,
                
			"available_balance":  "290.62",
                
			"external_available_balance":  null,
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2022-03-10T15:07:09",
                
			"date_utc":  "2022-03-10T12:07:09",
                
			"client_date":  "2022-03-10T01:07:09",
                
			"source_time_zone":  null,
                
			"security":  null,
                
			"is_multi_currency":  null
			
            },
            
			"limits":  null,
            
			"archive":  null,
            
			"custom_field":  null,
            
			"geo_coordinates":  {
                
			"latitude":  "31.254854",
                
			"longitude":  "35.254824",
                
			"position_description":  "Description"
			
            },
            
			"options":  null,
            
			"bank_account":  null,
            
			"history":  null,
            
			"fulfilment":  null,
            
			"access_rule":  null,
            
			"notes":  null,
            
			"last_activity":  null,
            
			"authentication":  null,
            
			"validate":  null,
            
			"function_code":  0,
            
			"time_zone":  null,
            
			"time_zone_name":  null,
            
			"response_time":  0
			
        },
        
			"credit_card":  null,
        
			"payment_gateway":  null,
        
			"mada":  null
			
    },
    
			"transaction":  {
        
			"result":  null,
        
			"info":  {
            
			"id":  360961,
            
			"parent_id":  0,
            
			"account_id":  68521,
            
			"user_id":  26,
            
			"pos_id":  0,
            
			"status":  0,
            
			"type":  190,
            
			"classification":  "Purchase",
            
			"operation":  "Debit",
            
			"amount":  "9.38",
            
			"currency":  "SAR",
            
			"balance":  "281.24",
            
			"available_balance":  "281.24",
            
			"notes":  null,
            
			"original_source_id":  "6498347b-b9cb-4628-a08a-85661df2cc3c",
            
			"server_date":  "2023-01-23T12:45:57",
            
			"date_utc":  "2023-01-23T09:45:57",
            
			"auth_date_utc":  null,
            
			"post_date_utc":  null,
            
			"client_date":  "2023-01-22T22:45:57",
            
			"auth_client_date":  null,
            
			"post_client_date":  null,
            
			"source_time_zone":  "UTC -11:00",
            
			"service_provider":  0
			
        },
        
			"account":  {
            
			"result":  null,
            
			"info":  {
                
			"id":  68521,
                
			"supplied_id":  164786,
                
			"program_id":  5,
                
			"bin_id":  "29",
                
			"user_id":  0,
                
			"name":  null,
                
			"nick_name":  null,
                
			"type":  "1",
                
			"number":  "1682050798663262188",
                
			"card_image":  null,
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"usage_status":  null,
                
			"balance":  "290.62",
                
			"external_balance":  null,
                
			"available_balance":  "290.62",
                
			"external_available_balance":  null,
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2022-03-10T15:07:09",
                
			"date_utc":  "2022-03-10T12:07:09",
                
			"client_date":  "2022-03-10T01:07:09",
                
			"source_time_zone":  null,
                
			"security":  null,
                
			"is_multi_currency":  null
			
            },
            
			"limits":  null,
            
			"archive":  null,
            
			"custom_field":  null,
            
			"geo_coordinates":  {
                
			"latitude":  "31.254854",
                
			"longitude":  "35.254824",
                
			"position_description":  "Description"
			
            },
            
			"options":  null,
            
			"bank_account":  null,
            
			"history":  null,
            
			"fulfilment":  null,
            
			"access_rule":  null,
            
			"notes":  null,
            
			"last_activity":  null,
            
			"authentication":  null,
            
			"validate":  null,
            
			"function_code":  0,
            
			"time_zone":  null,
            
			"time_zone_name":  null,
            
			"response_time":  0
			
        },
        
			"fee":  {
            
			"id":  0,
            
			"fee_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  190,
            
			"operation":  null,
            
			"notes":  null
			
        },
        
			"tax":  {
            
			"id":  0,
            
			"tax_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null,
            
			"balance":  "0"
			
        },
        
			"conversion":  {
            
			"from_currency":  "SAR",
            
			"to_currency":  null,
            
			"original_amount":  "0",
            
			"first_converted_amount":  "0.00",
            
			"converted_amount":  "0.00",
            
			"first_converted_amount_without_margin":  "0",
            
			"converted_amount_without_margin":  "0",
            
			"conversion_type":  0,
            
			"ws_setup_id":  0,
            
			"currency_rate":  "0",
            
			"second_currency_rate":  "0",
            
			"margin_percent":  0.0,
            
			"second_margin_percent":  0.0,
            
			"margin_percent_from_base":  0.0
			
        },
        
			"exchange":  null,
        
			"transfer":  null,
        
			"credit_card":  null,
        
			"bank_account":  null,
        
			"crypto_wallet":  null,
        
			"payment_info":  null,
        
			"payment_gateway":  null,
        
			"custom_field":  null,
        
			"geo_coordinates":  {
            
			"latitude":  "31.254854",
            
			"longitude":  "35.254824",
            
			"position_description":  "Description"
			
        },
        
			"history":  null,
        
			"notes":  null,
        
			"last_activity":  null,
        
			"authentication":  null,
        
			"validate":  null,
        
			"function_code":  0,
        
			"time_zone":  null,
        
			"time_zone_name":  null,
        
			"response_time":  0
			
    },
    
			"custom_field":  null,
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "Description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8,
            
			"total_quantity":  null,
            
			"quantity_per_order":  null,
            
			"shipping_address":  null,
            
			"email":  null,
            
			"phone":  null,
            
			"special_instructions":  null,
            
			"customer_info":  null
			
        },
        
			"mada":  null
			
    },
    
			"notes":  {
        
			"user_notes":  null,
        
			"admin_notes":  null
			
    },
    
			"last_activity":  null,
    
			"authentication":  null,
    
			"validate":  null,
    
			"function_code":  0,
    
			"time_zone":  "UTC -11:00",
    
			"time_zone_name":  "Pacific/Pago_Pago",
    
			"response_time":  3314
			
}
		
×

Commit Order

Commit Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"info":  {
        
			"process_type":  3
			
    },
    
			"items":  [
        
			{
            
			"variant":  {
                
			"id":  "46",
                
			"quantity":  "1"
			
            },
            
			"custom_form_data":  {
                
			"features":  {
                    
			"delivery_email":  "hanan@mstart.com",
                    
			"delivery_mobile":  "+100123456789"
			
                },
                
			"customer_info":  "TEST  Ward Alayyoub Customer Info"
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  16280
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"type":  190
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  31.254854,
        
			"longitude":  35.254824,
        
			"position_description":  "ward description"
			
    },
    
			"admin_notes":  "Hanan Admin notes",
    
			"notes":  "Hanan Notes",
    
			"validate":  "0"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  49369672,
        
			"program_id":  18,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  16184,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  1,
        
			"order_type":  1,
        
			"encryption_type":  0,
        
			"status":  2,
        
			"total_amount":  "19.52",
        
			"net_amount":  "19.52",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  "2021-09-09T12:58:00",
        
			"refund_expiry_datetime_utc":  "1900-01-01T00:00:00",
        
			"server_date":  "2021-09-09T15:43:30",
        
			"date_utc":  "2021-09-09T12:43:30",
        
			"source_time_zone":  "UTC +02:15",
        
			"source_language":  "en",
        
			"original_source_id":  "a566f18e-abf1-4b74-be58-d510909c63a2",
        
			"converted_amount":  0.0
			
    },
    
			"items":  [
        
			{
            
			"result":  {
                
			"code":  "0000",
                
			"message":  "Operation Completed Successfully.",
                
			"friendly_message":  "Operation Completed Successfully."
			
            },
            
			"info":  {
                
			"id":  49377246,
                
			"order_id":  49369672,
                
			"commerce_order_id":  0,
                
			"status":  3
			
            },
            
			"variant":  {
                
			"id":  46,
                
			"category_id":  2,
                
			"product_id":  1,
                
			"name":  null,
                
			"description":  null,
                
			"sku":  "ZV20",
                
			"product_name":  "Zain Voice",
                
			"product_description":  null,
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  0,
                
			"picture":  [
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_85.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_300.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_70.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_80.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_47.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_20.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_1280.png"
			
                ],
                
			"retail_price":  "20.00",
                
			"tier_price":  "19.52",
                
			"total_retail_price":  "20.00",
                
			"total_amount":  "19.52",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "19.52"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  49369672,
                    
			"type":  1,
                    
			"source_type":  1
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  65812070,
                        
			"order_id":  49369672,
                        
			"product_id":  1,
                        
			"variant_id":  46,
                        
			"name":  "Zain 20.00 SAR",
                        
			"description":  "Zain 20.00 SAR",
                        
			"code":  "*********",
                        
			"serial_number":  "103404042824",
                        
			"expiry_date":  "2022-09-10",
                        
			"usage_instructions":  "-"
			
                    }
			
                ]
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  16280,
                
			"supplied_id":  14275,
                
			"program_id":  18,
                
			"bin_id":  "29",
                
			"user_id":  16184,
                
			"name":  "Debit Card",
                
			"nick_name":  "",
                
			"type":  "1",
                
			"number":  "168200*******5329",
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"balance":  "6713.87",
                
			"available_balance":  "6674.83",
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2021-09-09T15:43:04",
                
			"date_utc":  "2021-09-09T12:43:04",
                
			"source_time_zone":  null
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"id":  0,
            
			"parent_id":  0,
            
			"account_id":  16280,
            
			"user_id":  16184,
            
			"type":  190,
            
			"classification":  "Purchase",
            
			"operation":  "Debit",
            
			"amount":  "19.52",
            
			"currency":  "SAR",
            
			"balance":  "6713.87",
            
			"available_balance":  "6674.83",
            
			"notes":  null,
            
			"original_source_id":  "a566f18e-abf1-4b74-be58-d510909c63a2",
            
			"server_date":  "2021-09-09T15:43:04",
            
			"date_utc":  "2021-09-09T12:43:04",
            
			"source_time_zone":  "UTC +02:15"
			
        },
        
			"account":  {
            
			"info":  {
                
			"id":  16280,
                
			"supplied_id":  14275,
                
			"program_id":  18,
                
			"bin_id":  "29",
                
			"user_id":  16184,
                
			"name":  "Debit Card",
                
			"nick_name":  "",
                
			"type":  "1",
                
			"number":  "168200*******5329",
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"balance":  "6713.87",
                
			"available_balance":  "6674.83",
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2021-09-09T15:43:04",
                
			"date_utc":  "2021-09-09T12:43:04",
                
			"source_time_zone":  null
			
            }
			
        },
        
			"fee":  {
            
			"id":  0,
            
			"fee_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null
			
        },
        
			"tax":  {
            
			"id":  0,
            
			"tax_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null,
            
			"balance":  "0"
			
        },
        
			"conversion":  {
            
			"from_currency":  "SAR",
            
			"to_currency":  null,
            
			"original_amount":  "0",
            
			"converted_amount":  "0.00",
            
			"converted_amount_without_margin":  "0",
            
			"conversion_type":  0,
            
			"ws_setup_id":  0,
            
			"currency_rate":  "0",
            
			"second_currency_rate":  "0",
            
			"margin_percent":  0.0,
            
			"margin_percent_from_base":  0.0
			
        },
        
			"geo_coordinates":  {
            
			"latitude":  "31.254854",
            
			"longitude":  "35.254824",
            
			"position_description":  "ward description"
			
        }
			
    },
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "ward description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8

			
        }
			
    }
			
}
		
×

Cancel Order

Cancel Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:

			{
    
			"info":  {
        
			"process_type":  7
			
    },
    
			"validate":  "0"
			
}
		
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  49369677,
        
			"program_id":  18,
        
			"store_id":  0,
        
			"bin_id":  29,
        
			"user_id":  16184,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  7,
        
			"order_type":  0,
        
			"encryption_type":  0,
        
			"status":  0,
        
			"total_amount":  "0.00",
        
			"net_amount":  "0.00",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  null,
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  null,
        
			"refund_expiry_datetime_utc":  null,
        
			"server_date":  "2021-09-09T15:49:26",
        
			"date_utc":  "2021-09-09T12:49:26",
        
			"source_time_zone":  "UTC +03:00",
        
			"source_language":  null,
        
			"original_source_id":  null,
        
			"converted_amount":  0.0
			
    },
    
			"payment_method":  {
        
			"type":  0,
        
			"account":  {
            
			"info":  {
                
			"id":  0,
                
			"supplied_id":  0,
                
			"program_id":  0,
                
			"bin_id":  null,
                
			"user_id":  0

			
            }
			
        }
			
    }
			
}
		
×

Get Order

Get Order


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:00
  • show_sensitive_data : 1
Configuration Query Parameters:
Request Parameters:
Response Parameters:

			{
    
			"result":  {
        
			"code":  "0000",
        
			"message":  "Operation Completed Successfully.",
        
			"friendly_message":  "Operation Completed Successfully."
			
    },
    
			"info":  {
        
			"id":  49369678,
        
			"program_id":  18,
        
			"store_id":  1,
        
			"bin_id":  29,
        
			"user_id":  16184,
        
			"pos_id":  0,
        
			"pos_user_id":  0,
        
			"process_type":  1,
        
			"order_type":  1,
        
			"encryption_type":  0,
        
			"status":  2,
        
			"total_amount":  "19.52",
        
			"net_amount":  "19.52",
        
			"tax_amount":  "0.00",
        
			"retail_tax_amount":  "0.00",
        
			"discount_amount":  "0.00",
        
			"currency_code":  "SAR",
        
			"fee_amount":  "0.00",
        
			"reserve_expiry_datetime_utc":  null,
        
			"refund_expiry_datetime_utc":  "2021-09-10T12:53:24",
        
			"server_date":  "2021-09-09T15:53:24",
        
			"date_utc":  "2021-09-09T12:53:24",
        
			"source_time_zone":  "UTC +02:15",
        
			"source_language":  "en",
        
			"original_source_id":  "e7d2d4cd-1124-4a76-9e09-a76a024327e4",
        
			"converted_amount":  0
			
    },
    
			"items":  [
        
			{
            
			"info":  {
                
			"id":  49377252,
                
			"order_id":  49369678,
                
			"commerce_order_id":  0,
                
			"status":  2
			
            },
            
			"variant":  {
                
			"id":  46,
                
			"category_id":  2,
                
			"product_id":  1,
                
			"name":  "Zain 20.00 SAR",
                
			"description":  "Zain 20.00 SAR",
                
			"sku":  "ZV20",
                
			"product_name":  "Zain Voice",
                
			"product_description":  null,
                
			"type":  1,
                
			"quantity":  1,
                
			"available_quantity":  0,
                
			"picture":  [
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_85.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_300.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_70.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_80.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_47.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_20.png",
                    
			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_1280.png"
			
                ],
                
			"retail_price":  "20.00",
                
			"tier_price":  "19.52",
                
			"total_retail_price":  "20.00",
                
			"total_amount":  "19.52",
                
			"tax_percentage":  "0.00",
                
			"retail_tax_amount":  "0.00",
                
			"tax_amount":  "0.00",
                
			"fee_amount":  "0.00",
                
			"discount_amount":  "0.00",
                
			"net_amount":  "19.52"
			
            },
            
			"voucher":  {
                
			"info":  {
                    
			"order_id":  49369678,
                    
			"type":  1,
                    
			"source_type":  1
			
                },
                
			"pin_code":  [
                    
			{
                        
			"id":  65812069,
                        
			"order_id":  49369678,
                        
			"product_id":  1,
                        
			"variant_id":  46,
                        
			"name":  "Zain 20.00 SAR",
                        
			"description":  "Zain 20.00 SAR",
                        
			"code":  "123456789",
                        
			"serial_number":  "103404042822",
                        
			"expiry_date":  "2022-09-10",
                        
			"usage_instructions":  "-"
			
                    }
			
                ]
			
            }
			
        }
			
    ],
    
			"payment_method":  {
        
			"type":  3,
        
			"account":  {
            
			"info":  {
                
			"id":  16280,
                
			"supplied_id":  14275,
                
			"program_id":  18,
                
			"bin_id":  "29",
                
			"user_id":  16184,
                
			"name":  "Debit Card",
                
			"nick_name":  "",
                
			"type":  "1",
                
			"number":  "16820000029005329",
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"balance":  "6674.83",
                
			"available_balance":  "6655.31",
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2021-09-09T15:53:24",
                
			"date_utc":  "2021-09-09T12:53:24",
                
			"security":  {
                    
			"security_code":  "",
                    
			"activation_code":  null,
                    
			"expiry_date":  "2031-05-31",
                    
			"pin_code":  null
			
                }
			
            }
			
        }
			
    },
    
			"transaction":  {
        
			"info":  {
            
			"id":  53519096,
            
			"parent_id":  0,
            
			"account_id":  16280,
            
			"user_id":  16184,
            
			"type":  190,
            
			"classification":  "Purchase",
            
			"operation":  "Debit",
            
			"amount":  "19.52",
            
			"currency":  "SAR",
            
			"balance":  "6674.83",
            
			"available_balance":  "6655.31",
            
			"notes":  null,
            
			"original_source_id":  "e7d2d4cd-1124-4a76-9e09-a76a024327e4",
            
			"server_date":  "2021-09-09T15:53:24",
            
			"date_utc":  "2021-09-09T12:53:24",
            
			"source_time_zone":  "UTC +02:15"
			
        },
        
			"account":  {
            
			"info":  {
                
			"id":  16280,
                
			"supplied_id":  14275,
                
			"program_id":  18,
                
			"bin_id":  "29",
                
			"user_id":  16184,
                
			"name":  "Debit Card",
                
			"nick_name":  "",
                
			"type":  "1",
                
			"number":  "16820000029005329",
                
			"currency":  "SAR",
                
			"status":  "1",
                
			"balance":  "6674.83",
                
			"available_balance":  "6655.31",
                
			"activation_date_time":  null,
                
			"replace_account":  null,
                
			"original_source_id":  null,
                
			"server_date":  "2021-09-09T15:53:24",
                
			"date_utc":  "2021-09-09T12:53:24",
                
			"security":  {
                    
			"security_code":  "",
                    
			"activation_code":  null,
                    
			"expiry_date":  "2031-05-31",
                    
			"pin_code":  null
			
                }
			
            }
			
        },
        
			"fee":  {
            
			"id":  0,
            
			"fee_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null
			
        },
        
			"tax":  {
            
			"id":  0,
            
			"tax_definition_id":  0,
            
			"amount":  "0.00",
            
			"type":  0,
            
			"operation":  null,
            
			"notes":  null,
            
			"balance":  "0"
			
        },
        
			"conversion":  {
            
			"from_currency":  "SAR",
            
			"to_currency":  null,
            
			"original_amount":  "0",
            
			"converted_amount":  "0.00",
            
			"converted_amount_without_margin":  "0",
            
			"conversion_type":  0,
            
			"ws_setup_id":  0,
            
			"currency_rate":  "0",
            
			"second_currency_rate":  "0",
            
			"margin_percent":  0,
            
			"margin_percent_from_base":  0
			
        },
        
			"geo_coordinates":  {
            
			"latitude":  "31.254854",
            
			"longitude":  "35.254824",
            
			"position_description":  "ward description"
			
        },
        
			"function_code":  0,
        
			"response_time":  0
			
    },
    
			"custom_field":  null,
    
			"geo_coordinates":  {
        
			"latitude":  "31.254854",
        
			"longitude":  "35.254824",
        
			"position_description":  "ward description"
			
    },
    
			"fulfilment":  {
        
			"info":  {
            
			"delivery_type":  8
			
        }
			
    }
			
}
		
×

Get Order Inquiry

Get Order Inquiry


Configuration Header:
  • lang : en
  • source_id : SourceID
  • time_zone : UTC +02:15
  • show_sensitive_data : 0
Configuration Query Parameters:
  • from_date : 2021-08-09
  • to_date : 2021-09-10
  • start_index : 1
  • page_size : 10
  • status : 2
  • program_id : 18
  • user_id : 16184
  • order_id : 49369678
  • Request Parameters:
    Response Parameters:
    
    			{
        
    			"result":  {
            
    			"code":  "0000",
            
    			"message":  "Operation Completed Successfully.",
            
    			"friendly_message":  "Operation Completed Successfully."
    			
        },
        
    			"result_set":  {
            
    			"from_date":  "2021-08-09T00:00:00",
            
    			"to_date":  "2021-09-10T00:00:00",
            
    			"start_index":  1,
            
    			"page_size":  5,
            
    			"total_records":  1
    			
        },
        
    			"orders":  [
            
    			{
                
    			"result":  {
                    
    			"code":  "0000",
                    
    			"message":  "Operation Completed Successfully.",
                    
    			"friendly_message":  "Operation Completed Successfully."
    			
                },
                
    			"info":  {
                    
    			"id":  49369678,
                    
    			"program_id":  18,
                    
    			"store_id":  1,
                    
    			"bin_id":  29,
                    
    			"user_id":  16184,
                    
    			"pos_id":  0,
                    
    			"pos_user_id":  0,
                    
    			"process_type":  1,
                    
    			"order_type":  1,
                    
    			"encryption_type":  0,
                    
    			"status":  2,
                    
    			"total_amount":  "19.52",
                    
    			"net_amount":  "19.52",
                    
    			"tax_amount":  "0.00",
                    
    			"retail_tax_amount":  "0.00",
                    
    			"discount_amount":  "0.00",
                    
    			"currency_code":  "SAR",
                    
    			"fee_amount":  "0.00",
                    
    			"reserve_expiry_datetime_utc":  null,
                    
    			"refund_expiry_datetime_utc":  "2021-09-10T12:53:24",
                    
    			"server_date":  "2021-09-09T15:53:24",
                    
    			"date_utc":  "2021-09-09T12:53:24",
                    
    			"source_time_zone":  "UTC +02:15",
                    
    			"source_language":  "en",
                    
    			"original_source_id":  "e7d2d4cd-1124-4a76-9e09-a76a024327e4",
                    
    			"converted_amount":  0
    			
                },
                
    			"items":  [
                    
    			{
                        
    			"info":  {
                            
    			"id":  49377252,
                            
    			"order_id":  49369678,
                            
    			"commerce_order_id":  0,
                            
    			"status":  2
    			
                        },
                        
    			"variant":  {
                            
    			"id":  46,
                            
    			"category_id":  2,
                            
    			"product_id":  1,
                            
    			"name":  "Zain 20.00 SAR",
                            
    			"description":  "Zain 20.00 SAR",
                            
    			"sku":  "ZV20",
                            
    			"product_name":  "Zain Voice",
                            
    			"product_description":  null,
                            
    			"type":  1,
                            
    			"quantity":  1,
                            
    			"available_quantity":  0,
                            
    			"picture":  [
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_85.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_300.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_70.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_125.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_80.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_47.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_20.png",
                                
    			"http://sdemo2.numny.com/images/thumbs/0000234_zain-voice_1280.png"
    			
                            ],
                            
    			"retail_price":  "20.00",
                            
    			"tier_price":  "19.52",
                            
    			"total_retail_price":  "20.00",
                            
    			"total_amount":  "19.52",
                            
    			"tax_percentage":  "0.00",
                            
    			"retail_tax_amount":  "0.00",
                            
    			"tax_amount":  "0.00",
                            
    			"fee_amount":  "0.00",
                            
    			"discount_amount":  "0.00",
                            
    			"net_amount":  "19.52"
    			
                        },
                        
    			"voucher":  {
                            
    			"info":  {
                                
    			"order_id":  49369678,
                                
    			"type":  1,
                                
    			"source_type":  1
    			
                            },
                            
    			"pin_code":  [
                                
    			{
                                    
    			"id":  65812069,
                                    
    			"order_id":  49369678,
                                    
    			"product_id":  1,
                                    
    			"variant_id":  46,
                                    
    			"name":  "Zain 20.00 SAR",
                                    
    			"description":  "Zain 20.00 SAR",
                                    
    			"code":  "123456789",
                                    
    			"serial_number":  "103404042822",
                                    
    			"expiry_date":  "2022-09-10",
                                    
    			"usage_instructions":  "-"
    			
                                }
    			
                            ]
    			
                        }
    			
                    }
    			
                ],
                
    			"payment_method":  {
                    
    			"type":  3,
                    
    			"account":  {
                        
    			"info":  {
                            
    			"id":  16280,
                            
    			"supplied_id":  14275,
                            
    			"program_id":  18,
                            
    			"bin_id":  "29",
                            
    			"user_id":  16184,
                            
    			"name":  "Debit Card",
                            
    			"nick_name":  "",
                            
    			"type":  "1",
                            
    			"number":  "16820000029005329",
                            
    			"currency":  "SAR",
                            
    			"status":  "1",
                            
    			"balance":  "6674.83",
                            
    			"available_balance":  "6655.31",
                            
    			"activation_date_time":  null,
                            
    			"replace_account":  null,
                            
    			"original_source_id":  null,
                            
    			"server_date":  "2021-09-09T15:53:24",
                            
    			"date_utc":  "2021-09-09T12:53:24"
    			
                        }
    			
                    }
    			
                },
                
    			"transaction":  {
                    
    			"info":  {
                        
    			"id":  53519096,
                        
    			"parent_id":  0,
                        
    			"account_id":  16280,
                        
    			"user_id":  16184,
                        
    			"type":  190,
                        
    			"classification":  "Purchase",
                        
    			"operation":  "Debit",
                        
    			"amount":  "19.52",
                        
    			"currency":  "SAR",
                        
    			"balance":  "6674.83",
                        
    			"available_balance":  "6655.31",
                        
    			"notes":  null,
                        
    			"original_source_id":  "e7d2d4cd-1124-4a76-9e09-a76a024327e4",
                        
    			"server_date":  "2021-09-09T15:53:24",
                        
    			"date_utc":  "2021-09-09T12:53:24",
                        
    			"source_time_zone":  "UTC +02:15"
    			
                    },
                    
    			"account":  {
                        
    			"info":  {
                            
    			"id":  16280,
                            
    			"supplied_id":  14275,
                            
    			"program_id":  18,
                            
    			"bin_id":  "29",
                            
    			"user_id":  16184,
                            
    			"name":  "Debit Card",
                            
    			"nick_name":  "",
                            
    			"type":  "1",
                            
    			"number":  "16820000029005329",
                            
    			"currency":  "SAR",
                            
    			"status":  "1",
                            
    			"balance":  "6674.83",
                            
    			"available_balance":  "6655.31",
                            
    			"activation_date_time":  null,
                            
    			"replace_account":  null,
                            
    			"original_source_id":  null,
                            
    			"server_date":  "2021-09-09T15:53:24",
                            
    			"date_utc":  "2021-09-09T12:53:24"
    			
                        }
    			
                    },
                    
    			"fee":  {
                        
    			"id":  0,
                        
    			"fee_definition_id":  0,
                        
    			"amount":  "0.00",
                        
    			"type":  0,
                        
    			"operation":  null,
                        
    			"notes":  null
    			
                    },
                    
    			"tax":  {
                        
    			"id":  0,
                        
    			"tax_definition_id":  0,
                        
    			"amount":  "0.00",
                        
    			"type":  0,
                        
    			"operation":  null,
                        
    			"notes":  null,
                        
    			"balance":  "0"
    			
                    },
                    
    			"conversion":  {
                        
    			"from_currency":  "SAR",
                        
    			"to_currency":  null,
                        
    			"original_amount":  "0",
                        
    			"converted_amount":  "0.00",
                        
    			"converted_amount_without_margin":  "0",
                        
    			"conversion_type":  0,
                        
    			"ws_setup_id":  0,
                        
    			"currency_rate":  "0",
                        
    			"second_currency_rate":  "0",
                        
    			"margin_percent":  0,
                        
    			"margin_percent_from_base":  0
    			
                    },
                    
    			"geo_coordinates":  {
                        
    			"latitude":  "31.254854",
                        
    			"longitude":  "35.254824",
                        
    			"position_description":  "ward description"
    			
                    }
    			
                },
                
    			"geo_coordinates":  {
                    
    			"latitude":  "31.254854",
                    
    			"longitude":  "35.254824",
                    
    			"position_description":  "ward description"
    			
                },
                
    			"fulfilment":  {
                    
    			"info":  {
                        
    			"delivery_type":  8
    			
                    }
    			
                }
    			
            }
    			
        ]
    			
    }
    		
    ×

    Tracking Order

    Tracking Order


    Configuration Header:
    • lang : en
    • source_id : SourceID
    • time_zone : UTC +02:15
    • show_sensitive_data : 0
    Configuration Query Parameters:
  • from_date : 2017/09/04
  • to_date : 2019/09/04
  • start_index : 1
  • page_size : 10
  • status : 1
  • program_id : 18
  • order_id : 49369678
  • Request Parameters:
    
    			{
        
    			"info":  {
            
    			"program_id":  0,
            
    			"order_id":  0,
            
    			"user_id":  0,
            
    			"pos_id":  0,
            
    			"pos_user_id":  0,
            
    			"type":  1
    			
        },
        
    			"tracking_items":  [
            
    			{
                
    			"original_source_id":  "e7d2d4cd-1124-4a76-9e09-a76a024327e4",
                
    			"variant_id":  46,
                
    			"serial":  "103404042822"
    			
            }
    			
        ]
    			
    }
    		
    Response Parameters:
    
    			{
        
    			"result":  {
            
    			"code":  "0000",
            
    			"message":  "Operation Completed Successfully.",
            
    			"friendly_message":  "Operation Completed Successfully."
    			
        },
        
    			"info":  {
            
    			"program_id":  18,
            
    			"order_id":  0,
            
    			"user_id":  0,
            
    			"pos_id":  0,
            
    			"pos_user_id":  0,
            
    			"type":  1
    			
        },
        
    			"tracking_items":  [
            
        ],
        
    			"function_code":  0,
        
    			"response_time":  625
    			
    }
    		
    ×