> For the complete documentation index, see [llms.txt](https://hilals-organization.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.3-3d-secure-payment-completion.md).

# 1.3 3D Secure Payment Completion

Completes a 3d secure card payment transaction.

**Request**

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

\
**Request Data**

```
 {
  "paymentId": 123
 }
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p><br></p><p>{</p><p>        "data": {</p><p>            "createdDate": "2024-01-17T12:34:56",</p><p>            "price": 50.0,</p><p>            "paidPrice": 50.0,</p><p>            "walletPrice": 0.0,</p><p>            "currency": "USD",</p><p>            "buyerMemberId": "buyer123",</p><p>            "installment": 1,</p><p>            "conversationId": "123456",</p><p>            "externalId": "ext123",</p><p>            "paymentType": "CARD\_PAYMENT",</p><p>            "paymentGroup": "GROUP1",</p><p>            "paymentSource": "WEB",</p><p>            "paymentStatus": "SUCCESS",</p><p>            "paymentPhase": "PHASE1",</p><p>            "paymentChannel": "WEB",</p><p>            "isThreeDS": true,</p><p>            "merchantCommissionRate": 0.03,</p><p>            "merchantCommissionRateAmount": 1.5,</p><p>            "bankCommissionRate": 0.02,</p><p>            "bankCommissionRateAmount": 1.0,</p><p>            "cardType": "VISA",</p><p>            "cardAssociation": "Visa Inc.",</p><p>            "cardBrand": "Visa",</p><p>            "requestedPosAlias": "pos123",</p><p>            "pos": "Your POS information here",</p><p>            "loyalty": {},</p><p>            "fraudId": "fraud123",</p><p>            "fraudAction": "BLOCK",</p><p>            "paymentTransactions": \[]</p><p>        }</p><p>    }</p><p><br><br><br></p> |
| 403    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 400    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 400    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 500    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
