Skip to Content
Grail Network
API reference

Shop Market Purchases_list

GET
/shop/market-purchases

Authorization

shopApiKey
headerAuthorizationBearer <token>

The shop's API key.

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 200
Default20
buyerId?string

The shop's own id of the buyer

Length1 <= length <= 200
state?string
Value in"started""completed""failed"

Response Body

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/shop/market-purchases'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",      "cardName": "string",      "buyerId": "string",      "requestId": "string",      "price": {        "amountAtomic": "string",        "currency": "string"      },      "state": "started",      "reason": "balance_too_low",      "holdingId": "51ebd04a-ea04-425f-9017-f69b7702e7a3",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0  }}