# POST /new_address
**Create or Get Payment Address**

Generates a new payment address to receive payment on your store.

Authentication: Bearer token required (Authorization: Bearer YOUR_API_KEY)

## Query Parameters
- `match_callback` — string (optional): String to match part of your store's callback URL. Used to identify the correct store when you have multiple. Partial matches are supported — you don’t need to provide the full callback URL.
- `crypto` — string, enum("BTC", "USDT"), default: "BTC" (optional): Cryptocurrency to use. When USDT, the same address is always returned.
- `reset` — integer, enum(0, 1), default: 0 (optional): Controls address generation for BTC. `0` (default) = new address, `1` = reuse last address. Ignored for USDT.

## Responses
- 200: Payment address generated successfully.
  - `address` (string): Generated payment address.
  - `crypto` (string): The cryptocurrency used for the address (BTC or USDT).
  - `reset` (integer): Indicates if the address index was reset (0 = new address, 1 = reuse last address).
  - `account` (string): The source xPub or wallet identifier.
- 400: Bad request
  - `error` (string): Error message describing what went wrong.
- 409: Conflict – Required wallet not attached to store
  - `status` (integer): HTTP status code
  - `error` (object)
- 422: Unsupported Cryptocurrency
  - `status` (integer): HTTP status code
  - `error` (object)

Full reference: https://developers.blockonomics.co/docs/merchants/post_new-address