mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Add example to cryptoCode in greenfield doc
This commit is contained in:
parent
b2c1846ebb
commit
9843f66bb6
8 changed files with 74 additions and 37 deletions
|
@ -1156,7 +1156,8 @@
|
|||
},
|
||||
"cryptoCode": {
|
||||
"type": "string",
|
||||
"description": "Crypto code of the payment method (e.g., \"BTC\" or \"LTC\")"
|
||||
"description": "Crypto code of the payment method (e.g., \"BTC\" or \"LTC\")",
|
||||
"example": "BTC"
|
||||
},
|
||||
"destination": {
|
||||
"type": "string",
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the lightning node",
|
||||
|
@ -61,7 +62,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Connect to another lightning node.",
|
||||
|
@ -131,7 +133,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the current channels of the lightning node",
|
||||
|
@ -176,7 +179,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Open a channel with another lightning node. You should connect to that node first.",
|
||||
|
@ -243,7 +247,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Get an on-chain deposit address for the lightning node ",
|
||||
|
@ -292,7 +297,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
} , {
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
|
@ -347,7 +353,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Pay a lightning invoice.",
|
||||
|
@ -417,7 +424,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Create a lightning invoice.",
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -70,7 +71,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -149,7 +151,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -203,7 +206,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -283,7 +287,8 @@
|
|||
"schema": {
|
||||
"type": "string",
|
||||
"description": "A bitcoin address belonging to the lightning node"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -340,7 +345,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -405,7 +411,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
@ -484,7 +491,8 @@
|
|||
"description": "The cryptoCode of the lightning-node to query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "storeId",
|
||||
|
|
|
@ -89,7 +89,8 @@
|
|||
"properties": {
|
||||
"cryptoCode": {
|
||||
"type": "string",
|
||||
"description": "The CryptoCode of the crypto currency (eg. BTC)"
|
||||
"description": "The CryptoCode of the crypto currency (eg. BTC)",
|
||||
"example": "BTC"
|
||||
},
|
||||
"nodeInformation": {
|
||||
"$ref": "#/components/schemas/ApplicationServerInfoNodeStatusData"
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the specified payment method",
|
||||
|
@ -127,7 +128,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Update the specified store's payment method",
|
||||
|
@ -203,7 +205,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Removes the specified store payment method.",
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the specified payment method",
|
||||
|
@ -127,7 +128,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Update the specified store's payment method",
|
||||
|
@ -203,7 +205,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Removes the specified store payment method.",
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the specified payment method",
|
||||
|
@ -127,7 +128,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Update the specified store's payment method",
|
||||
|
@ -203,7 +205,8 @@
|
|||
"description": "The crypto code of the payment method to update",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Removes the specified store payment method.",
|
||||
|
@ -261,7 +264,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
|
@ -333,7 +337,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "View information about the specified wallet",
|
||||
|
@ -79,7 +80,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "blockTarget",
|
||||
|
@ -145,7 +147,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "forceGenerate",
|
||||
|
@ -209,7 +212,8 @@
|
|||
"description": "The crypto code of the payment method to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "UnReserve address",
|
||||
|
@ -258,7 +262,8 @@
|
|||
"description": "The crypto code of the wallet to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "statusFilter",
|
||||
|
@ -345,7 +350,8 @@
|
|||
"description": "The crypto code of the wallet",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
|
@ -419,7 +425,8 @@
|
|||
"description": "The crypto code of the wallet to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
},
|
||||
{
|
||||
"name": "transactionId",
|
||||
|
@ -484,7 +491,8 @@
|
|||
"description": "The crypto code of the wallet to fetch",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": "BTC"
|
||||
}
|
||||
],
|
||||
"description": "Get store on-chain wallet utxos",
|
||||
|
|
Loading…
Add table
Reference in a new issue