Minted Connect
  1. Delivery
Minted Connect
Partner
  • Partner
  • E-Commerce API
  • Genel Bakış
    • Genel Bakış
    • Partner cüzdan entegrasyonu
  • Buy
    • Customer - B2B2C
      • From Amount
        • Price Fix (Get Prices)
        • Calculate Price
        • Buy (Gold)
        • Buy (Silver)
        • Buy (Platinum)
      • From Total Price
        • Price Fix (Get Prices)
        • Buy (Gold)
        • Buy (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Buy (Gold)
      • Buy (Silver)
    • Card Payment
      • Payment Get All Types
      • Card Payment Bin Query (Installments/Comissions)
      • Card Payment Price Fix (Get Prices)
      • Card Payment Buy (with card number)
      • Card Payment Buy (with card token)
      • Card Payment Get Order
  • Sell
    • Customer - B2B2C
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
  • Customers
    • Create Customer
      POST
    • Create Business Customer
      POST
    • Update Customer
      PATCH
    • Remove Customer Id
      DELETE
    • Get Customer
      GET
    • Customer Wallet Kyc - Get
      GET
    • Customer Wallet Kyc - Upsert
      POST
    • Customer Wallet Kyc - Bulk Upsert
      POST
  • Balances
    • Partner Balance
      GET
    • Customer Balance
      GET
    • Update Customer Cash Balance
      PATCH
    • Stats
      POST
    • Customer Balance 7d Stats
      GET
  • Card Storage
    • Card Storage List
    • Card Storage Add
    • Card Storage Delete
  • Delivery
    • Delivery - List Wallets
      POST
    • Delivery - Calculate
      POST
    • Delivery - Create (Pay With Cash)
      POST
    • Delivery - Create (Pay With Card Payment)
      POST
  • Product Prices
    GET
  • Get Orders
    GET
  • Get Order
    GET
  • Get Order (Alternative)
    POST
  • Partner Legal
    POST
  • Order Statusses
    GET
  1. Delivery

Delivery - Create (Pay With Card Payment)

Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/delivery/create
Last modified:2024-07-18 15:22:08
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
x-client-id
string 
required
Default value: web
Default:
web
api-version
string 
optional
Latest version: 3
Default:
3
Accept-Language
string 
optional
Default:
tr
Body Params application/json
customer
object 
required
external_id
string 
required
firstname
string 
required
lastname
string 
required
phone
string 
required
email
string 
required
external_id
string 
required
sku
string 
required
amount
integer 
required
payment_type
string 
required
payment
object 
required
card_holder
string 
required
card_expiry
string 
required
card_cvv
string 
required
customer_ip
string 
required
force_3d
boolean 
required
card_number
string 
required
redirect_url
string 
required
address
object (Order Address) 
required
billing
object (Billing Address) 
required
shipping
object (Shipping Address) 
required
Example
{
    "customer": {
        "external_id": "{{customer_external_id}}",
        "firstname": "John",
        "lastname": "Due",
        "phone": "+905180001923",
        "email": "[email protected]"
    },
    "external_id": "{% faker datatype.uuid %}",
    "sku": "GAU",
    "amount": 1,
    "payment_type": "credit-card",
    "payment": {
        "card_holder": "John Due",
        "card_expiry": "05/28",
        "card_cvv": "000",
        "customer_ip": "88.241.50.85",
        "force_3d": true,
        "card_number": "4048095010857528",
        "redirect_url": "http://localhost/callback"
    },
    "address": {
        "billing": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "invoice_type": "Individual",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        },
        "shipping": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        }
    }
}

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/delivery/create' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer": {
        "external_id": "",
        "firstname": "John",
        "lastname": "Due",
        "phone": "+905180001923",
        "email": "[email protected]"
    },
    "external_id": "{% faker datatype.uuid %}",
    "sku": "GAU",
    "amount": 1,
    "payment_type": "credit-card",
    "payment": {
        "card_holder": "John Due",
        "card_expiry": "05/28",
        "card_cvv": "000",
        "customer_ip": "88.241.50.85",
        "force_3d": true,
        "card_number": "4048095010857528",
        "redirect_url": "http://localhost/callback"
    },
    "address": {
        "billing": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "invoice_type": "Individual",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        },
        "shipping": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        }
    }
}'

Responses

🟢200OK
application/json
Body
data
object 
required
total
number 
required
items
array [object {2}] 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "id": 1094,
        "guid": "D9261855-4120-4F60-8102-BE8E9AC7F0C4",
        "order_code": "VLYMUJWG",
        "external_id": "d0d04ffd-3e81-4df2-86d9-ccf78928524e",
        "channel": "web",
        "tx_type": "delivery",
        "price_token": null,
        "price": 70.01,
        "tax": 0,
        "total": 70.01,
        "currency_rate": 1,
        "currency_total": 70.01,
        "status_id": 1,
        "status_name": "Created",
        "order_at": "2023-12-11T12:24:05+03:00",
        "items": [
            {
                "item_currency_id": 1000004,
                "item_currency_name": "Gold",
                "product_id": 3000001,
                "product_name": "Gold - Digital storage",
                "product_weight": 1,
                "spot_price": 0,
                "price": 0,
                "tax_rate": 0,
                "tax": 0,
                "amount": 3,
                "total": 70.01,
                "currency_id": 1000003,
                "currency_rate": 1,
                "currency_total": 70.01
            }
        ],
        "customer": {
            "external_id": "1710174559",
            "firstname": "Enver Engin",
            "middlename": null,
            "lastname": "Bütün",
            "fullname": "Enver Engin Bütün",
            "email": "[email protected]",
            "phone": "+902123001203",
            "gender": "M",
            "identity_number": "21169718780",
            "birthdate": "1985-08-02"
        },
        "payment": {
            "redirect_url": "http://mintedconnect.local/pay/5QIM3D4yq1W2URxoVKrWjNlEj8DjcPFKEoH8blgK2pQKMqyaZEunEZACmadgzJH8RF2ii3ROU5BIRHTTM0vXMOP4gFWjXFsEwP8ZG4IOYy31WwdMDugAgE4EhCW3ejaD/redirect",
            "token": "dw1rBOKTIjuRwYtRoTEeJUuj7Wh1SshjdBDzYvQgGhuA96zFzt9WWVMzo6QBLx2axjIjX092kHFaNbHFWxIVR61gMDr9bk7HbadtdIDMEUHO7S3DFv03EIbUgFSQ1Xhi",
            "is_3d": true,
            "auth_mode": "auth",
            "amount": 70.01,
            "state": "new",
            "comission": 2.02,
            "total": 72.03,
            "details": []
        }
    },
    "success": true,
    "code": 0,
    "message": ""
}
Previous
Delivery - Create (Pay With Cash)
Next
Product Prices
Built with