|
@ -9,7 +9,7 @@ |
|
|
<q-card-section> |
|
|
<q-card-section> |
|
|
<code><span class="text-light-green">POST</span> /api/v1/payments</code> |
|
|
<code><span class="text-light-green">POST</span> /api/v1/payments</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<code>{"Grpc-Metadata-macaroon": "<i>{{ wallet.inkey }}</i>"}</code><br /> |
|
|
<code>{"api_key": "<i>{{ wallet.inkey }}</i>"}</code><br /> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5> |
|
|
<code>{"out": false, "amount": <int>, "memo": <string>}</code> |
|
|
<code>{"out": false, "amount": <int>, "memo": <string>}</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 CREATED (application/json)</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 CREATED (application/json)</h5> |
|
@ -24,7 +24,7 @@ |
|
|
<q-card-section> |
|
|
<q-card-section> |
|
|
<code><span class="text-light-green">POST</span> /api/v1/payments</code> |
|
|
<code><span class="text-light-green">POST</span> /api/v1/payments</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<code>{"Grpc-Metadata-macaroon": "{{ wallet.adminkey }}"}</code> |
|
|
<code>{"api_key": "{{ wallet.adminkey }}"}</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5> |
|
|
<code>{"out": true, "bolt11": <string>}</code> |
|
|
<code>{"out": true, "bolt11": <string>}</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 CREATED (application/json)</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 CREATED (application/json)</h5> |
|
@ -40,7 +40,7 @@ |
|
|
<q-card-section> |
|
|
<q-card-section> |
|
|
<code><span class="text-light-blue">GET</span> /api/v1/payments/<checking_id></code> |
|
|
<code><span class="text-light-blue">GET</span> /api/v1/payments/<checking_id></code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Headers</h5> |
|
|
<code>{"Grpc-Metadata-macaroon": "{{ wallet.inkey }}"}</code> |
|
|
<code>{"api_key": "{{ wallet.inkey }}"}</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 200 OK (application/json)</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 200 OK (application/json)</h5> |
|
|
<code>{"paid": <bool>}</code> |
|
|
<code>{"paid": <bool>}</code> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|