The confirmation codes are words from a predefined sequential word list. Each new payment bumps the words sequence by 1. So you can check the confirmation codes manually by just looking at them.
For example, if your wordlist is [apple, banana, coconut] the first purchase will be apple, the second banana and so on. When it gets to the end it starts from the beginning again.
Powered by LNURL-pay.
POST
{"X-Api-Key": <invoice_key>}curl -X GET {{ request.url_root
}}/offlineshop/api/v1/offlineshop/items -H "Content-Type:
application/json" -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -d
'{"name": <string>, "description": <string>, "image":
<data-uri string>, "price": <integer>, "unit": <"sat" or
"USD">}'
GET
{"X-Api-Key": <invoice_key>}{"id": <integer>, "wallet": <string>, "wordlist":
<string>, "items": [{"id": <integer>, "name": <string>, "description": <string>, "image": <string>, "enabled": <boolean>, "price": <integer>, "unit": <string>, "lnurl": <string>}, ...]}</code
>
Curl example
curl -X GET {{ request.url_root }}/offlineshop/api/v1/offlineshop -H
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
PUT
{"X-Api-Key": <invoice_key>}curl -X GET {{ request.url_root
}}/offlineshop/api/v1/offlineshop/items/<item_id> -H
"Content-Type: application/json" -H "X-Api-Key: {{
g.user.wallets[0].inkey }}" -d '{"name": <string>,
"description": <string>, "image": <data-uri string>,
"price": <integer>, "unit": <"sat" or "USD">}'
DELETE
{"X-Api-Key": <invoice_key>}curl -X GET {{ request.url_root
}}/offlineshop/api/v1/offlineshop/items/<item_id> -H "X-Api-Key:
{{ g.user.wallets[0].inkey }}"