# IBAN Validator

Structure and check digits for any country's IBAN — ISO 7064 arithmetic, no bank lookup needed.

- Method: `GET`
- Path: `/v1/payments/iban`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `iban` | string | required | The IBAN, spaced or not. |

**Example request**

```bash
curl https://api.diraz.ae/v1/payments/iban \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "iban": "AE070331234567890123456",
    "valid": true,
    "country": "AE",
    "bban": "0331234567890123456",
    "check_digits": "07",
    "errors": [],
    "formatted": "AE07 0331 2345 6789 0123 456"
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ"
  }
}
```