- 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
Card Payment - Bin Query
Developing
POST
https://test-api.ucuzyolu.com/pay/card/query
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
bin
string
required
journeyId
string
required
Example
{
"bin": "52845660",
"journeyId": "{{journeyId}}"
}
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/pay/card/query' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"bin": "52845660",
"journeyId": ""
}'
Responses
🟢200OK
application/json
Body
data
array [object {12}]
required
installment
string
optional
bin
string
optional
amount
number
optional
margin
integer
optional
comission
integer
optional
total
number
optional
realInstallment
integer
optional
amountPerInstallment
number
optional
bankName
null
optional
cardLogo
null
optional
cardAssocation
null
optional
cardFamily
null
optional
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"installment": "direct_rate_others",
"bin": "52845660",
"amount": 1142.78,
"margin": 0,
"comission": 0,
"total": 1142.78,
"realInstallment": 1,
"amountPerInstallment": 1142.78,
"bankName": null,
"cardLogo": null,
"cardAssocation": null,
"cardFamily": null
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-10-07 18:42:35