> 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/installments/installment-query.md).

# Installment Query

## 4.2 Installment Query

Return the installments

**Request**

| Method                                     | URL          |
| ------------------------------------------ | ------------ |
| GET                                        | PlJHd9ayOzQn |
| /installment/v1/installments/{bin\_number} |              |

| /installment/v1/installments/{bin\_number} |
| ------------------------------------------ |

**Query Params**

bin\_number (Required): Bin number the filter the installments

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                      |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"id": 1,</p><p>"binNumber": "123456",</p><p>"price": 100.0,</p><p>"cardType": "Credit",</p><p>"cardAssociation": "Visa",</p><p>"cardBrand": "Visa Gold",</p><p>"bankName": "Example Bank",</p><p>"bankCode": "123",</p><p>"force3ds": true,</p><p>"cvcRequired": true,</p><p>"commercial": true,</p><p>"merchantId": 1</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                               |
| 400    |                                                                                                                                                                                                                                                                                                                                               |
| 404    | <p>{</p><p>"error": "Installment not found"</p><p>}</p>                                                                                                                                                                                                                                                                                       |
| 401    |                                                                                                                                                                                                                                                                                                                                               |
| 500    |                                                                                                                                                                                                                                                                                                                                               |

<br>
