API Preview - This API is under active development. Endpoints may change without notice.
DevelopersEndpoints
Endpoint Details
POST /marketplace/transactions
POST
/marketplace/transactionsJWTRecord a mock identity data marketplace transaction. In production, this triggers a real x402 payment flow. The authenticated user must be a party (member or organisation).
Request Example
json
{
"member_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"org_id": "e1f2a3b4-c5d6-7890-efab-cdef12345678",
"data_type": "trait_profile",
"price_aud": 5
}Response
json
{
"id": "f1e2d3c4-b5a6-9870-fedc-ba0987654321",
"member_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"org_id": "e1f2a3b4-c5d6-7890-efab-cdef12345678",
"data_type": "trait_profile",
"price_aud": 5,
"status": "completed",
"protocol_version": "x402-v1",
"created_at": "2026-03-10T10:00:00Z"
}GET /marketplace/my-earnings
GET
/marketplace/my-earningsJWTReturns total earnings and transaction history for the authenticated member.
GET /marketplace/my-purchases
GET
/marketplace/my-purchasesJWTReturns total spend and transaction history for the authenticated organisation.
GET /marketplace/transactions/{transaction_id}
GET
/marketplace/transactions/{transaction_id}JWTRetrieve a single x402 transaction by ID. The user must be a party in the transaction.
Path Parameters
| Name | Type | Description |
|---|---|---|
transaction_id* | string | Transaction UUID |