Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anooptajawal/776217cc1b5d51c4679eb34e2d162fc5 to your computer and use it in GitHub Desktop.
Save anooptajawal/776217cc1b5d51c4679eb34e2d162fc5 to your computer and use it in GitHub Desktop.
:method: POST
:scheme: https
:path: /api/enigma/cart/checkout
:authority: www.almosafer.com
cookie: incap_ses_777_1982663=EaCHYxs/GkTPaBKS5HXICiF7rGEAAAAAkQmfVTK1B5WeK6IdxsdAAg==
cookie: incap_ses_773_1982663=pBi/Uc9qY063FtlGD0C6Ch57rGEAAAAACxnSBbRDO4kcsHJhZF6cYg==
cookie: nlbi_1982663=YV2SRqXolinTzEOM+WRZQgAAAABZFGo1MSy+foaUPx+EfvIE
cookie: visid_incap_1982663=Gu9751PIROuMwEIls93xZ9/enWEAAAAAQUIPAAAAAAAjJsVFYNx4POH9tWXYET6n
x-app-id: 52
user-agent: AlMosafer/iPhone/15.1/7.30.0/832/969C6AFC-0ED2-40B3-8196-45EA9E348DE7/iPhone%2012%20pro%20
x-base-country: SA
x-ev-devicename: iPhone 12 pro
x-ev-isjailbroken: false
x-ev-devicelocale: ar-sa
x-ev-totaldiskspace: 127881465856
x-ev-osversion: 15.1
x-ev-devicemodel: iPhone
x-base-currency: SAR
x-ev-vendorid: 969C6AFC-0ED2-40B3-8196-45EA9E348DE7
x-authorization: Bearer I28JS$s928918982SL344&#lSLKJ3#
content-length: 516
x-currency: SAR
x-platform: ios
x-locale: ar-sa
x-ev-config: LIVE
x-ev-appbuildnumber: 832
accept-language: ar
accept: */*
content-type: application/json
x-pricing-version: 1
x-ev-appversion: 7.30.0
accept-encoding: gzip, deflate, br
x-tz: Asia/Dubai
{"traveller":[{"firstName":"Anoop","lastName":"Ambunhi","productId":"prod-1efc2b80-adc9-4a0b-9749-4a769f7ec71b","smokingPreference":"NS"}],"contact":{"phone":"+971557675965","firstName":"Anoop","email":"anpjal12@gmail.com","lastName":"Ambunhi","title":"Mr"},"cartId":"cart-b1d7bf94-19a0-41ec-a566-8f30b63f1a70","payment":{"save":false,"method":"checkoutcom","card":{"number":"5543810079769639","expiryMonth":"09","expiryYear":"2022","name":"Test Tajawal","cvv":"642"}},"total":32.600000000000001,"specialRequest":""}
:status: 400
content-type: application/problem+json
accept-ranges: bytes
app-id: 52
app-name: Almosafer iOS SA
cache-control: no-cache, private
date: Sun, 05 Dec 2021 08:42:02 GMT
server: Velocity
span-id: 2c80227af710d17d
trace-id: 2c80227af710d17d
x-adebug-host: hotels-order
x-adebug-port: 80
x-adebug-real-ip: 10.160.165.139
x-adebug-ruri: /v3/cart/checkout
x-adebug-x-currency: SAR
x-adebug-x-locale: ar-sa
x-alimit-rpath: /v3/cart/checkout
x-aruntime: 1.146
x-aserved-by: 10.160.110.224
x-aus: 127.0.0.1:9002
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-mobile: true
x-real-ip: 5.195.224.30
x-cache: Error from cloudfront
via: 1.1 eee0602d0c6f247647395ec879baf443.cloudfront.net (CloudFront)
x-amz-cf-pop: DXB50-C1
x-amz-cf-id: eTt6MQY1n5WT_2jemUikXi0HCSFaXpP8WrXRptKat_AwFlQTQtQzJg==
x-cdn: Imperva
content-encoding: gzip
x-iinfo: 12-101783173-101783174 NNYN CT(0 4 0) RT(1638693720917 0) q(0 0 0 -1) r(13 13) U5
{"status":"400","title":"Booking","detail":"The transaction has been declined. The card details you have provided may be incorrect, please recheck the card information and try again. Should the error still occur, please contact your card issuer, or use a different card to complete your booking.","type":"https:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html","code":1700}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment