# IBAN Validation

> **You are on:** `https://beta-api.paywithlocus.com/api` | [llms.txt](https://beta.paywithlocus.com/llms.txt)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API |
> |---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com |
> | Beta | beta.paywithlocus.com | beta-api.paywithlocus.com |
> | Stage | stage.paywithlocus.com | stage-api.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Validate International Bank Account Numbers (IBANs).

**Category:** Finance | **Website:** [www.abstractapi.com/api/iban-validation-api](https://www.abstractapi.com/api/iban-validation-api) | **Docs:** [docs.abstractapi.com/iban-validation](https://docs.abstractapi.com/iban-validation)

## Access Methods

| Method | Base URL | Auth |
|--------|----------|------|
| **MPP (Tempo)** | `https://abstract-iban-validation.mpp.paywithlocus.com/abstract-iban-validation/` | HTTP 402 auto-payment |
| **Wrapped API** | `https://beta-api.paywithlocus.com/api/wrapped/abstract-iban-validation/` | `Authorization: Bearer <LOCUS_API_KEY>` |

**OpenAPI discovery:** `GET https://abstract-iban-validation.mpp.paywithlocus.com/openapi.json`

## Endpoints

### Validate

Validate an IBAN and get associated bank details.

**Estimated cost:** $0.006

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `iban` | string | Yes | IBAN to validate |

```bash
curl -X POST https://abstract-iban-validation.mpp.paywithlocus.com/abstract-iban-validation/validate \
  -H "Content-Type: application/json" \
  -d '{"iban":"<string>"}'
```
