Official Api
latest
  • latest
  • 1.0.0
  1. Orders
Official Api
latest
  • latest
  • 1.0.0
  • Auth
    • Login/Guest Login
      • Auth - Guest
      • Auth - Login
      • Auth - Login (With E-Mail)
    • Register
      • Auth - Register
      • Auth - Register Corporate
    • Remember
      • Auth - Remember Password
      • Auth - Remember Password For E-Mail
      • Auth - Remember Otp Verify
      • Auth - Set New Password
    • Auth Otp Verify
      POST
    • Auth - Logout
      DELETE
    • Auth - State
      GET
  • Customer
    • Passengers
      • Passenger List
      • Passenger Create
      • Passenger Delete
      • Passenger Update
    • invoice Info
      • Invoice Info - List
      • Invoice Info - Create
      • Invoice Info - Delete
      • Invoice Info - Update
    • Favorite Flights
      • Favorites - Flight
      • Favorites - Add Flight
      • Favorites - Delete Flight
      • Favorites - Check for Flight
    • Notifications
      • Notifications - Get
      • Notifications - Update
      • Notifications - Register Device
      • Notifications - Unregister Device
    • Fast Actions
      • Fast Actions - Get Flight Actions
      • Fast Actions - Update Flight Actions
      • Fast Actions - Get Bus Actions
      • Fast Actions - Update Bus Actions
      • Fast Actions - Clear Flight Actions
    • Customer - Get Profile
      GET
    • Customer - Update Profile
      POST
    • Customer - Update Password
      POST
    • Search History - Flight
      GET
    • Customer - Remove Account
      DELETE
  • Utils
    • Calendar - Month
      GET
    • Enums - FlightSearchFilters
      GET
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Package Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT (Non package)
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
      • International
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy Copy
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Calculate Price
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
      GET
  • Bus
    • Bus - Search with Slug
    • Bus - Search
    • Get Job (Bus)
    • Bus - Bus Details
    • Bus - Check Seat Status
    • Bus - Set Passengers
    • Bus - Finalize (Local Dev Only)
    • Bus - Search - Filter
  • Hotel
    • Hotel - Search by Destination
    • Hotel - Search by Hotel Code
    • Get Job (Hotel)
    • Hotel - Get Hotel Details
    • Hotel - Validate Rooms
    • Hotel - Set Paxes
    • Hotel - Complete (Dev Only)
  • Socket
    • Auth
    • Subscribe Channel/Module
    • Emit Message
    • Search Airports
    • Search Hotels
    • Emit Subscribe Job
  • Auto Completes
    • Airport Search
    • Bus Station Search
    • Hotel Search
  • Queue / Socket
    • Get Job
  • Misc
    • Airlines
    • Countries
    • Popular Cities
    • Currencies
    • Contact Form
    • Check Module Availability
    • Popular Flights
    • Newsletter Subscribe
  • Payment
    • Pay with Account Balance (For Corporate Customers)
      • Payment - Account - Check Availablity
      • Payment - Account - Make Payment
    • Credit Card Storage
      • Saved Cards - List
      • Saved Cards - Add
      • Saved Cards - Delete
    • Pay with Credit Card (New Card)
      • Payment Types - Get All
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
    • Pay with Credit Card (Saved Card)
      • Payment Types - Get All
      • Saved Cards - List
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
  • Orders
    • Get Orders
      POST
    • Get Order
      GET
    • Upcoming Travels
      GET
    • Check Pnr
      POST
    • Check Order Status
      GET
  • Blog
    • Blog - Custom Tags
    • Blog - Category
    • Blog - Newest
    • Blog - Categories
    • Blog - Post
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
    • Sık Sorulan Sorular
    • Popular Flights
    • Popular Cities
    • Popular Bus Routes
    • Get Slug Service
    • City - Flight
    • Get Page
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Checkout
    • Coupons
      • Apply Coupon
      • Remove Coupon
    • Cart
  • Otp Verify
    POST
  • Status
    GET
  1. Orders

Get Orders

Developing
POST
https://test-api.ucuzyolu.com/orders

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
limit
string 
optional
Example:
10
page
string 
optional
Example:
1
Header Params
client-id
string 
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
filters
object 
optional
type
string 
optional
status
string 
optional
date
object 
optional
sort
object 
optional
field
string 
required
type
enum<string> 
required
Allowed values:
ascdesc
Example
{
    "filters": {
        "type": "flight",
        "status": "expired",
        "date": {
            "from": "2024-01-01",
            "to": "2024-12-31"
        }
    },
    "sort": {
        "field": "created_at",
        "type": "desc"
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/orders?limit=10&page=1' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
    "filters": {
        "type": "flight",
        "status": "expired",
        "date": {
            "from": "2024-01-01",
            "to": "2024-12-31"
        }
    },
    "sort": {
        "field": "created_at",
        "type": "desc"
    }
}'

Responses

🟢200OK
application/json
Body
data
object 
required
data
array[object (Cart) {12}] 
required
from
integer 
required
links
array [object {3}] 
required
path
string 
required
to
integer 
required
total
integer 
required
currentPage
integer 
required
firstPageUrl
string 
required
lastPage
integer 
required
lastPageUrl
string 
required
nextPageUrl
string 
required
perPage
integer 
required
prevPageUrl
string  | null 
required
filters
array[object (FilterItem) {7}] 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "data": [
            {
                "id": 18,
                "token": "g0qv74FieWYd7e9DYMAISHADZXyFOrBEbwLf",
                "summary": 1140.54,
                "total": 1140.54,
                "status": "failed",
                "payment": {
                    "token": "hF63nRJTYGQOOOwPiAJdfl2Bdgu2C6L1bt2CoaIjPOVlqYH7N0gFojHcncz73BMxr96VKaAMggpco6GOcGN3jHT8i9l3nDELqUSAkJQAupEnNxRjhhRyW1L6X8k5VRlA",
                    "amount": 1140.54,
                    "state": "failed",
                    "comission": 0,
                    "total": 1140.54,
                    "details": {
                        "cardExpiry": "05/28",
                        "cardHolder": "John Due",
                        "cardNumber": "404809******7528",
                        "customerIp": "192.168.65.1",
                        "cardAssociation": "Visa"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 22,
                            "pnr": "WDSTIA",
                            "refundable": false,
                            "domestic": false,
                            "duration": "01:05",
                            "yr": 149,
                            "vq": 110.93,
                            "date": "2024-11-10",
                            "origin": "IST",
                            "destination": "ESB",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "ESB",
                                    "date": "2024-11-10",
                                    "airline": "TK",
                                    "cabin": "T",
                                    "price": 871.61,
                                    "tax": 259.93,
                                    "total": 1137.54,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "TK2190",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 1140.54,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Esenboğa Havalimanı",
                                    "airlineName": "Turkish Airlines",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Ankara",
                                    "arrivalTime": "02:05",
                                    "departureTime": "01:00"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 23,
                                    "status": 0,
                                    "pnr": "WDSTIA",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 1134.54,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "da9faea4-339f-435b-b80a-d7ce036d0db7",
                            "passengerCount": 1,
                            "flightType": "oneway",
                            "grandTotal": 1140.54,
                            "airDuration": "01:05",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": null,
                            "arrivalTime": "02:05",
                            "departureTime": "01:00",
                            "destinationCity": "Ankara",
                            "destinationName": "Esenboğa Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            },
            {
                "id": 16,
                "token": "fR1agGQQwEvDop3356n1YD8UMESeNgJzv3BV",
                "summary": 1140.54,
                "total": 1140.54,
                "status": "failed",
                "payment": {
                    "token": "Mh09BapZHMAbLIjdipyIQVPDdhMh0eWMNIlr9XhA75CidQfRreQQaQUOgxDoL3Q9bffBqwNcYaumwCFSv6kGWdVguscIK2AsMOwg3UdppsnJBxQZ4UwDl426EE6RNxxK",
                    "amount": 1140.54,
                    "state": "failed",
                    "comission": 0,
                    "total": 1140.54,
                    "details": {
                        "cardToken": "C3B4F3DE-78DC-4BCA-8DB3-38527538D887",
                        "customerIp": "192.168.65.1"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 20,
                            "pnr": "VMLKFF",
                            "refundable": false,
                            "domestic": false,
                            "duration": "01:05",
                            "yr": 149,
                            "vq": 110.93,
                            "date": "2024-11-10",
                            "origin": "IST",
                            "destination": "ESB",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "ESB",
                                    "date": "2024-11-10",
                                    "airline": "TK",
                                    "cabin": "T",
                                    "price": 871.61,
                                    "tax": 259.93,
                                    "total": 1137.54,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "TK2190",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 1140.54,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Esenboğa Havalimanı",
                                    "airlineName": "Turkish Airlines",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Ankara",
                                    "arrivalTime": "02:05",
                                    "departureTime": "01:00"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 21,
                                    "status": 0,
                                    "pnr": "VMLKFF",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 1134.54,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "67aada92-385a-4c53-980c-d38103457915",
                            "passengerCount": 1,
                            "flightType": "oneway",
                            "grandTotal": 1140.54,
                            "airDuration": "01:05",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": null,
                            "arrivalTime": "02:05",
                            "departureTime": "01:00",
                            "destinationCity": "Ankara",
                            "destinationName": "Esenboğa Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            },
            {
                "id": 14,
                "token": "zBywMKm9bVnN05QrMaHi8eoBCi35Fgghh3OC",
                "summary": 1140.54,
                "total": 1140.54,
                "status": "failed",
                "payment": {
                    "token": "UGd3B581JeJtlyJpE7ZSBHOhlnQZH9ZCxB6e4RLJhaeDNqcMpAsUF2z7ZcERVX1AVOdYMfOOVTtw372Rm74wf0oRA4kYADcQ7WDMbEDDuMLGI9ktDDk69GsQxvah3Ln2",
                    "amount": 1140.54,
                    "state": "failed",
                    "comission": 0,
                    "total": 1140.54,
                    "details": {
                        "cardExpiry": "12/26",
                        "cardHolder": "John Due",
                        "cardNumber": "450803******4509",
                        "customerIp": "192.168.65.1",
                        "cardAssociation": "Visa"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 17,
                            "pnr": "V7MYM7",
                            "refundable": false,
                            "domestic": false,
                            "duration": "01:05",
                            "yr": 149,
                            "vq": 110.93,
                            "date": "2024-11-10",
                            "origin": "IST",
                            "destination": "ESB",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "ESB",
                                    "date": "2024-11-10",
                                    "airline": "TK",
                                    "cabin": "T",
                                    "price": 871.61,
                                    "tax": 259.93,
                                    "total": 1137.54,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "TK2190",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 1140.54,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Esenboğa Havalimanı",
                                    "airlineName": "Turkish Airlines",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Ankara",
                                    "arrivalTime": "02:05",
                                    "departureTime": "01:00"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 16,
                                    "status": 0,
                                    "pnr": "V7MYM7",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 1134.54,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "b54af01b-dc34-4e01-aa3a-856b4a787e92",
                            "passengerCount": 1,
                            "flightType": "oneway",
                            "grandTotal": 1140.54,
                            "airDuration": "01:05",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": null,
                            "arrivalTime": "02:05",
                            "departureTime": "01:00",
                            "destinationCity": "Ankara",
                            "destinationName": "Esenboğa Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            },
            {
                "id": 13,
                "token": "H1Nond6qeXQJhlRJbHBfhnFWytqMmQAcAYBi",
                "summary": 1140.54,
                "total": 1140.54,
                "status": "failed",
                "payment": {
                    "token": "Gxduin3BwuW88maCucfTWNX451LWRRFsrk786Obm3YLNcOlOaZWoThBvQbEWobguuxjC9FOynwKdufFEJALN1SNLTwOPU31yKE5LgVMvh8pDArs0tSgbpEMnLLukqUyP",
                    "amount": 1140.54,
                    "state": "failed",
                    "comission": 0,
                    "total": 1140.54,
                    "details": {
                        "cardExpiry": "12/26",
                        "cardHolder": "John Due",
                        "cardNumber": "557113******5575",
                        "customerIp": "192.168.65.1",
                        "cardAssociation": "Mastercard"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 16,
                            "pnr": "R7QFKG",
                            "refundable": false,
                            "domestic": false,
                            "duration": "01:05",
                            "yr": 149,
                            "vq": 110.93,
                            "date": "2024-11-10",
                            "origin": "IST",
                            "destination": "ESB",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "ESB",
                                    "date": "2024-11-10",
                                    "airline": "TK",
                                    "cabin": "T",
                                    "price": 871.61,
                                    "tax": 259.93,
                                    "total": 1137.54,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "TK2190",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 1140.54,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Esenboğa Havalimanı",
                                    "airlineName": "Turkish Airlines",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Ankara",
                                    "arrivalTime": "02:05",
                                    "departureTime": "01:00"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 15,
                                    "status": 0,
                                    "pnr": "R7QFKG",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 1134.54,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "ec01fcde-a6ca-4f39-95fa-36f1e5455d24",
                            "passengerCount": 1,
                            "flightType": "oneway",
                            "grandTotal": 1140.54,
                            "airDuration": "01:05",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": null,
                            "arrivalTime": "02:05",
                            "departureTime": "01:00",
                            "destinationCity": "Ankara",
                            "destinationName": "Esenboğa Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            },
            {
                "id": 12,
                "token": "kArYJoMAQiHFdAJQX3KWV8XQdvXViTYz3qdW",
                "summary": 1140.54,
                "total": 1140.54,
                "status": "failed",
                "payment": {
                    "token": "YkcEOdjKgwbwS2oT6OqnEtzeMi2r4N3sSOBblXOjR0IAw9yOkSCgtU4l0GfNtQGNwNFLMWWSWKihNhySvmyggoNjzFpQjvFs3NAKe355TyauTLce2Ts60CZziP79inUm",
                    "amount": 1140.54,
                    "state": "new",
                    "comission": 0,
                    "total": 1140.54,
                    "details": {
                        "cardExpiry": "12/26",
                        "cardHolder": "John Due",
                        "cardNumber": "557113******5575",
                        "customerIp": "192.168.65.1",
                        "cardAssociation": "Mastercard"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 15,
                            "pnr": "VMSCBW",
                            "refundable": false,
                            "domestic": false,
                            "duration": "01:05",
                            "yr": 149,
                            "vq": 110.93,
                            "date": "2024-11-10",
                            "origin": "IST",
                            "destination": "ESB",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "ESB",
                                    "date": "2024-11-10",
                                    "airline": "TK",
                                    "cabin": "T",
                                    "price": 871.61,
                                    "tax": 259.93,
                                    "total": 1137.54,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "TK2190",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 1140.54,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Esenboğa Havalimanı",
                                    "airlineName": "Turkish Airlines",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Ankara",
                                    "arrivalTime": "02:05",
                                    "departureTime": "01:00"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 14,
                                    "status": 0,
                                    "pnr": "VMSCBW",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 1134.54,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "f623548c-6135-4c6a-a21e-7e15eb0e0e2c",
                            "passengerCount": 1,
                            "flightType": "oneway",
                            "grandTotal": 1140.54,
                            "airDuration": "01:05",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": null,
                            "arrivalTime": "02:05",
                            "departureTime": "01:00",
                            "destinationCity": "Ankara",
                            "destinationName": "Esenboğa Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            },
            {
                "id": 5,
                "token": "8K5TmT5TEyJamnQscTd9tPCcuom1RagifXtp",
                "summary": 16736.68,
                "total": 16736.68,
                "status": "failed",
                "payment": {
                    "token": "TQTvE0MxoeuEl4jhpV2Ooy0GKqZ5mYuzv4SelsYL1PJaIQLnBvpOyjAfbzkboSZsIncjHLBXotw6ycKNR6BqJeSgWOnZJxJDvHOyLyALPi2o3CnCVPoKcZu7J1syvbwe",
                    "amount": 16736.68,
                    "state": "failed",
                    "comission": 0,
                    "total": 16736.68,
                    "details": {
                        "cardExpiry": "12/26",
                        "cardHolder": "John Due",
                        "cardNumber": "450803******4509",
                        "customerIp": "192.168.65.1",
                        "cardAssociation": "Visa"
                    },
                    "paymentType": "Parolapara POS",
                    "is3d": true,
                    "authMode": "preauth"
                },
                "invoice": {
                    "address": "Test mah",
                    "district": "Cad.",
                    "zipcode": "58060",
                    "city": "İstanbul",
                    "country": "Türkiye",
                    "isCorporate": true,
                    "invoiceName": "Sekiz Kreatif",
                    "taxOffice": "Avcılar",
                    "taxNumber": "7590477978",
                    "invoiceNumber": null
                },
                "items": {
                    "flights": [
                        {
                            "id": 3,
                            "pnr": "L9YAIX",
                            "refundable": false,
                            "domestic": false,
                            "duration": "03:45",
                            "yr": 0,
                            "vq": 0,
                            "date": "2024-10-29",
                            "origin": "IST",
                            "destination": "JFK",
                            "segments": [
                                {
                                    "origin": "IST",
                                    "destination": "CDG",
                                    "date": "2024-10-29",
                                    "airline": "AF",
                                    "cabin": "L",
                                    "price": 685,
                                    "tax": 16024.68,
                                    "total": 16733.68,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "AF1391",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 16736.68,
                                    "originName": "Atatürk Havalimanı",
                                    "destinationName": "Charles De Gaulle Havalimanı",
                                    "airlineName": "Air France",
                                    "originCity": "Istanbul",
                                    "destinationCity": "Paris",
                                    "arrivalTime": "06:55",
                                    "departureTime": "05:10"
                                },
                                {
                                    "origin": "CDG",
                                    "destination": "JFK",
                                    "date": "2024-10-29",
                                    "airline": "AF",
                                    "cabin": "L",
                                    "price": 685,
                                    "tax": 16024.68,
                                    "total": 16733.68,
                                    "margin": 3,
                                    "returnDate": null,
                                    "flightNumber": "AF4",
                                    "cabinClass": "economy",
                                    "currencyCode": "TRY",
                                    "grandTotal": 16736.68,
                                    "originName": "Charles De Gaulle Havalimanı",
                                    "destinationName": "John F. Kennedy Uluslararası Havalimanı",
                                    "airlineName": "Air France",
                                    "originCity": "Paris",
                                    "destinationCity": "New York",
                                    "arrivalTime": "14:00",
                                    "departureTime": "10:30"
                                }
                            ],
                            "passengers": [
                                {
                                    "id": 4,
                                    "status": 0,
                                    "pnr": "L9YAIX",
                                    "gender": "M",
                                    "birthdate": "1989-04-20",
                                    "email": "JOHNDUE@EXAMPLE.COM",
                                    "identity": "49852133948",
                                    "nationality": "TR",
                                    "phone": "+905322808035",
                                    "total": 16721.68,
                                    "sequenceNo": 1,
                                    "ticketNumber": null,
                                    "firstName": "MEHMET",
                                    "lastName": "GULBILGE",
                                    "isLocalCitizen": true,
                                    "passportCountry": null,
                                    "passportNo": null,
                                    "passportValidDate": null,
                                    "paxCode": "ADT",
                                    "priceHandLuggage": 0,
                                    "priceBaggage": 0
                                }
                            ],
                            "sequenceNo": 0,
                            "flightId": "f4f12ae2-ca80-4957-9592-6bbe56cfd880",
                            "passengerCount": 1,
                            "flightType": "roundtrip",
                            "grandTotal": 16736.68,
                            "airDuration": "12:15",
                            "originCity": "Istanbul",
                            "originName": "Atatürk Havalimanı",
                            "returnDate": "2024-10-29",
                            "arrivalTime": "06:55",
                            "departureTime": "05:10",
                            "destinationCity": "New York",
                            "destinationName": "John F. Kennedy Uluslararası Havalimanı"
                        }
                    ],
                    "buses": []
                },
                "currencyCode": "TRY",
                "paymentCost": 0,
                "statusName": "Başarısız"
            }
        ],
        "from": 1,
        "links": [
            {
                "url": null,
                "label": "pagination.previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "/",
        "to": 6,
        "total": 6,
        "filters": [
            {
                "name": "Seyehat Türü",
                "alias": "type",
                "type": "option",
                "attributes": []
            },
            {
                "name": "Durum",
                "alias": "status",
                "type": "option",
                "attributes": [
                    {
                        "name": "Aktif",
                        "alias": "aktif",
                        "value": "active",
                        "isSelected": false
                    },
                    {
                        "name": "Geçmiş",
                        "alias": "gecmis",
                        "value": "expired",
                        "isSelected": false
                    },
                    {
                        "name": "İptal Edilen",
                        "alias": "iptal-edilen",
                        "value": "cancelled",
                        "isSelected": false
                    }
                ]
            },
            {
                "name": "Tarih Aralığı",
                "alias": "date",
                "type": "time_range",
                "attributes": []
            }
        ],
        "sortOptions": [
            {
                "name": "Tarihe Göre",
                "description": "(Eskiden, Yeniye)",
                "field": "created_at",
                "type": "asc"
            },
            {
                "name": "Tarihe Göre",
                "description": "(Yeniden, Eskiye)",
                "field": "created_at",
                "type": "desc"
            }
        ],
        "currentPage": 1,
        "firstPageUrl": "/?page=1",
        "lastPage": 1,
        "lastPageUrl": "/?page=1",
        "nextPageUrl": null,
        "perPage": 30,
        "prevPageUrl": null
    },
    "success": true,
    "code": 0,
    "message": ""
}
Modified at 2024-10-31 03:02:36
Previous
Card Payment - Check Status
Next
Get Order
Built with