Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anooptajawal/e1f91fda0c5621a58b389f7a655c56f1 to your computer and use it in GitHub Desktop.
Save anooptajawal/e1f91fda0c5621a58b389f7a655c56f1 to your computer and use it in GitHub Desktop.
:method: POST
:scheme: https
:path: /api/m/flight/loyalty/redeem
:authority: next-dev.almosafer.com
cookie: incap_ses_477_2027702=M7oUDbFTAnqAI7xTCaWeBo4G5l4AAAAAVy7FpwiZ5H1y+y/v9yd8hg==; nlbi_2027702=p3TlM/wHVHnSAXXdE70mPwAAAADYVvZnlv1h32yiIOdp8OjM; visid_incap_2027702=RXw0JHN8R2GsoA8v26KH+rb05V4AAAAAQUIPAAAAAAACs4t0zyf8ijcBl3H6AIlX
x-app-id: 52
user-agent: AlMosafer/iPhone/13.1.2/5.6.2/1258/57E4E0D0-00B2-4FF3-991C-3E258D58F340/iPhone%207+
x-base-country: SA
x-ev-devicename: iPhone 7+
x-ev-isjailbroken: false
x-ev-devicelocale: en-us
x-ev-totaldiskspace: 31989469184
x-ev-osversion: 13.1.2
x-ev-devicemodel: iPhone
x-base-currency: SAR
x-ev-vendorid: 57E4E0D0-00B2-4FF3-991C-3E258D58F340
x-user-email: anpjal12+992@gmail.com
x-authorization: Bearer I28JS$s928918982SL344&#lSLKJ3#
x-currency: SAR
x-platform: ios
x-locale: en-us
authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.WEJvVzZHM3Y3MEJtdmFaRWZROUZhZHNXTGlIV0QwdUViOWQ2OE1obGUyYTFjY2J3OVpMbmNNYjl5aW5uOFZsODhKSHMvZEsyQ1pwWFJ3b1JsYndKMTNFbFp0VWRuQ2NoOURJTzZFbXZGeHJOZFAyamM3dHlNSTVMeHBBMGpmSkF6K1hqQXJ0U1I2RFVEYzhWbG1lb1Ztcm44blJaN1FLZG81UlQyYW5zT0lNNzd1RENMNXhIS2hoblpsbmNYcTFYa3FtNUc0OGVkRHN1Mm9ROVV5cnlYOXh2QWtCNHhsV3hzWnlVdFljUWVyU2JuWUVwYW9iSkNYYjZWMlFRRmpxbS9oN3lVUG9TRVRNWkd0QWNHMGhPaVN5SmNGT3U4OENqU0xNVXZ2c2J4bVlpTDNKZVYxTzVhUkxFTHZQSVcvNS8zSHZZWkVHb2NOaGdWTzJWQW1zK1NZNk1FOEthTGsybmVKMGxRbDVxSFYwPQ.FDEsTrIJHbCYDONyzxjVphUPHUki9MIUr5OH81KITAM
x-ev-appbuildnumber: 1258
x-ev-config: DEVELOPMENT
accept-language: en-gb
accept: */*
content-type: application/json
x-ev-appversion: 5.6.2
accept-encoding: gzip, deflate, br
x-tz: Asia/Dubai
Content-Length: 149
{"loyalty":{"identifier":"000000000","method":"wallet","total":1113,"code":"0000"},"total":1113,"cartId":"cart-ca72a93f-5fe2-411a-8913-93ac44caaee1"}
:status: 200
content-type: application/json
Content-Length: 20660
access-control-allow-credentials: true
access-control-allow-headers:
access-control-allow-methods: HEAD, GET, POST, OPTIONS, PUT, DELETE
access-control-allow-origin: www-dev.almosafer.com
cache-control: must-revalidate, post-check=0, pre-check=0, private
date: Sun, 14 Jun 2020 11:16:35 GMT
pragma: no-cache
server: Velocity
service-worker-allowed: /
strict-transport-security: max-age=31536000;
strict-transport-security: max-age=31536000;
vary: Accept-Encoding
vary: Accept-Encoding
x-adebug-host: flight-api-dev-internal-endpoint.tajawal.com
x-adebug-port: 80
x-adebug-real-ip: 2.51.3.142
x-adebug-ruri: /flight/loyalty/redeem?loyalty_api_key=UgSbHKv6Td5L8VoDSI16
x-adebug-x-currency: SAR
x-adebug-x-locale: en-us
x-alimit-rpath: /flight/loyalty/redeem
x-aruntime: 0.355
x-aserved-by: 10.250.13.243
x-aus: 10.250.12.51:9002
x-content-type-options: nosniff
x-encoded-content-encoding: gzip
x-geoip-city: Dubai
x-geoip-country: United Arab Emirates
x-geoip-country-code: AE
x-geoip-region: Dubai
x-is-bot-api: 0
x-is-bot-www: 0
x-subdomain: www-dev
x-ua-compatible: IE=Edge,chrome=1
x-wdebug-docroot: /var/www/www-clients/alm-www-dev
x-wdebug-host: www-dev.almosafer.com
x-wdebug-port: 443
x-wdebug-real-ip: 2.51.3.142
x-wdebug-ruri: /api/m/flight/loyalty/redeem
x-wdebug-x-currency: SAR
x-wdebug-x-locale: en-us
x-wlimit-rpath: /api/m/flight/loyalty/redeem
x-wus: 10.250.4.187:9002
x-www-runtime: 0.418
x-www-served-by: 10.250.8.253
x-xss-protection: 1; mode=block
x-cache: Miss from cloudfront
via: 1.1 b0fb64973ef509b9c9508897337515c3.cloudfront.net (CloudFront)
x-amz-cf-pop: MXP64-C3
x-amz-cf-id: nNR1R0JdLD-rlxObsJO-6u7G0X6HGxcuwZ0qgqaXgBr_LXdfPwIzUg==
x-cdn: Incapsula
x-iinfo: 4-31527652-31527653 NNNY CT(0 0 0) RT(1592133394731 0) q(0 0 0 -1) r(5 5) U5
{"createdAt":"2020-06-14 11:15:31","updatedAt":"2020-06-14 11:16:02","status":10,"trackId":"655dafd1-3730-4c62-aa36-72b32c008b7a","customerId":"5dfb31285887553edc7b9812","storeId":52,"groupId":2,"products":[{"id":"prod-54e0ef38-a205-4602-8dec-d0484d59e64f","createdAt":"2020-06-14 11:15:31","updatedAt":"2020-06-14 11:15:31","_id":"5ee606d3601cc43184cf2d44","options":{"listingPrice":{"totals":1113,"currency":"SAR"},"fare":{"legDetails":[{"segment":[{"indicator":["T"],"classOfLeg":"S","cabinCode":"M","cabinText":"Economy","fareBasis":"SE7DSA","indexCtrl":1,"flightCode":"190","marketingCarrierId":"GF","mealService":null,"freeBaggage":{"cabin":{"allowance":7,"qty":1,"unit":"KG","text":"7 KG"},"checkIn":{"allowance":1,"qty":"N","unit":null,"text":"1 PIECE"}},"fc":"1","fcFareBasis":"SE7DSA"},{"indicator":[],"classOfLeg":"S","cabinCode":"M","cabinText":"Economy","fareBasis":"SE7DSA","indexCtrl":1,"flightCode":"510","marketingCarrierId":"GF","mealService":null,"freeBaggage":{"cabin":{"allowance":7,"qty":1,"unit":"KG","text":"7 KG"},"checkIn":{"allowance":1,"qty":"N","unit":null,"text":"1 PIECE"}},"fc":"1","fcFareBasis":"SE7DSA"}]},{"segment":[{"indicator":["T"],"classOfLeg":"S","cabinCode":"M","cabinText":"Economy","fareBasis":"SE7DSA","indexCtrl":1,"flightCode":"505","marketingCarrierId":"GF","mealService":null,"freeBaggage":{"cabin":{"allowance":7,"qty":1,"unit":"KG","text":"7 KG"},"checkIn":{"allowance":1,"qty":"N","unit":null,"text":"1 PIECE"}},"fc":"2","fcFareBasis":"SE7DSA"},{"indicator":[],"classOfLeg":"S","cabinCode":"M","cabinText":"Economy","fareBasis":"SE7DSA","indexCtrl":1,"flightCode":"167","marketingCarrierId":"GF","mealService":null,"freeBaggage":{"cabin":{"allowance":7,"qty":1,"unit":"KG","text":"7 KG"},"checkIn":{"allowance":1,"qty":"N","unit":null,"text":"1 PIECE"}},"fc":"2","fcFareBasis":"SE7DSA"}]}],"item":{"basis":["SE7DSA"],"type":["RP"]}},"leg":[{"originId":"RUH","departure":"2020-07-15T16:00:00","flightCode":"GF-190","segmentId":["cc6143a8","ffc825d4"],"destinationId":"DXB","arrival":"2020-07-15T20:15:00","id":"c8fa6f6f","path":["RUH","BAH","DXB"],"stopCount":1,"stopId":["BAH"],"validatingCarrier":"GF","duration":{"text":"03h 15m"},"index":1,"flags":[]},{"originId":"DXB","departure":"2020-07-19T12:55:00","flightCode":"GF-505","segmentId":["cb266833","abb9c84a"],"destinationId":"RUH","arrival":"2020-07-19T17:00:00","id":"4573bb20","path":["DXB","BAH","RUH"],"stopCount":1,"stopId":["BAH"],"validatingCarrier":"GF","duration":{"text":"05h 05m"},"index":2,"flags":[]}],"flightCodes":["GF-190","GF-505"],"segment":[{"layover":[],"departureAirport":{"code":"RUH","terminal":"1"},"arrivalAirport":{"code":"BAH","terminal":null},"departure":"2020-07-15T16:00:00","arrival":"2020-07-15T17:15:00","duration":{"text":"01h 15m","value":75},"marketingCarrierId":"GF","operatingCarrierId":"GF","flightCode":"GF-190","flightDistance":{"text":null},"carrierType":"320","id":"cc6143a8"},{"layover":[],"departureAirport":{"code":"BAH","terminal":null},"arrivalAirport":{"code":"DXB","terminal":"1"},"departure":"2020-07-15T18:05:00","arrival":"2020-07-15T20:15:00","duration":{"text":"01h 10m","value":70},"marketingCarrierId":"GF","operatingCarrierId":"GF","flightCode":"GF-510","flightDistance":{"text":null},"carrierType":"320","id":"ffc825d4","connectingTime":{"text":"04h 45m","value":285}},{"layover":[],"departureAirport":{"code":"DXB","terminal":"1"},"arrivalAirport":{"code":"BAH","terminal":null},"departure":"2020-07-19T12:55:00","arrival":"2020-07-19T13:15:00","duration":{"text":"01h 20m","value":80},"marketingCarrierId":"GF","operatingCarrierId":"GF","flightCode":"GF-505","flightDistance":{"text":null},"carrierType":"321","id":"cb266833"},{"layover":[],"departureAirport":{"code":"BAH","terminal":null},"arrivalAirport":{"code":"RUH","terminal":"1"},"departure":"2020-07-19T15:45:00","arrival":"2020-07-19T17:00:00","duration":{"text":"01h 15m","value":75},"marketingCarrierId":"GF","operatingCarrierId":"GF","flightCode":"GF-167","flightDistance":{"text":null},"carrierType":"789","id":"abb9c84a","connectingTime":{"text":"02h 30m","value":150}}],"canDisplay":true,"legId":["c8fa6f6f","4573bb20"],"validatingCarrier":"GF","perLegLuggage":false,"inputVat":0,"outputVat":0,"luggage":[],"pax":[{"info":{"ref":1,"type":"ADT"},"totals":{"refundable":null,"couponDiscount":0,"luggage":0,"mu":0,"penalty":0,"total":1113,"tax":793,"vat":0,"base":320,"currency":"SAR"},"ptc":{"apisRequired":false,"idRequired":false,"dobRequired":false,"nationalIdRequired":false,"passportRequired":false}}],"itineraryId":"GF1_4-59fc5dfd_AMD_V3","ahsGroupName":""},"paymentStatus":71,"status":10,"vendorStatus":"Pending","supplierStatus":"Pending","qty":1,"valid":true,"type":"flight","isManual":false,"allowedPaymentMethods":[{"provider":"checkoutcom","label":"Credit Card"},{"provider":"qitaf","label":"Qitaf"},{"provider":"wallet","label":"Wallet"}],"expiredAt":"2020-06-16 11:15:31","price":{"base":320,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR","additionalData":[]},"vendorPrice":{"base":320,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR","additionalData":[]},"supplierPrice":{"base":320,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR","additionalData":[]},"category":"flight","addedBy":"flight-api","supplierName":"GF","additionalData":{"officeId":"RUHAA28WH","ticketingOfficeId":"RUHAA28WH","validatingCarrier":"GF","isDomestic":false,"ticketingType":"","tzOfDepartureAirport":"Asia\/Riyadh","searchType":"Roundtrip","cid":"59fc5dfd","isTstCreated":false,"itineraryId":"GF1_4-59fc5dfd_AMD_V3","isV3Search":true,"isV3Pricing":true,"paxTypeCount":{"adult":1,"totalSeats":1,"child":0,"infant":0},"query":"RUH-DXB\/2020-07-15\/2020-07-19\/Economy\/1Adult\/0Child\/0Infant","isV2Search":false,"orderTracking":{"pricingTime":"2020-06-14T11:15:31.208Z"},"fareUuid":"5bec0880-ae30-11ea-addc-0fd7c2832fa4","includedVatPercentage":0,"supplierVat":0,"exchange":{"Base":{"symbol":"SAR","name":"Saudi Riyal","name_ar":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","symbol_native":"\u0631.\u0633.\u200f","decimal_digits":2,"rounding":0,"code":"SAR","name_plural":"Saudi riyals"},"Equivalent":[{"symbol":"SAR","name":"Saudi Riyal","name_ar":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","symbol_native":"\u0631.\u0633.\u200f","decimal_digits":2,"rounding":0,"code":"SAR","name_plural":"Saudi riyals","rate":1,"Rate":1,"date":"2020-06-14 11:05:53"},{"symbol":"AED","name":"United Arab Emirates Dirham","name_ar":"\u062f\u0631\u0647\u0645 \u0627\u0645\u0627\u0631\u0627\u062a\u064a","symbol_native":"\u062f.\u0625.\u200f","decimal_digits":2,"rounding":0,"code":"AED","name_plural":"UAE dirhams","rate":0.978485,"Rate":0.978485,"date":"2020-06-14 11:05:06"},{"symbol":"QAR","name":"Qatari Rial","name_ar":"\u0631\u064a\u0627\u0644 \u0642\u0637\u0631\u064a","symbol_native":"\u0631.\u0642.\u200f","decimal_digits":2,"rounding":0,"code":"QAR","name_plural":"Qatari rials","rate":0.970016,"Rate":0.970016,"date":"2020-06-14 11:05:06"},{"symbol":"KWD","name":"Kuwaiti Dinar","name_ar":"\u062f\u064a\u0646\u0627\u0631 \u0643\u0648\u064a\u062a\u064a","symbol_native":"\u062f.\u0643.\u200f","decimal_digits":3,"rounding":0,"code":"KWD","name_plural":"Kuwaiti dinars","rate":0.082037,"Rate":0.082037,"date":"2020-06-14 11:05:06"},{"symbol":"BHD","name":"Bahraini Dinar","name_ar":"\u062f\u064a\u0646\u0627\u0631 \u0628\u062d\u0631\u064a\u0646\u064a","symbol_native":"\u062f.\u0628.\u200f","decimal_digits":3,"rounding":0,"code":"BHD","name_plural":"Bahraini dinars","rate":0.100448,"Rate":0.100448,"date":"2020-06-14 11:05:06"},{"symbol":"$","name":"US Dollar","name_ar":"\u062f\u0648\u0644\u0627\u0631 \u0623\u0645\u0631\u064a\u0643\u064a","symbol_native":"$","decimal_digits":2,"rounding":0,"code":"USD","name_plural":"US dollars","rate":0.266396,"Rate":0.266396,"date":"2020-06-14 11:05:06"},{"symbol":"\u20ac","name":"Euro","name_ar":"\u064a\u0648\u0631\u0648","symbol_native":"\u20ac","decimal_digits":2,"rounding":0,"code":"EUR","name_plural":"euros","rate":0.236683,"Rate":0.236683,"date":"2020-06-14 11:05:06"},{"symbol":"\u00a3","name":"British Pound Sterling","name_ar":"\u0627\u0644\u062c\u0646\u064a\u0647 \u0627\u0644\u0627\u0633\u062a\u0631\u0644\u064a\u0646\u064a","symbol_native":"\u00a3","decimal_digits":2,"rounding":0,"code":"GBP","name_plural":"British pounds sterling","rate":0.212361,"Rate":0.212361,"date":"2020-06-14 11:05:06"},{"symbol":"EGP","name":"Egyptian Pound","name_ar":"\u062c\u0646\u064a\u0647 \u0645\u0635\u0631\u064a","symbol_native":"\u062c.\u0645.\u200f","decimal_digits":2,"rounding":0,"code":"EGP","name_plural":"Egyptian pounds","rate":4.310474,"Rate":4.310474,"date":"2020-06-14 11:05:06"},{"symbol":"\u20b9","name":"Indian Rupee","name_ar":"\u0631\u0648\u0628\u064a\u0629 \u0647\u0646\u062f\u064a\u0629","symbol_native":"\u20b9","decimal_digits":2,"rounding":0,"code":"INR","name_plural":"Indian rupees","rate":20.234683,"Rate":20.234683,"date":"2020-06-14 11:05:06"}]},"miscellaneousDescription":{"type":"Luggage Surcharge","value":0},"ssr":[{"luggage":[],"seatIndex":1}],"isSeatReserved":true,"seatReservedTime":"2020-06-14 11:16:02","amdSessionId":"00LYTEPDWB","session":"{\"_id\":\"5ee606f0f2d82753d069aaf2\",\"data\":{\"Header\":{\"Session\":{\"SessionId\":\"00LYTEPDWB\",\"SequenceNumber\":\"1\",\"SecurityToken\":\"2CKTTJ1ELGXOPN90F7T86U67W\"}},\"Body\":{\"Security_AuthenticateReply\":{\"processStatus\":{\"statusCode\":\"P\"}}},\"AmdID\":\"RUHAA28WH\",\"id\":\"cart-ca72a93f-5fe2-411a-8913-93ac44caaee1\"},\"last_query_date\":\"1592133360000\",\"group_id\":\"Booking\",\"active_context\":\"Air_SellFromRecommendation\",\"query_in_progress\":false,\"destination\":\"RUHAA28WHIAWPT12dev00110_250_8_253\",\"pooling_type\":\"stateless\",\"curl_info\":{\"url\":\"https:\\\/\\\/nodeD1.test.webservices.amadeus.com\\\/\",\"content_type\":\"text\\\/xml\",\"http_code\":200,\"header_size\":88,\"request_size\":1214,\"filetime\":-1,\"ssl_verify_result\":0,\"redirect_count\":0,\"total_time\":0.223384,\"namelookup_time\":0.000663,\"connect_time\":0.033418,\"pretransfer_time\":0.142936,\"size_upload\":984,\"size_download\":333,\"speed_download\":1490,\"speed_upload\":4404,\"download_content_length\":333,\"upload_content_length\":984,\"starttransfer_time\":0.223261,\"redirect_time\":0,\"redirect_url\":\"\",\"primary_ip\":\"171.17.128.65\",\"certinfo\":[],\"primary_port\":443,\"local_ip\":\"10.250.4.32\",\"local_port\":31835,\"http_version\":2,\"protocol\":2,\"ssl_verifyresult\":0,\"scheme\":\"HTTPS\"},\"status\":\"P\",\"is_valid\":true,\"session_id\":\"00LYTEPDWB\",\"sequence_number\":2,\"security_token\":\"2CKTTJ1ELGXOPN90F7T86U67W\",\"reserved_for_id\":\"\",\"reserved_for_context\":\"\",\"reserved_at\":\"\",\"created_at\":\"1592133360000\",\"updated_at\":\"1592133362000\"}"},"vendorName":"amd","name":"c8fa6f6f,4573bb20-GF-190,GF-505","code":"38dc16fcb78a1a467e79970782d65e40","displayCurrency":"SAR","displayPrice":{"base":320,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayCurrencyRate":1,"traveller":[{"id":"trav-73aae013-0510-43a2-9be2-b660e40e5711","createdAt":"2020-06-14 11:16:00","updatedAt":"2020-06-14 11:16:00","_id":"5ee606f03fdb890224219b86","title":"Mr","firstName":"Anoop","middleName":"","lastName":"Ambunhi","type":"ADT","birthDate":"","nationality":"","additionalData":{"type":"ADT","index":1,"seatIndex":1,"isPrimaryContact":true},"travellerId":{"id":"tvid-5452811a-9bfa-45f8-bc31-05e289bd233e","createdAt":"2020-06-14 11:16:00","updatedAt":"2020-06-14 11:16:00","_id":"5ee606f0401e12098cf2051e","type":"passport","number":"","issueDate":"","expiryDate":"","issueCountry":""}}],"vendorConfirmationNumber":"","supplierConfirmationNumber":"","emails":{"ticket":false}},{"id":"prod-c5bcabeb-e8d5-4074-b86c-4d0740b25e03","createdAt":"2020-06-14 11:16:35","updatedAt":"2020-06-14 11:16:35","_id":"5ee607132967d70bd8c206e5","options":{"canDisplay":true},"paymentStatus":78,"status":58,"vendorStatus":"Auto Confirmed","supplierStatus":"Auto Confirmed","qty":1,"valid":true,"displayCurrency":"SAR","displayCurrencyRate":1,"type":"loyalty","category":"wallet","code":"wallet","name":"wallet","description":"wallet","vendorConfirmationNumber":"Ok","supplierConfirmationNumber":"Ok","price":{"base":-1113,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":-1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"vendorPrice":{"base":-1113,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":-1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"supplierPrice":{"base":1113,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"additionalData":{"identifier":"000000000","method":"wallet","total":1113,"code":"0000","cartTotal":1113,"chargeId":"c98d8ca3-e48b-4083-9fb9-e4648e334b3a"},"displayPrice":{"base":-1113,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":-1113,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"}},{"id":"prod-9bf8fb27-d7a9-40c1-9c32-480c6e835bef","createdAt":"2020-06-14 11:16:35","updatedAt":"2020-06-14 11:16:35","_id":"5ee6071370019335da1cb311","options":{"canDisplay":true,"inputVat":0,"outputVat":0},"paymentStatus":71,"status":58,"vendorStatus":"Pending","supplierStatus":"Pending","qty":1,"valid":true,"name":"vat","code":"vat","type":"vat","category":"vat","allowedPaymentMethods":[{"provider":"checkoutcom","label":"Credit Card"},{"provider":"qitaf","label":"Qitaf"},{"provider":"wallet","label":"Wallet"}],"price":{"base":0,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":0,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayCurrency":"SAR","displayPrice":{"base":0,"currencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":0,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"total":0,"totalCurrencyRate":1,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayCurrencyRate":1}],"coupon":"","currency":"SAR","displayCurrency":"SAR","displayCurrencyRate":1,"totals":{"total":0,"totalCurrencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"subtotal":1113,"subtotalCurrencyRate":0,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"displayTotals":{"total":0,"totalCurrencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"subtotal":1113,"subtotalCurrencyRate":0,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"grandTotals":{"total":1113,"totalCurrencyRate":0,"commission":0,"commissionCurrencyRate":0,"tax":793,"taxCurrencyRate":0,"discount":0,"discountCurrencyRate":0,"subtotal":1113,"subtotalCurrencyRate":0,"miscellaneous":0,"markup":0,"inputVat":0,"outputVat":0,"inputVatMeta":0,"outputVatMeta":0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"expiredAt":null,"customerEmail":"anpjal12+992@gmail.com","additionalData":{"headers":{"client_ip":"10.110.227.150","x-user-phone":"","x-user-id":"5dfb31285887553edc7b9812","x-user-email":"anpjal12+992@gmail.com","x-user-account-status":"active","x-uhash":"6963dfaf923cba1ddfd6a715e3b7b3e7","x-tz":"Asia\/Dubai","x-site-id":"almosafer.com","x-router":"mobile","x-platform":"ios","x-loyalty-program-code":"ALM_SA","x-locale":"en-us","x-host":"www-dev.almosafer.com","x-fp":"","x-ev-vendorid":"57E4E0D0-00B2-4FF3-991C-3E258D58F340","x-ev-totaldiskspace":"31989469184","x-ev-osversion":"13.1.2","x-ev-isjailbroken":"false","x-ev-devicename":"iPhone 7+","x-ev-devicemodel":"iPhone","x-ev-devicelocale":"en-us","x-ev-config":"DEVELOPMENT","x-ev-appversion":"5.6.2","x-ev-appbuildnumber":"1258","x-elb-ip":"2.51.3.142, 34.247.98.127","x-currency":"SAR","x-base-currency":"SAR","x-base-country":"SA","x-b3-traceid":"37b0e16afbc593f1","x-b3-spanid":"cdfeab9681982f17","x-b3-sampled":"1","x-b3-parentspanid":"9d7a17cd20db9251","x-b3-flags":"0","x-authorization":"Bearer I28JS$s928918982SL344&#lSLKJ3#","x-auth-token":"I28JS$s928918982SL344&#lSLKJ3#","x-amz-cf-id":"NbQOzqpYX98hXOX2z7xh45r7OjC17PFuPUVRBa-i4PxDd0PBudQTow==","via":"1.1 a394733f1fe324c13718fb07a56c6227.cloudfront.net (CloudFront)","user-agent":"AlMosafer\/iPhone\/13.1.2\/5.6.2\/1258\/57E4E0D0-00B2-4FF3-991C-3E258D58F340\/iPhone%207+","uhash":"6963dfaf923cba1ddfd6a715e3b7b3e7","referer":"","incap-proxy-477":"OK","incap-client-ip":"2.51.3.142","content-type":"application\/json","cloudfront-viewer-country":"IT","cloudfront-is-tablet-viewer":"false","cloudfront-is-smarttv-viewer":"false","cloudfront-is-mobile-viewer":"true","cloudfront-is-desktop-viewer":"false","cloudfront-forwarded-proto":"https","authorization":"Bearer I28JS$s928918982SL344&#lSLKJ3#","accept-language":"en-gb","accept-encoding":"gzip, deflate, br","x-original-forwarded-for":"2.51.3.142, 52.212.13.146","x-scheme":"http","x-forwarded-proto":"http","x-forwarded-port":"80","x-forwarded-host":"next-dev.almosafer.com","x-forwarded-for":"2.51.3.142","x-request-id":"d1d1fecd27d7691f21d9cbdc67f3927c","scheme":"http","x-real-ip":"10.110.227.150","user_ip":"10.110.227.150","x-group-id":"2","x-office-id":"RUHAA28WH","x-tpt-office-id":"87oF","affiliate-id":"","x-ahs-group-name":"","is-tajawal-app-id":"0"},"loyalty":{"redeem":{"identifier":"000000000","method":"wallet","total":1113,"code":"0000","apiKey":"UgSbHKv6Td5L8VoDSI16"}}},"allowedPaymentMethods":[{"provider":"checkoutcom","label":"Credit Card"},{"provider":"qitaf","label":"Qitaf"},{"provider":"wallet","label":"Wallet"}],"options":[],"contact":{"firstName":"Anoopsmsk","email":"anpjal12+992@gmail.com","phone":"+9718235833838","lastName":"A","title":"Mrs","countryId":""},"notes":[],"isManual":false,"isManualOrder":false,"cartId":"cart-ca72a93f-5fe2-411a-8913-93ac44caaee1","statusMessage":"New"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment