- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Search
- Domestic
- International
- One Way / 1 ADT
- Round Trip / 1 ADT
- Round Trip / 2 ADT
- Search Flight - FilterPOST
- Price Alerts
- Load Journey (dev only)GET
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Payment Types
GET
https://test-api.ucuzyolu.com/flight/paymenttypes
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
journeyId
string
required
Example
{
"journeyId": "string"
}
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 GET 'https://test-api.ucuzyolu.com/flight/paymenttypes' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
data
array [object {5}]
required
id
integer
required
name
string
required
type
string
required
alias
string
required
hasGateway
boolean
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 8,
"name": "Cari Hesap",
"type": "other",
"alias": "account",
"hasGateway": false
}
],
"success": true,
"code": 0,
"message": ""
}
🟢200Success (Non-async)
Modified at 2024-11-28 01:29:13