- Genel Bakış
- Buy
- Customer - B2B2C
- Partner - B2B
- Card Payment
- Sell
- Customer - B2B2C
- Partner - B2B
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
Get Order
Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
GET
https://api.staging.mintedconnect.com
Last modified:2024-06-26 11:31:57
Maintainer:Not configured
Request
Authorization
Provide your encrypted digest scheme data in the
Authorization
header when making requests to protected resources.Example:
Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
Header Params
api-version
string
optional
Example:
2
x-client-id
string
required
Default:
web
Accept-Language
string
optional
Default:
tr
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 -g --request GET 'https://api.staging.mintedconnect.com/partner/order/' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr'
Responses
🟢200OK
application/json
Body
data
object (Order Schema)
required
guid
string
required
order_code
string
required
external_id
string | null
required
type
enum<string>
required
Allowed values:
BuySellDelivery
price
number
optional
tax
number
optional
total
number
optional
payment_cost
number | null
optional
currency_code
string
required
status_name
enum<string>
optional
Allowed values:
CreatedPendingProcessingCancelledCompletedPreparingPackedShippedTransferringRefundingRefundedPayment Confirmed
items
array[object (Order Item Schema) {9}]
required
customer
optional
payment_type
enum<string>
optional
Allowed values:
cashcredit-card
payment
optional
delivery
object (Order Item Delivery)
optional
address
object (Order Address)
optional
description
string | null
optional
Examples:
1gr - #GAU1000gr - #GAG
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"guid": "F6F6AFA5-8CAF-4582-AC47-12699E6D9C81",
"order_code": "FE9HURU6",
"external_id": "HYAQA01373",
"channel": "partner",
"tx_type": "oneoffpurchase",
"price_token": null,
"price": 543.5,
"tax": 0,
"total": 543.5,
"currency_rate": null,
"currency_total": 0,
"status_id": 1,
"status_name": "New",
"items": [
{
"product_id": 3000001,
"product_name": "Gold - Digital storage",
"product_weight": 1,
"spot_price": 49.41,
"price": 54.35,
"tax_rate": 0,
"tax": 0,
"amount": 10,
"total": 543.5,
"currency_id": null,
"currency_rate": null,
"currency_total": 0
}
],
"customer": {
"external_id": "MTD0018232",
"firstname": "Mehmet",
"middlename": "",
"lastname": "Gülbilge",
"fullname": "Mehmet Gülbilge",
"email": "[email protected]",
"phone": "+905322808035",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
}
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-06-26 11:31:57