---
title: "POST /payment/static-address"
method: POST
path: "/payment/static-address"
tags: ["Static-address"]
---

# POST /payment/static-address

`POST /payment/static-address`

## Headers

- `merchant_api_key` string, required
- `Content-Type` string, required

## Request body

- object
  - `network` string, required — The blockchain network on which the static address should be created.
  - `to_currency` string — The currency symbol of the cryptocurrency you want to convert to.
  - `auto_withdrawal` number — 1 indicates that the received currency will be sent to the address specified in your Address List on the Settings page and 0 indicates that the amount will be credited to your OxaPay balance.
  - `callback_url` string — The URL where payment information will be sent. Use this to receive notifications about payments made to the static address.
  - `email` string, email — Provide the payer's email address for reporting purposes.
  - `order_id` string — Specify a unique order ID for reference in your system.
  - `description` string — Provide order details or any additional information that will be shown in different reports.

## Response `200`

Successful operation

- object
  - `data` object
    - `track_id` string — Unique identifier for each payment session in the OxaPay payment gateway. It can be used to query the payment status and generate reports.
    - `network` string — The blockchain network where the cryptocurrency payment is expected to be received (e.g., 'Bitcoin Network').
    - `address` string — The generated cryptocurrency address where the payer should send the payment.
    - `memo` string — Additional memo, tag, or destination note required for some blockchain networks. Empty if not required.
    - `qr_code` string — URL to a QR code image containing the cryptocurrency address and payment amount for easier transactions.
    - `date` integer — Timestamp (UNIX epoch) indicating when the static payment address was created.
  - `message` string — A message containing additional information about the result of the request.
  - `error` object, nullable — An object that provides details about any errors that occurred.
    - `type` string — Type of the error
    - `key` string — Key related to the error
    - `message` string — Error message
  - `status` integer — The status of the request response. Typically provided as a numeric code (e.g., 200 for success or other codes for errors).
  - `version` string — The version of the API being used.

## Other responses

- `400` — Bad request

---

[API](https://skmtc.dev/oxapay/apis/payments.md) · [All operations](https://skmtc.dev/oxapay/apis/payments/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oxapay/payments/revisions/19b6abc20c8d/schema)
