- Partner
- Genel Bakış
- Buy
- Sell
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
- E-Commerce API
- Catalog
- Customers
- Customer Address
- Checkout
- Legal
- WS
- Minted PricesGET
Card Storage Add
Developing
Testing Env
Testing Env
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:
web
api-version
string
optional
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": ""
}
Modified at 2023-10-12 04:25:43