Generate a user deposit address
Generate a deposit address for a user
foreign_id.Headers
Hex-encoded HMAC-SHA512 signature of the request body, generated using your secret key.
Body
The currency to receive. For a list of all available currencies, see API currency codes.
The unique ID of the customer who will be depositing to this address. It will be returned with every callback to make it easy for you to identify the customer within your system. The same foreign_id can be reused across multiple addresses that belong to the same customer. This parameter must not include any personal data.
Automatically convert all deposits to this currency. If omitted, no automatic conversion is applied.
Permanent ID of the customer in your system. Used to group, track, and analyze transactions made by a specific customer. Must not contain personal data, such as the user's name or email address.
Lightning invoice amount.
- Required only when
currencyisBTCLN. - Specify up to 8 decimal places.
- Retrieve the minimum and maximum amounts from the
/currencies/listendpoint. - The invoice can be paid only for this exact amount.
Response
Created