> For the complete documentation index, see [llms.txt](https://magicpay.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://magicpay.gitbook.io/magicpay-documentation/payments-and-wallet/query-payment.md).

# Query Payment

## 1.4 Query Payment

Retrieves details of a specific payment.

**Request**

| Method | URL                            |
| ------ | ------------------------------ |
| GET    | /payment/v1/card-payments/{id} |

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | <p>{</p><p>"data": {</p><p>"price": 333.0,</p><p>"payment\_channel": "PAY\_WITH\_3D",</p><p>"items": \[],</p><p>"card\_user\_key": null,</p><p>"masterpass\_gsm\_number": null,</p><p>"recurring": null,</p><p>"paid\_price": 333.0,</p><p>"callback\_url": "<https://sandbox.magicpay.ai/success>",</p><p>"additional\_params": null,</p><p>"enable\_installments": null,</p><p>"masterpass\_user\_id": null,</p><p>"createdDate": "2023-12-15T10:38:51.862163",</p><p>"wallet\_price": 0,</p><p>"bank\_order\_id": "1086",</p><p>"fraud\_params": null,</p><p>"allow\_only\_credit\_card": false,</p><p>"apm\_user\_identity": null,</p><p>"deletedDate": null,</p><p>"installment": 1,</p><p>"client\_ip": "2241219f1ff21ea2",</p><p>"is\_three\_ds": true,</p><p>"allow\_only\_stored\_cards": false,</p><p>"enabled\_payment\_methods": null,</p><p>"updatedDate": "2023-12-18 11:24:17.004334+00",</p><p>"buyer\_member\_id": 16,</p><p>"card": {</p><p>"cardType": null,</p><p>"cardAssociation": "",</p><p>"cardBrand": "",</p><p>"cardHolderName": "Test karti",</p><p>"bankCardHolderName": "",</p><p>"cardIssuerBankName": ""</p><p>},</p><p>"payment\_source": "PAY\_WITH\_3D",</p><p>"always\_store\_card\_after\_payment": false,</p><p>"to\_wallet": true,</p><p>"conversation\_id": null,</p><p>"currency": "TRY",</p><p>"pos\_alias": "sipay",</p><p>"payment\_status": "WAITING",</p><p>"allow\_installment\_only\_commercial\_cards": false,</p><p>"refundable\_price": 333.0,</p><p>"id": 1086,</p><p>"payment\_group": "",</p><p>"retry": false,</p><p>"merchant\_id": 1,</p><p>"force\_auth\_only\_non\_credit\_cards": false,</p><p>"refund\_status": "NOT\_REFUNDED",</p><p>"external\_id": null,</p><p>"payment\_phase": "AUTH",</p><p>"force\_3ds": null,</p><p>"ttl": null,</p><p>"mobile\_link": false</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

<br>
