Generate Static Address
This endpoint allows you to generate a static address for a specific currency and network. The static address will be linked to a unique track_id, and if a callback_url is provided, your server will receive notifications for any payments made to the address. This enables you to track and receive transactions to the static address, regardless of the amount or timing.
Please note that static addresses with no transactions for six months will be revoked.
POST
https://api.oxapay.com/v1/payment/static-address
Authentication
You must include the Merchant API Key in the request header to authenticate your access to the API.
merchant_api_key*
string
Your merchant API Key for authentication and authorization.
Request Body
network*
string
to_currency
string
auto_withdrawal
decimal
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.
string
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.
API Request Sample Codes
These example code snippets demonstrate how to request the "Generate Static Address" endpoint using different programming languages. You can customize the data parameters according to your specific requirements.
API Response Example
The response example above is provided to help you understand the format and structure of the response. If you have any further questions or need assistance, please feel free to contact to your account manager.
Last updated