endpoint to add buyer public key to db
This commit is contained in:
parent
8037557db6
commit
8e337c890e
1 changed files with 6 additions and 0 deletions
|
|
@ -335,6 +335,12 @@ async def api_shop_order_paid(
|
||||||
return "", HTTPStatus.OK
|
return "", HTTPStatus.OK
|
||||||
|
|
||||||
|
|
||||||
|
@shop_ext.get("/api/v1/order/pubkey/{payment_hash}/{pubkey}")
|
||||||
|
async def api_shop_order_pubkey(payment_hash: str, pubkey: str):
|
||||||
|
await set_shop_order_pubkey(payment_hash, pubkey)
|
||||||
|
return "", HTTPStatus.OK
|
||||||
|
|
||||||
|
|
||||||
@shop_ext.get("/api/v1/orders/shipped/{order_id}")
|
@shop_ext.get("/api/v1/orders/shipped/{order_id}")
|
||||||
async def api_shop_order_shipped(
|
async def api_shop_order_shipped(
|
||||||
order_id, wallet: WalletTypeInfo = Depends(get_key_type)
|
order_id, wallet: WalletTypeInfo = Depends(get_key_type)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue