POST v2/lightning/CreateLNWithdraw

Request Information

URI Parameters

None.

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ChargeResponseModel
NameDescriptionTypeAdditional information
uuid

string

None.

created_at

string

None.

expire_at

string

None.

status

string

None.

amount

decimal number

None.

max_amount

decimal number

None.

checkout_url

string

None.

currency

string

None.

onChain_address

string

None.

lightning_address

string

None.

Response Formats

application/json, text/json

Sample:
{
  "uuid": "sample string 1",
  "created_at": "sample string 2",
  "expire_at": "sample string 3",
  "status": "sample string 4",
  "amount": 5.0,
  "max_amount": 6.0,
  "checkout_url": "sample string 7",
  "currency": "sample string 8",
  "onChain_address": "sample string 9",
  "lightning_address": "sample string 10"
}

text/xml

Sample:
<ChargeResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Exchange.PIAV2.Models.Lightning_Models.ResponseModels">
  <amount>5</amount>
  <checkout_url>sample string 7</checkout_url>
  <created_at>sample string 2</created_at>
  <currency>sample string 8</currency>
  <expire_at>sample string 3</expire_at>
  <lightning_address>sample string 10</lightning_address>
  <max_amount>6</max_amount>
  <onChain_address>sample string 9</onChain_address>
  <status>sample string 4</status>
  <uuid>sample string 1</uuid>
</ChargeResponseModel>