# 1.3 3D Secure Payment Completion

**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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.3-3d-secure-payment-completion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
