- 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
- Pay with Account Balance (For Corporate Customers)
- Credit Card Storage
- Pay with Credit Card (New Card)
- Pay with Credit Card (Saved Card)
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Saved Cards - List
Developing
GET
https://test-api.ucuzyolu.com/cards
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/cards' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array [object {8}]
required
id
integer
optional
active
boolean
optional
cardHolder
string
optional
cardAssociation
string
optional
cardFamily
null
optional
cardToken
string
optional
cardExpiry
string
optional
cardMask
string
optional
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 1,
"active": true,
"cardHolder": "John Due",
"cardAssociation": "Visa",
"cardFamily": null,
"cardToken": "EA09910E-F983-456C-9D1D-FDB732CD244D",
"cardExpiry": "05/28",
"cardMask": "404809******7528"
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-10-07 07:25:21