Minted Connect
  1. Card Storage
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
      POST
    • Card Storage Add
      POST
    • Card Storage Delete
      DELETE
  • Delivery
    • Delivery - List Wallets
    • Delivery - Calculate
    • Delivery - Create (Pay With Cash)
    • Delivery - Create (Pay With Card Payment)
  • Product Prices
    GET
  • Get Orders
    GET
  • Get Order
    GET
  • Get Order (Alternative)
    POST
  • Partner Legal
    POST
  • Order Statusses
    GET
  1. Card Storage

Card Storage Add

Developing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/cards/add
Last modified:2023-10-12 04:25:43
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
card_holder
string 
required
card_number
string 
required
card_expiry
string 
required
card_cvv
string 
required
customer_ip
string 
required
external_customer_id
string 
required
Example
{
    "card_holder": "John Due",
    "card_number": "4048095010857528",
    "card_expiry": "05/28",
    "card_cvv": "000",
    "customer_ip": "127.0.0.1",
    "external_customer_id": "{{external_customer_id}}"
}

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/cards/add' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
    "card_holder": "John Due",
    "card_number": "4048095010857528",
    "card_expiry": "05/28",
    "card_cvv": "000",
    "customer_ip": "127.0.0.1",
    "external_customer_id": "MTD0018232"
}'

Responses

🟢200OK
application/json
Body
data
object 
required
redirect_url
string 
required
card_number
string 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "redirect_url": "http://localhost/pay/cards/wZbrciKxYA1ckJdLMS00OvmmamPo86YD/redirect",
        "card_number": "404809******7528"
    },
    "success": true,
    "code": 2,
    "message": ""
}
Previous
Card Storage List
Next
Card Storage Delete
Built with