- 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 (Alternative)
Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
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
Body Params application/json
guid
string
optional
order_code
string
optional
external_id
string
optional
push_hook
boolean
optional
Example
{
"guid": "2B555C6D-E551-4BD0-8912-B72A77E53723",
"push_hook": true
}
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://api.staging.mintedconnect.com/partner/order' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"guid": "2B555C6D-E551-4BD0-8912-B72A77E53723",
"push_hook": true
}'
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": "896AE1AC-E26F-4291-80B2-BF80DE0A920A",
"order_code": "ALS8HEVP",
"external_id": "1699255128879-05ee3052-47fe-4747-adff-2cde45d8d9ec",
"type": "Buy",
"price": 188.97,
"tax": 0,
"total": 188.97,
"status_name": "Completed",
"payment_type": "cash",
"order_at": "06-11-2023 07:18",
"payment_cost": 0,
"currency_code": "TRY",
"customer": {
"external_id": "92440753",
"firstname": "Soner",
"middlename": null,
"lastname": "Kaya",
"fullname": "Soner Kaya",
"email": "[email protected]",
"phone": "+905321111111",
"gender": "M",
"identity_number": "46714948610",
"birthdate": "1990-05-01"
},
"payment": null,
"items": [
{
"product_id": 3000001,
"sku": "GAU",
"product_name": "Gold - Digital storage",
"spot_price": 1813.02,
"price": 1889.73,
"tax_rate": 0,
"tax": 0,
"amount": 0.1,
"total": 188.97
}
]
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-06-26 11:31:57