---
title: "Validate address"
method: PUT
path: "/api/v1/pay/validate"
tags: ["Crypto Payments"]
---

# Validate address

`PUT /api/v1/pay/validate`

## Request

- Base URL: `https://api.sandbox.bvnk.com`
- URL: `https://api.sandbox.bvnk.com/api/v1/pay/validate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/docs/api/v1/pay/validate/put.ts> (a function with typed inputs; its response is checked against the schema)

Validates that a crypto address is correct.

Use this endpoint to validate that an address exists, is correctly formatted, and includes all the required data. This endpoint can help prevent your end users losing funds when submitting a payout.

## Request body

- PayOutDetailDto: Crypto destination details: the gateway code, currency, address, and network, plus a tag where the currency requires one.
  - `code` string, required: Gateway to be used. Currently, only 'crypto' is supported.
  - `currency` string, required: Currency code, in which the payout needs to be made.
  - `address` string, required: Address to which funds will be withdrawn. BVNK strictly enforces the [EIP-55](https://www.binance.com/en/square/post/8436113423258) checksum standard for mixed-case Ethereum addresses in Ethereum Virtual Machine (EVM) networks. If the casing doesn't exactly match the checksum, the address is considered invalid. Make sure that the `0x` prefix is lowercase and use one of the following formats: - All uppercase: `0xCCC2D224ADDEC8AA7A54BB22C7D4AC2D8ACA91BE` - All lowercase: `0xccc2d224addec8aa7a54bb22c7d4ac2d8aca91be`
  - `tag` string: Tag of the payment destination. This field must not be empty when the `paidCurrency` currency value is `XRP`.
  - `network` string, required: Network of the cryptocurrency. We recommend using the `network` parameter instead of `protocol`. For the complete list of available networks, see [Currencies](https://docs.bvnk.com/bvnk/references/currencies/).
  - `protocol` string: Only used for multiple protocol currencies, like USDT. Will only generate address matching the protocol and no alternatives. **Deprecated**. Use `network` instead.

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `500`: Unexpected Error

---

[API](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints.md) - [All operations](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/bvnk/apis/bvnk-api-endpoints/revisions/c386d436bf2c?raw)
