# 3D Secure Payment Initialization

## 1.2 3D Secure Payment Initialization

Initiates a 3d secure card payment transaction.

**Request**

| Method | URL                                |
| ------ | ---------------------------------- |
| POST   | /payment/v1/card-payments/3ds-init |

```
{
  "additionalParams": "",
  "bankOrderId": "111222333",
  "buyerMemberId": 85,
  "callbackUrl": "http://example.com/callback",
  "card": {
    "cardAlias": "Jane Doe",
    "cardHolderName": "Jane Doe",
    "cardNumber": "5406675406675403",
    "cardToken": "",
    "cardUserKey": "",
    "cvc": "000",
    "expireMonth": "12",
    "expireYear": "2026",
    "storeCardAfterSuccessPayment": true
  },
  "clientIp": "192.168.1.1",
  "currency": "TRY",
  "fraudParams": {
    "buyerEmail": "alimehmet@gmail.com",
    "buyerExternalId": "85",
    "buyerPhoneNumber": "05079999999"
  },
  "installment": 1,
  "items": [
    {
      "externalId": "item123",
      "name": "Item1",
      "price": 55.0
    }
  ],
  "paidPrice": 55.0,
  "paymentChannel": "Online",
  "paymentGroup": "PRODUCT",
  "paymentPhase": "AUTH",
  "posAlias": "pos1",
  "price": 100.0,
  "recurring": false,
  "retry": false,
  "walletPrice": 55.0
}
```

**Response**

| Status | Response                                                                                                      |
| ------ | ------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"htmlContent": "\<html>3D Secure Payment HTML Content\</html>"</p><p>}</p><p>}</p> |
| 403    |                                                                                                               |
| 400    |                                                                                                               |
| 400    |                                                                                                               |
| 401    |                                                                                                               |
| 401    |                                                                                                               |
| 500    |                                                                                                               |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.1-create-card-payment)
