> 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.8-make-deposit.md).

# 1.8 Make Deposit

Makes deposit on the given wallet using 2D payment.

**Request**

| Method | URL                  |
| ------ | -------------------- |
| POST   | /payment/v1/deposits |

```
{
    "buyerMemberId": 12,
    "price": 100,
    "currency": "USD",
    "paymentType": "CARD",
    "conversationId": "deneme123",
    "card": {
        "cardAlias": "MyCard",
        "cardHolderName": "John Doe",
        "cardNumber": "4022780520669303",
        "expireYear": "50",
        "expireMonth": "01",
        "cvc": "988",
        "storeCardAfterSuccessPayment": false,
        "cardUserKey": "userkey123",
        "cardToken": "cardtoken123",
        "loyalty": null
    },
    "posAlias": "pos123",
    "cvv": "123",
    "clientIp": "192.168.1.1"
}

```

```
{
    "buyerMemberId": 12,
    "price": 100,
    "currency": "USD",
    "paymentType": "CARD",
    "conversationId": "deneme123",
    "card": {
        "cardAlias": "MyCard",
        "cardHolderName": "John Doe",
        "cardNumber": "4022780520669303",
        "expireYear": "50",
        "expireMonth": "01",
        "cvc": "988",
        "storeCardAfterSuccessPayment": false,
        "cardUserKey": "userkey123",
        "cardToken": "cardtoken123",
        "loyalty": null
    },
    "posAlias": "pos123",
    "cvv": "123",
    "clientIp": "192.168.1.1"
}

```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p><br></p><p>{</p><p>  "data": {</p><p>    "id": 1,</p><p>    "createdDate": "2024-01-17T12:34:56",</p><p>    "price": 50,</p><p>    "currency": "USD",</p><p>    "buyerMemberId": 123,</p><p>    "conversationId": "abc123",</p><p>    "paymentType": "CARD",</p><p>    "paymentStatus": "SUCCESS",</p><p>    "authCode": "123456",</p><p>    "hostReference": "123456",</p><p>    "transId": 789,</p><p>    "orderId": "order123",</p><p>    "walletTransaction": {</p><p>      "id": 456,</p><p>      "walletTransactionType": "DEPOSIT",</p><p>      "amount": 50,</p><p>      "walletId": 1</p><p>    }</p><p>  }</p><p>}</p><p><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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
