Skip to main content
GET
/
marketplace
/
transactions
cURL
curl --request GET \
  --url https://api.sandbox.external.bnznow.com/marketplace/transactions \
  --header 'x-api-key: <x-api-key>'
{
  "metadata": {
    "current_page": 123,
    "total_records": 123,
    "limit": 123
  },
  "overview": {
    "total_transactions": 123,
    "total_offsetted": 123,
    "total_users": 123
  },
  "transactions": [
    {
      "id": "<string>",
      "amount": 123,
      "type": "buy",
      "carbon_credits": 123,
      "timestamp": "<string>"
    }
  ]
}

Headers

x-api-key
string
required

API key for authentication

Query Parameters

user_id
string

ID of user to get transactions for

limit
integer<int32>
default:20

The maximum number of results to return

Required range: 1 <= x <= 100
page
integer<int32>
default:1

The page number to return

Required range: 1 <= x <= 1000
sort
enum<string>
default:desc

The sort order of the results

Available options:
asc,
desc
type
enum<string>

The type of transactions to return

Available options:
buy,
offset

Response

Transaction response

metadata
object
overview
object
transactions
object[]