- 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
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Currencies
Developing
GET
https://test-api.ucuzyolu.com/currencies
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
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/currencies' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array [object {14}]
required
id
integer
required
name
string
required
code
string
required
symbol
string
required
precision
integer
required
buy
integer
optional
sell
integer
optional
order
integer
required
active
boolean
required
symbolPosition
enum<string>
required
Allowed values:
prefixsuffix
buyRate
integer
required
sellRate
integer
required
isDefault
boolean
required
updatedAt
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 1,
"name": "Türk Lirası",
"code": "TRY",
"symbol": "₺",
"precision": 0,
"buy": 1,
"sell": 1,
"order": 1,
"active": true,
"symbolPosition": "prefix",
"buyRate": 1,
"sellRate": 1,
"isDefault": true,
"updatedAt": "2024-09-16T06:24:47+03:00"
},
{
"id": 2,
"name": "Amerikan Doları",
"code": "USD",
"symbol": "$",
"precision": 0,
"buy": 1,
"sell": 1,
"order": 1,
"active": true,
"symbolPosition": "prefix",
"buyRate": 1,
"sellRate": 1,
"isDefault": false,
"updatedAt": "2024-09-16T06:24:47+03:00"
},
{
"id": 3,
"name": "Euro",
"code": "EUR",
"symbol": "€",
"precision": 0,
"buy": 1,
"sell": 1,
"order": 1,
"active": true,
"symbolPosition": "prefix",
"buyRate": 1,
"sellRate": 1,
"isDefault": false,
"updatedAt": "2024-09-16T06:24:47+03:00"
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-09-20 13:16:10