Query Order
Description
Query orders
Path
GET /api/v1/open/subscription/orders?user={userId}&product={productId}
Request Parameter
Parameter | Sign | Mandatory | Type | Length | Remarks |
---|---|---|---|---|---|
userId | Y | Y | string | 20 | user id |
productId | Y | Y | string | 20 | product id |
Response Parameter
参考Query Checkout里的subscriptionOrder
Response Example
SUCCESS
{
"data": [
{
"id": "1821789552751153152",
"status": 2,
"subscriptionProduct": {
"id": "1819278314154496000",
"name": "Galxe Monthly Membership",
"group": "xyz.com",
"image": null,
"user": null
},
"subscriptionPayment": null,
"event": null,
"userId": "1821475173031743488",
"user": {
"id": "1821475173031743488",
"keyStr": "0x96216849c49358b10257cb55b28ea603c874b05e",
"keyType": "EVM"
},
"authorized": null,
"expired": true,
"txHash": "0x12a4cf2361de6a6d46ee22f25f73b1367130a352ba74604f99d0b51b990450db",
"deductionAddress": "0x0246cfd91b9cf2866fa68e5861929d1038ac7333"
}
]
}
Updated 20 days ago