OxaPay icon

OxaPay

OxaPay Crypto Payment gateway

Payment → Generate Static Address

AI-generated

Summary

Generate a static cryptocurrency payment address on a specified blockchain network that can receive payments. Allows optional settings such as auto withdrawal, currency conversion, callback URL for payment notifications, order ID, payer email, and description for reporting purposes.

Inputs

  • Network (required) — The blockchain network on which the static address should be created.
  • Callback URL — URL where OxaPay will send payment notifications for this static address.
  • Order ID — A unique identifier for internal reference of the order.
  • Advanced Settings — Optional settings including 'To Currency' for conversion symbol, 'Auto Withdrawal' to automatically withdraw funds to an address in your Address List, 'Email' of payer, and 'Description' for order notes.

Output shape

a single JSON object representing the generated static address details from OxaPay API.

The operation returns the static address and related information as a JSON response from the OxaPay Merchant API's POST /payment/static-address endpoint.

Examples

Example 1: Example request to generate a static address on a specified network with a callback URL and order ID, converting received payments to a target currency with auto withdrawal enabled.

Set 'Network' to desired blockchain (e.g., 'Ethereum'), 'Callback URL' to your endpoint for payment notifications, 'Order ID' to your unique order identifier, and in 'Advanced Settings' set 'To Currency' (e.g., 'USDT'), enable 'Auto Withdrawal', and optionally add payer 'Email' and 'Description'.

Links

Discussion