Create address for lightning deposits

post/api/v2/wallet/{walletId}/lightning/address

This API call is used to create a new address to deposit funds to the wallet's custodial lightning balance. Funds sent to this address will be credited to the wallet's lightning balance.

Path Parameters

  • walletIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$

200 Response

address string
Max length: <= 250 characters
Example: 2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code